Feature suggestion: commenting out/uncommenting macro code

Suggestions, feature requests and bug reports.
Post Reply
User avatar
Oblomov
Posts: 186
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: 808
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: 808
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: 1748
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.
DrMatrix
Posts: 3
Joined: Mar 11th, ’24, 22:45

Post by DrMatrix » May 8th, ’24, 19:36

I would also like to put is a request to be able to of non-executing comments in a generic FK script.

Would be a good way to provide the user w/some insight no what the script is attempting to do and you to use it
User avatar
Marko
Posts: 1748
Joined: Mar 2nd, ’13, 21:02

Post by Marko » May 9th, ’24, 14:02

Comments in Send mode were implemented in 5.12. You can select the text, right click and select "comment".
Post Reply