Kallen_Du
Kallen_Du

Reputation: 41

Comment multiple lines shortcut in JavaScript, Domino Notes

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

Answers (3)

sandy
sandy

Reputation: 1

For multiline comments (/* */):

  • Ctrl + Shift + /

For single line comments (//):

  • Ctrl + /

Upvotes: 0

Christoph S.
Christoph S.

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

Chukwuemeka Maduekwe
Chukwuemeka Maduekwe

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

Related Questions