cancel
Showing results for 
Search instead for 
Did you mean: 

Keyboard shortcut for comment out lines.

Contributor

Keyboard shortcut for comment out lines.

Hi Guys,



Is there a way to select a few lines and get them comment out using keyboard shortcut?

It's pretty painful to type ' in front of every lines I want it comment out.



Thanks



Regards

Ian
3 REPLIES 3
Contributor

RE: Keyboard shortcut for comment out lines.

There's a button at the top of the editor window
Community Hero

RE: Keyboard shortcut for comment out lines.

You can also map the function to a keyboard control.  Currently, I don't believe there is a default keyboard short cut.  If you go to Tools | Customize Keyboard you can create your own shortcuts.

Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Highlighted
New Contributor

Re: Keyboard shortcut for comment out lines.

For commenting lines in a groovy script it is:

ctrl + /