Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336594

Summary: Separating white space removed between C comments
Product: [Tools] CDT Reporter: MB <becker>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: becker, cdtdoug, remy.suen
Version: 6.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description MB CLA 2011-02-08 04:03:36 EST
Build Identifier: M20080911-1700

Auto format removes white spaces between C-style comments:
/*comment1*/ /*comment2*/
becomes
/*comment1*//*comment2*/
which is detected as a 'nested comment' by some code checking tools.

Reproducible: Always

Steps to Reproduce:
1.Add the comment /*comment1*/ /*comment2*/ in the code
2.Press Strg+Shift+F for auto-format
3.The white space between the comments is removed
Comment 1 Remy Suen CLA 2011-02-08 05:45:29 EST
Just to be sure, what files are you editing? C? Java? Something else?
Comment 2 MB CLA 2011-02-08 05:47:16 EST
I am editing C files.

(In reply to comment #1)
> Just to be sure, what files are you editing? C? Java? Something else?
Comment 3 Remy Suen CLA 2011-02-08 05:50:22 EST
Issues with the C editor goes to CDT.