I'd love to get these keyboard commands for the IDE:
CTRL+D = copy the line you're on right after the first one and place your caret there.
CTRL+C = if no selection; copy the row you're on to clipboard
CTRL+X = if no selection; cut the row you're on to clipboard
CTRL+/ (7) = block comment, if no selection; comment out row
Keyboard commands
Moderators: Dorian (MJT support), JRL
- Grovkillen
- Automation Wizard
- Posts: 563
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Hudiksvall, Sweden
- Contact:
Re: Keyboard commands
I would use these three 100 times a day if they existed. Not sure I understand the first one.CTRL+C = if no selection; copy the row you're on to clipboard
CTRL+X = if no selection; cut the row you're on to clipboard
CTRL+/ (7) = block comment, if no selection; comment out row
Working from home for the last year. Tepid connection speeds and RDP session to the work computer where I'm writing scripts makes selecting with the mouse and managing to select precisely what I want selected challenging. I do use double click often to select the text between special characters. And triple click will select an entire line. I'd still vote for (is there an election?) Grovkillen's shortcut keys.
Thanks for listening.
Dick
- Grovkillen
- Automation Wizard
- Posts: 563
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Hudiksvall, Sweden
- Contact:
Re: Keyboard commands
Thanks for the vote JRL!
1:Let>VARIABLE=123
2:Let>ANOTHER|=abc
3:Let>THIRD=1a2vb3c
If you have the caret in the second row (example caret position in red) and press CTRL+D you'll get:
1:Let>VARIABLE=123
2:Let>ANOTHER=abc
3:Let>ANOTHER=abc|
4:Let>THIRD=1a2vb3c
With the caret now at the end of row three (marked green).
This is ideal to use to make multiple calls to a sub routine:
1:GoSub>SubName,SubVar1
2:GoSub>SubName,SubVar2
3:GoSub>SubName,SubVar3
What I mean by this is that you have this scenario:CTRL+D = copy the line you're on right after the first one and place your caret there.
1:Let>VARIABLE=123
2:Let>ANOTHER|=abc
3:Let>THIRD=1a2vb3c
If you have the caret in the second row (example caret position in red) and press CTRL+D you'll get:
1:Let>VARIABLE=123
2:Let>ANOTHER=abc
3:Let>ANOTHER=abc|
4:Let>THIRD=1a2vb3c
With the caret now at the end of row three (marked green).
This is ideal to use to make multiple calls to a sub routine:
1:GoSub>SubName,SubVar1
2:GoSub>SubName,SubVar2
3:GoSub>SubName,SubVar3
- Grovkillen
- Automation Wizard
- Posts: 563
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Hudiksvall, Sweden
- Contact:
Re: Keyboard commands
And I'd like to add to this one:
If selection, uncomment rows if more than 50% of the selected rows are commented.. else comment them all.CTRL+/ (7) = block comment, if no selection; comment out row