Is there any shortcut to comment out JavaScript code in Notes? I know the shortcut for Xpage is ctrl+shift+c
Asked
Active
Viewed 1,207 times
1

Per Henrik Lausten
- 21,331
- 3
- 29
- 76

Kallen_Du
- 41
- 6
-
Which version of Domino Designer do you use? – Christoph S. Dec 08 '20 at 19:51
-
@ChristophSchreiber I'm using version 9, FP7 – Kallen_Du Dec 09 '20 at 06:44
2 Answers
1
if you use vscode mark all the lines you need to comment and then click
Ctrl + /
or add
//
to the beginning of every line.

Chukwuemeka Maduekwe
- 6,687
- 5
- 44
- 67
-
2You cannot use VS Code with Notes (unless you use AppDev Pack and node.js, but since OP mentions Xpages I doubt that is what he is using). For traditional Notes development you need to use Domino Designer. – Karl-Henry Martinsson Dec 07 '20 at 22:28
1
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).

Christoph S.
- 585
- 3
- 16
-
I'm using version 9, FP7. I did find a list of shout cut under General, thank a lot – Kallen_Du Dec 09 '20 at 06:47
-
1Please share the shortcut with us. Other users will be happy to know the solution. @Kallen_Du – Christoph S. Dec 10 '20 at 21:40