Does “Toggle Comment” shortcut work for Android development in Netbeans 7.2?
-
14-07-2021 - |
Question
Frustratingly, my Ctrl+/ keyboard shortcut doesn't comment out a line of code when a .java file is open in the Netbeans 7.2 code editor. The "Toggle Comment" entry on the Source menu doesn't show any assigned shortcut, but the shortcut is specified in Tools >> Options >> Keymap and it works fine for other languages.
Does anybody else have this issue and have you found a fix?
Solution
Works for me in NBAndroid project. Sounds like a NetBeans bug or some weirdness in your setup to me. A quick question: is it NBAndroid project or Maven? Though it should work in both.
-Radim
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow