cancel
Showing results for 
Search instead for 
Did you mean: 

Keyboard shortcut for comment out lines.

Highlighted
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
Highlighted
Contributor

RE: Keyboard shortcut for comment out lines.

There's a button at the top of the editor window
Highlighted
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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
Highlighted
New Contributor

Re: Keyboard shortcut for comment out lines.

For commenting lines in a groovy script it is:

ctrl + /

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors