Text editor indenting

Sysprogs forums Forums VisualGDB Text editor indenting

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22514
    WilWebber
    Participant

    VisualGDB-5.4.7.2519.msi

    Have still troubles with the code formatter – behaves different than in VS..

    Using TAB:4, Indent:2.
    Insert these lines:

    void main() 
    {[CURSOR_POS]
      foo1();
    }
    

    Press the Enter key on [CURSOR_POS].
    Indenting is 4 instead of 2..
    Also when I copy/paste the line foo1() inside the main() function, the indenting is not 2.

    #22521
    support
    Keymaster

    Hi,

    Sorry, VisualGDB does inherit many of Visual Studio’s formatting settings, however due to the internal VS architecture, the indentation must be set independently.

    Please try using the Tools->Options->Text Editor->C/C++ (VisualGDB) to configure VisualGDB-specific indentation.

     

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.