Indentation of line comments’ slashes

Go to File > Settings > Editor > Code Style > Java > Code Generation and uncheck the option “Line comment at first column”.

Update Oct 2016 from @henrebotha in the comments:

As of now, there’s an additional option just beneath it that says “Add a space at comment start”, so this is now supported.

Leave a Comment