The JADE 2022 release meets tomorrow’s business demands.
HistoricalComments
James Burnby 17/01/2018 2:29:59 PM
Sorry, I didn't realise JEDI would strip out my white space. Commenting out a block can be achieved by copying the selection to the clipboard, deleting the selection, inserting text '/*', pasting back in and then inserting text '*/'. Software Medical Infomatics Limited 17/01/2018 9:40:44 AM Agreed the copying can be accomplished with a macro. Not sure about commenting a block of code though. James Burnby 17/01/2018 8:59:09 AM Currently I have macros set up in Jade to duplicate this behaviour and a shortcut key to play saved macros. However as there is a limit on how many macros I can have on a quick key, I definitely prefer your idea. bBlockCode example: CopyToClipBuffer 1 Delete "/*" PasteFromClipBuffer 1 "*/" |
We are training up a couple of web developers in Jade and they were also asking about a keypad shortcut to comment out a selected block of code. This is the comment from the dev
"in VS Code, we can select code snippets and comment them with ctrl + /"
I am trying to explain to them how great Jade is but what seems like such a simple thing for the editor to have which is common for other environments not being there is making this message hard to get across.
Another suggestion is to have an option with the <right-click>->Refactor command and being able to comment out any selected lines or adding an inline comment within the line