Formatting issue with ESP-IDF project

Sysprogs forums Forums VisualGDB Formatting issue with ESP-IDF project

This topic contains 2 replies, has 2 voices, and was last updated by  dedvalson 3 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21344

    dedvalson
    Participant

    Hi,

    I am an issue with formatting that I can’t seem to resolve. It happens like this:

    I type:

    int helloworld() {

    As soon as I type the opening brace, the editor creates this:

    But if I later autoformat the function or the whole file it turns into this, which is what I wanted all along

    int helloworld() {
    }

    I have changed numerous settings, nothing seems to fix it. I am currently running a version that you had me download from http://sysprogs.com/files/tmp/VisualGDB-5.4.3.2316.msi

    Thanks,

    Don

     

     

     

    #21346

    support
    Keymaster

     

    Hi,

    Please try changing the following option:

    Tools->Options->Text Editor->C/C++ (VisualGDB) -> Formatting -> Newline Insertion -> New functions.

    #21353

    dedvalson
    Participant

    That did it, and showed me where a lot of things I needed are.

    Thanks,

    Don

     

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.