Reputation: 2276
IntelliJ IDEA's keyboard shortcut for commenting, Ctrl+/
, moves the cursor to the next line after it comments out the line. Is it possible to configure it so that it stays on the same line?
Upvotes: 13
Views: 1239
Reputation: 163
Go to File -> Settings -> Advanced Settings, and toggle Move caret down after Comment with Line Comment action
in the Editor section
Upvotes: 9