DIAdem Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Daklu

Add block comment/uncomment

Status: Completed

Hi Daklu,

 

DIAdem 2012 shipped with these keyboard control sequences to block comment/uncomment VBScript code in the SCRIPT panel.

 

Brad TUrpin

DIAdem Product Support Engineer

National Instruments

The script editor needs the ability to comment or uncomment an entire block of text at once, similar to what is present in the Dialog Editor and most other script editors.

4 Comments
MarcusP
Member

Hi Daklu,

 

Did you try CTRL+' (and SHIFT+CTRL+' as reverse operation) on a selected block of text?

 

If that isn't what you are looking for then please explain in more detail.

 

Marcus

Daklu
Active Participant

CTRL+' doesn't have any effect, but I played around a bit and discovered CTRL+/ and CTRL+d both comment out a block of text.  Thanks for the tip.

MarcusP
Member

OK, you got me. (SHIFT+)CTRL+d is the official key combination for commenting in and out a selected block of text. On German keyboards you have (SHIFT+)CTRL+' in addition to that. That's what I stumbled over.

 

Marcus

 

Brad_Turpin
Trusted Enthusiast
Status changed to: Completed

Hi Daklu,

 

DIAdem 2012 shipped with these keyboard control sequences to block comment/uncomment VBScript code in the SCRIPT panel.

 

Brad TUrpin

DIAdem Product Support Engineer

National Instruments