JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

Editor keyboard enhancements

Correct me if I'm wrong, but it would seem that the Jade editor is missing the following features that are common in other environments:
1. An easy way to comment out a line or block of code. (I'm used to selecting a block of lines and pressing ctrl-k,c in other environments)
2. An easy way of duplicating a block of lines (without having to copy and paste). (I'm using to ctrl-d, or ctrl-shift-down-arrow in other environments).

Possibly there are others, but these two would be extremely useful.

It would seem that these are common things to want to do in a code editor, and so should be implemented in Jade.
  • Guest
  • May 1 2019
  • IDE Backlog
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
"*/"
  • Attach files
  • Sam Stokell commented
    27 May, 2022 04:43am

    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.

  • Dennis Christian commented
    10 Feb, 2020 11:49pm

    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

  • +4