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

Remove 'delete' key functionality for a method

I have been working in Jade for about 20 years and I've only just noticed today if you press Delete on a method instead of the method source it will attempt to delete the method. I only had one coffee at the time :(

I personally think this is extremely dangerous. If I intend to delete the source-code and then press space (Delete + Space), but I failed to check the method source window has focus; method is gone burger. Where-as 'right click'+o is more idiot proof.
  • Guest
  • May 1 2019
  • IDE Backlog
HistoricalComments
Brian Johnstone 22/11/2018 3:47:38 PM
Again, user preference if they change the default button for those of us who like the current behaviour. Of course, they'd need to make sure they don't intercept the Shift+Delete key when focus is in the editor, for those of us 'old enough' to still be used to using the older 'Dos' style shortcuts for copy/cut/paste being Ctrl+Insert/Shift+Delete/Shift+Insert respectively. For the copy & paste option Ctrl+Insert followed by Shift+Insert is so much quicker/easier to use than Ctrl+C and Ctrl+V.... especially on a Dvorak keyboard layout. :-)

Kevin Saul 22/11/2018 12:27:38 PM
To safeguard against accidental deletes, the default button on the prompt could be changed to 'No' rather than 'Yes'. For those wanting to delete things quickly, Shift+Delete is a familiar keyboard shortcut, that could skip the prompt altogether.

Ty Baen-Price 21/11/2018 1:18:35 PM
load the method back in from your schema backups.

Sam Stokell 20/11/2018 8:15:37 PM
if you have history turned on you can put the method name back in, show history and the source will be there

Brian Johnstone 20/11/2018 11:13:50 AM
The same thing happens for classes, properties, constants, etc. I use this functionality frequently when refactoring, so if the suggestion is implemented it would be good for this to be a user preference, so that those of us who prefer it can retain the current behaviour.
  • Attach files
  • +3