Tab indentation options

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JohanR
    Visitor
    • Feb 2008
    • 6

    Tab indentation options

    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
    Pooh-Bah
    • Oct 2007
    • 588

    #2
    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

    Comment

    • Michael Kujawa
      Enthusiast
      • Oct 2007
      • 46

      #3
      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.

      Comment

      • Tim
        Team Scooter
        • Oct 2007
        • 786

        #4
        It is on our wish list to support separate Tab and Indent settings.
        Tim T Scooter Software

        Comment

        • JohanR
          Visitor
          • Feb 2008
          • 6

          #5
          Great, seems to have all I need :-)

          Comment

          Working...