Indent line comments; add line space after starting new method
Answered
Two quick questions:
- Line comments via Meta-/ put the comment at the beginning of the line. This breaks checkstyle and causes many headaches; can I get the comment indented properly in the same command, and without extra spaces between the "//" and the comment text?
- If I start a new method in between two existing methods, it'd be nice if Intellij automatically assderted a newline after the method closing brace. Is this possible?
Thank you!
Please sign in to leave a comment.
1. See Settings (Preferences on macOS) | Editor | Code Style | Java | Code Generation | Comment Code | Line comment at first column
2. See Settings (Preferences on macOS) | Editor | Code Style | Java | Blank Lines | Minimum Blank Lines | Around method
Thank you!