PDA

View Full Version : Tab indentation options


JohanR
19-Mar-2008, 02:54 AM
It would be nice to set the indentation width of a tab character to a user defined value (i.e. other than 4) so the format of the code looks the same in Cirrus as it does in Visual Studio where we have changed to a 2 space indentation scheme.
I have looked in the options dialog but not found any option for that.

I would not mind having the same options as Visual Studio with "insert spaces/insert tabs" when in full edit mode.

chrroe
19-Mar-2008, 06:29 AM
Hi Johan!

The option for this can be found in the File Formats Dialog.
For any format that is openedin via Text viewer there is a Misc tab where you can enter the amount of spaces for a tab.

Hope this helps ...


Bye
Christoph

Michael Kujawa
19-Mar-2008, 11:49 AM
Visual studio differentiates between the indent size and the tab size.

I've set my Cirrus tab size to 2 since that's our indent size (and insert spaces), but it means that when I open a file edited by someone who inserted tabs with a tab size of 8, nothing lines up.

Tim
19-Mar-2008, 12:18 PM
It is on our wish list to support separate Tab and Indent settings.

JohanR
20-Mar-2008, 04:00 AM
Great, seems to have all I need :-)