Formatting: whitespace after one-line comment
How can I set the idea-auto-formatter to add white-space afer one-line comment?
'//foo' should become '// foo'
We need it to be compatible with eclipse formatting (where this is enabled).
thanks.
Please sign in to leave a comment.
Hi Manuel,
I'm afraid IJ formatter doesn't offer such an option at the moment.
Feel free to submit corresponding request to the tracker.
Regards, Denis
If you can't wait, Jalopy supports this style - and both Eclipse and IDEA.
See http://www.triemax.com/products/jalopy/manual/comments.html
i filed a ticket http://youtrack.jetbrains.net/issue/IDEA-58488?projectKey=IDEA.
I will try without jalopy (not another tool to add...). For merging 'ignore whitespace' should help merging problems just because of this inconsistent formatting.
Ok, thanks.
I expect the feature to be done in a couple of weeks, so, you'll be able to get it at IJ X EAP.
Regards, Denis