Generated C# code indentation

kwaclawkwaclaw Oshawa, CanadaKarl WaclawekOrganization: PersonalMember
After some time I have another chance of using ICE for a proof of concept demo. I do like to look at the generated code, but it is barely readable for me.

The problem is that slice2cs generates whitespace as a strange mixture
of tabs and spaces. I have to set my gloabl options in VS 2005 to have
8 spaces for a tab to make it look OK, but then it impacts my own code.

Why not generate all spaces?
That way it will look the same regardless of editor.

Karl

Comments

  • marcmarc FloridaMarc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications EngineAdministrators, ZeroC Staff ZeroC Staff
    I agree, we should probably use spaces only. It's unfortunate that Microsoft has chosen to define a TAB as four spaces (at least as default value), while the rest of the world has always used eight spaces :(
Sign In or Register to comment.