Thread Details

 keyboard shortcut to comment/uncomment code


Post by Michael
Joined 6/19/2022
Posted 7/05/2022 8:45 AM

Is there a keyboard shortcut for commenting in & out code? I believe something familiar like ctrl-/ does not work.

Thanks.

Post by Administrator
Visual Software Systems
Joined 1/01/2016
Posted 7/05/2022 2:08 PM

There currently aren't keyboard shortcuts for comment, uncomment and toggle comment.  I've added this request to our enhancement log for future consideration.

Post by Michael
Joined 6/19/2022
Posted 7/06/2022 12:04 PM

Thanks for your answers. I'm glad this idea has made the list, it would be very much appreciated.

Post by Michael
Joined 6/19/2022
Posted 7/14/2022 9:40 AM

On the theme of keyboard shortcut, please add duplicate line (i.e. ctrl-d). By extension, you could make the editor more flexible by implementing various other usual editor features like delete entire line, move enter line up or down (elected based on which line the cursor is placed on), etc. Thanks for consideration.

Post by Administrator
Visual Software Systems
Joined 1/01/2016
Posted 7/15/2022 3:27 PM

I've added the request for a Duplicate Line shortcut to the request for comment shortcuts. The editor already has shortcuts for the other functions you noted as well as many others. We published a blog post listing all the commands with shortcuts that the editor supports. We'll update that post once the comment, uncomment, toggle comment, and duplicate line shortcuts are added. We will also add this to the documentation that's included with SOQL Studio.

Post by Administrator
Visual Software Systems
Joined 1/01/2016
Solved
Posted 10/17/2022 10:45 AM

SOQL Studio 2022.2 was released this morning and includes new keyboard shortcuts for Comment Toggle, Duplicate and more.  Please refer to the release post in the Announcements forum for more details.

Log in to reply to this post.