-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Launch custom commands directly from Menu Item or Dropdown #59
Comments
+1 |
IMO "separate context menu option to launch each Custom command." is possible |
Great module! And must has this feature. I vote for this enchancment |
I also would like this enhancement. Either that or being able to run a command with a key shortcut, right from the keyboard. |
Adding actions at runtime is technically possible. See http://wiki.netbeans.org/DevFaqActionsAddAtRuntime This allows to
|
@dkirrane / @gittino / @mikbox74 / @negora / @tychobrailleur : Please provide a dialog mockup! |
Hi Markiewb, Edit: |
The relevant code for the custom maven toolbar icons. |
@dkirrane / @mikbox74 / @negora / @tychobrailleur : Any other proposals? |
@markiewb IMO the less clicks and mouse moves the better. If the custom command could be listed directly beneath the custom command toolbar button. |
@markiewb just thinking is it possible to add keyboard shortcuts to custom commands. |
I believe that if you had many custom commands, their buttons might clutter the toolbar. In my opinion, it would be better to combine a drop-down list with the possibility of defining keyboard short-cuts. That way, one could have direct access to the most used commands with a pair of key strokes, while still being able to have a long list of commands that is just 2-click away. Obviously, there should be also an option to suppress the confirmation window before the execution of each command, at the own risk of the user. But it's only my opinion. If you implement the buttons in the toolbar, it will be also a good feature. |
Example: A custom action purely configured in layer.xml creates an context sensitive action/shortkey and toolbar icon
Removed context awareness because we cannot see editor-changes like selects/line/number in the lookup
Register action programmatically via template in layer.xml (else it does not work using instanceCreate)
|
Currently it takes 3 to 4 mouse-clicks to Launch a Custom command (via the Launch Custom command)
I use these command very often to launch Cygwin and Sublime etc...
It would be a nice enhancement to allow launching a Custom command via a single mouse click or maybe a separate context menu option to launch each Custom command.
Also it would be good if I could disable the Confirm dialog "You are about to launch command... Are you sure?"
The text was updated successfully, but these errors were encountered: