Reputation: 41
Is there any shortcut to comment out JavaScript code in Notes? I know the shortcut for Xpage is ctrl+shift+c
Upvotes: 1
Views: 5890
Reputation: 1
For multiline comments (/* */
):
For single line comments (//
):
Upvotes: 0
Reputation: 613
I do not know your version of Domino Designer, so I can only provide a genearal answer to JavaScript comments.
If you only have one line you want to comment, just use //
at the beginning of that line.
If you want to comment multiple lines, start the comment with /*
and end it with */
.
Maybe you can find such a shortcut under Preferences --> General --> Keys (if your Domino Designer has that entry).
Upvotes: 1
Reputation: 8566
if you use vscode mark all the lines you need to comment and then click
Ctrl + /
or add
//
to the beginning of every line.
Upvotes: 1