Question

Is there a way to do either of these two things?

Add hotkey to "toggle comment". By default slickedit seems to have 2 separate commands, comment and erase-comment. I wish to have a single hotkey to handle both (similar to how eclipse/netbeans handles it).

Add 2 separate hotkeys to do the same command.

Was it helpful?

Solution

In SE16 (probably also in previous versions, I didn't check) you'll find a command toggle-comment (look in source file box.e). You may bind that to a key.

And the second one is simple: Go to Tools -> Options, select category "Keyboard and Mouse", sub "Key Bindings". Search the command/key you need, and press the button "Add..." to add another key binding.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top