Page 1 of 1

Feature suggestion: commenting out/uncommenting macro code

Posted: Oct 15th, ’19, 21:00
by Oblomov
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 🐀

Re: Feature suggestion: commenting out/uncommenting macro code

Posted: Oct 16th, ’19, 20:35
by Tom
Thanks, will be considered. ;)

Re: Feature suggestion: commenting out/uncommenting macro code

Posted: Sep 30th, ’22, 19:32
by ztwersky
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.

Re: Feature suggestion: commenting out/uncommenting macro code

Posted: Sep 30th, ’22, 19:35
by Tom
You can of course comment the lines of code. There is no shortcut however (yet).

Re: Feature suggestion: commenting out/uncommenting macro code

Posted: Sep 30th, ’22, 20:03
by ztwersky
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.

Re: Feature suggestion: commenting out/uncommenting macro code

Posted: Oct 1st, ’22, 19:50
by Marko
It is only possible to comment script lines in Type: Command.