In jsp files whenever I hit the CTRL+/ shortcut (on windows) the line is commented with “output comment”, that means comments visible in the generated html:
<!-- Output comment -->
I instead want to bind this shortcut with the generation of “hidden comments”, that are comments that will not appear in the output:
<%-- Hidden comment --%>
I tried to find where this shortcut is defined but I had no luck.
Click on
Preferences -> Browse Packages...menu to find the configuration files.The shortcut are defined in HTML/Comments.tmPreferences. You can change this file to modify the comments of all jsp and html files.
To modify just the jsp comments, create a file named JavaServerPagesComments.tmPreferences in Packages/Java folder with this content: