cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP Wish List

We want to hear your ideas for improving JMP software.

  1. Search: Please search for an existing idea first before submitting a new idea.
  2. Submit: Post your new idea using the Suggest an Idea button. Please submit one actionable idea per post rather than a single post with multiple ideas.
  3. Kudo & Comment Kudo ideas you like, and comment to add to an idea.
  4. Subscribe: Follow the status of ideas you like. Refer to status definitions to understand where an idea is in its lifecycle. (You are automatically subscribed to ideas you've submitted or commented on.)

We consider several factors when looking for what ideas to add to JMP. This includes what will have the greatest benefit to our customers based on scope, needs and current resources. Product ideas help us decide what features to work on next. Additionally, we often look to ideas for inspiration on how to add value to developments already in our pipeline or enhancements to new or existing features.

Choose Language Hide Translation Bar

Keyboard Shortcut to Comment Code in Script Editor

When I am developing a script, it is sometimes necessarry to comment out a block of code and re-write it for performance or quality reasons.

I do this frequently and it is time consuming to comment the code manually, or to go through the context menu>Advanced>Comment Block/Uncomment Block.

 

Please allow for user to set a keyboard shortcut for this.

I would recommend ctrl+k+c (Comment block) and ctrl+k+u (Uncomment block) as these are the defaults in Visual Studio.

 

14 Comments
Jeff_Perkinson
Community Manager
Status changed to: Delivered

With the release of JMP 16 the keyboard shortcuts below will comment and uncomment blocks.

 

For Windows, the shortcuts are Ctrl + / (Comment Block) and Ctrl + Shift + / (Uncomment Block). On some international keyboards (like German), a shortcut may
not be defined and can be set in the menu customization editor.

 

For Mac, the shortcuts are Cmd + / (Comment Block) and Cmd + Alt + / (Uncomment Block). On some international keyboards (like German), the Shift key may be
needed, but this may be intuitive since the shift key would be needed to type those characters anyway for those keyboards.

Craige_Hales
Super User

Works great, thanks!

hogi
Level XI

@Jeff_Perkinson , where can I find a tutorial/sceenshot how to define the shortcuts for international keyboards?

hogi
Level XI

ah comment/uncomment  is in the Edit menu:

hogi_1-1700990511870.png