One of the best things Domino Designer gets from being in Eclipse are the shortcuts for commenting code. They really make it easy to do testing and/or save code “for later”.
CODE COMMENT SHORTCUTS
- CTRL + SHIFT + C
Comments/Uncomments a line of code
- CTRL + SHIFT + / and CTRL + SHIFT +
Comments/Uncomments a block of code
Works in: XPage source, Theme editor, Java editor, JavaScript and Java Script Library
(In libraries multiple lines must be selected for block commenting.)
Does not work in: CSS editor, script editor window
Nice one. Thanks for this Tip
Thanks John.
This comment has been removed by the author.
Hi Russel, Thank you. Your post inspired me to search for more. More can be found in Lotus Notes Help, if you search for "Editor shortcuts"
Yup. Pretty amazing what you can find if you look in the help!
This comment has been removed by the author.
This is indeed great information. However, warning to newbies like myself. The CTRL + SHIFT + / and CTRL + SHIFT + to comment/uncomment a block of code means everything within the tag (i.e. {xp:td}{/xp:td}, {xp:this.action}{/xp:this.action} and the curly bracket was used because the less/greater than signs were being treated as erroneous HTML tags and not shown) rather than the block of code you have highlighted.
Dwain A Wuerfel