Community
Participate
Working Groups
Created attachment 272673 [details] Exported formatter profile. When applying the formatter white spaces between code and C-style comments (in one line) are not preserved although the appropriate setting has been made. Steps to reproduce ================== Set preference for code formatter "Preserve white space between code and line comments if possible" to TRUE. Apply code formatter to this code: int a; /* C-style comment */ int ab; /* C-style comment */ int f; // C++-style comment Expected Result =============== int a; /* C-style comment */ int ab; /* C-style comment */ int f; // C++-style comment Actual Result ============= int a; /* C-style comment */ int ab; /* C-style comment */ int f; // C++-style comment Additional Information ====================== Exported settings (profile) are attached. Tested on Windows 7 and Ubuntu. -- Configuration Details -- Product: Eclipse 4.7.2.20171218-0600 (org.eclipse.epp.package.cpp.product)Installed Features: org.eclipse.platform 4.7.2.v20171130-0510