Learn Intellij Idea - How to comment or uncomment block of code?

preview_player
Показать описание
#shorts #intellijidea #javacode #productivity #shortcuts

To comment out any line press "command" + "/".
To uncomment any line press "command" + "/".
To comment a block of code select multiple lines and press "command" + "/".
To uncomment a block of code select multiple lines and press "command" + "/".
To comment with block comment /*...*/, select a code block and press "command" + "opt" + "/".
To uncomment with block comment /*...*/, select a code block and press "command" + "opt" + "/".
Рекомендации по теме
Комментарии
Автор

when i press cmd + / it gives me a menu instead with options. Do you know why?

ianonamu