Feature suggestion: commenting out/uncommenting macro code

Suggestions, feature requests and bug reports.
Post Reply
User avatar
Oblomov
Posts: 169
Joined: Mar 4th, ’19, 19:44

Post by Oblomov » Oct 15th, ’19, 21:00

In Visual Studio Code, one can select a piece of code and either comment it out or uncomment it by Ctrl+K+C and Ctrl+K+U. Could it perhaps be possible to do the same in FK? I often times, manually switch between clusters of macro codes, within a command such as below:

Image

So yeah, could basically be in the right click menu, if anything. Though the VSC-esque, toggle-based shortcut, would sure be awesome. Also, the reason for why I don't just make another command to accommodate for this, is because I've already more or less saturated all the easy to reach shortcuts 🐀
User avatar
Tom
Posts: 657
Joined: Nov 24th, ’15, 23:39

Post by Tom » Oct 16th, ’19, 20:35

Thanks, will be considered. ;)
User avatar
ztwersky
Posts: 13
Joined: Sep 28th, ’22, 21:13
Location: New Hampshire, USA

Post by ztwersky » Sep 30th, ’22, 19:32

Tom wrote:
Oct 16th, ’19, 20:35
Thanks, will be considered. ;)
Was this implemented? I really need to comment out lines of code in the Text Expander, as I try to work on the code.
It's becoming very tedious work cutting and pasting back code while I work on the script.
User avatar
Tom
Posts: 657
Joined: Nov 24th, ’15, 23:39

Post by Tom » Sep 30th, ’22, 19:35

You can of course comment the lines of code. There is no shortcut however (yet).
User avatar
ztwersky
Posts: 13
Joined: Sep 28th, ’22, 21:13
Location: New Hampshire, USA

Post by ztwersky » Sep 30th, ’22, 20:03

Tom wrote:
Sep 30th, ’22, 19:35
You can of course comment the lines of code. There is no shortcut however (yet).
I tried, but it still send the output, together with the ;
so this code:

Code: Select all

;%IF_Morning%Good morning.%END%
%IF_Afternoon%Good afternoon.%END%
%IF_Night%Good Night.%END%
Will output:

Code: Select all

;

Good Night.
User avatar
Marko
Posts: 1551
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Oct 1st, ’22, 19:50

It is only possible to comment script lines in Type: Command.
Post Reply