Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Shipped
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Aug 7, 2019

Lotus Scipt Editor: Right Click to turn Selected lines of code into comments

I Would like to be able to select a bunch of lines of code in Lotus Script and -via right click menu- Turn them into comments all at the same time. (So every single of this lines would start with ' now)




- If a line of code  is already a comment, still add the character (one more time)

- there should be also  a menu item to remove one of this characters 


Please do not make this a  %REM %End Rem Sequience instead (the above is more flexible) The same is often offered  in Editors for the C language family (Adding  or removing  // on the very same way).


Additionaly: It would be helpfule to have a right click + Paste as Comment option too (Code copied from elsewhere for comparison).



thanks, Bernfried

  • Attach files
  • Guest
    Jan 11, 2020

    Hi Thomas,

    if you (/HCL) mean here with 'already exists' what was mentioned as an
    answer in the idea is the thing that already exists and is usable for the
    same type of problem: I tried this, and it falls so short, that it was not
    even worth remembering it's shortcut.
    Not everyones suggestion will be convertet into code, I know. But if I got
    everything right this is definitely not a case of 'Already exists'


    To illustrate
    a) Start with a few lines of code including a comment and see this as a
    relevant block of code (And keap in mind that this could be a fraction of
    a method, lets say 2 pages of existing code that hopefully comes with
    comments at several places).
    b) Turn this into inactive (comments) and add two more lines of active
    code somewhere in the mid (So this could now be 3 pages of code, maybe
    half a page of it active code (1) spread in several snipsets over the old
    code(3) with new comments(2) and the orginal comments(4) still in there.
    (1) would be active
    (2) would start with '
    (3) would start with ''
    (4) would start with '''
    => Still fairly easily visible what is the current change and what was
    active one step before.
    c) Now go into another round of b)
    d) Now test the code and decide that in a part of the whole place you
    want to stick with version c), for the rest with a) or b).

    .... What I tried to suggest (and is availble in other Development
    environments) is efficient for this. Think of this as 'real quick' tests
    the coding guy does...

    What I suggested would have efficient for this (As I found out doing some
    C sharp code in an other editor).

  • Guest
    Aug 18, 2019

    Thanks for hint of Shift-Crtl-7, but this is tough to find and not the same (instead of adding another layor of  ' , it toggels (and my comments become code causing compile errors).

  • Guest
    Aug 7, 2019

    Available today in the Eclipse based LotusScript editor: Select lines of code, then press <Shift>+<Ctrl>+7 (on German keyboard, not sure about other keyboard layouts).