Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Nested Struct/Class indentation in Eclipse not OK(Nested Structs/class indentation in Eclipse CDT C/C++ Developers not OK)
Nested Struct/Class indentation in Eclipse not OK [message #1822232] Mon, 02 March 2020 08:48
Muhammad Wasim Akhtar Khan is currently offline Muhammad Wasim Akhtar KhanFriend
Messages: 9
Registered: February 2020
Junior Member
Dear Members

I am trying to format the nested structs/class indentation in C/C++ in eclipse CDT but it totally distorts the structure of the nested structs and classes when I try to format the structure.

for example,
typedef struct 
{
    struct
    {
        //! some comment
        int abc;
        //! some comment
    }
}


I want the formatting as shown above but in Eclipse CDT C/C++ Development, it introduces double indentation and totally ruins the above formatting. Need help.

Muchas Gracias

Regards
Khan

[Updated on: Mon, 02 March 2020 10:10]

Report message to a moderator

Previous Topic:Eclipse C/C++ CDT (Pointer alignment for Typecasting)
Next Topic:gcc ARM : section .text make region `FLASH' overflowed (around 14ko)
Goto Forum:
  


Current Time: Fri Apr 26 22:10:57 GMT 2024

Powered by FUDForum. Page generated in 0.03501 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top