dzsessona / QuickOpener-NetBeans

Sometimes while programming in NetBeans you want to explore a particular file that you are editing on the file system browser, or maybe launch a command in a terminal to do something with it.
52 stars 41 forks source link

Keyboard shortcut for the "Launch custom command" #19

Closed atropo closed 11 years ago

atropo commented 11 years ago

It would be very useful to have a keyboard shortcut for the custom command function, so, for example, I could view the opened file in an external Vim editor.

PS: Ottimo plugin! :-)

dzsessona commented 11 years ago

will do that alongside the bug https://github.com/kinkadzs/QuickOpener-NetBeans/issues/17

atropo commented 11 years ago

Thanks!

dzsessona commented 11 years ago

if you look at issue #17 now you can:

view the committ 3d72f62, in particular now you can:

alt + 1 = Open in the default os terminal (when available selected file) alt + 2 = Open in the default os file system browser (when available selected file) alt + 3 = copy path to clipboard (when available selected file) alt + 4 = launch custom command alt + 5 = open file system in... alt + 6 = open shell in...

You can customize the shorcut (and change the binding in tools -> keymap)

So if you hit alt + 4 you can run your custom commands. But just for completion, in this way you still have to select the command you want to run... were you thinking instead to add a shorcut to run a (predefined) favourite command? In this case i can add an alt + 7 shortcut... let me know what you think....

atropo commented 11 years ago

I've checked out that commit and all runs smoothly. An additional shortcut "ALT + 7" to run a predefined custom command would be a great addition, for example to launch an external editor on the opened file. If you need some testing I would be happy to help you!

Grazie!

dzsessona commented 11 years ago

Grazie aropo, i opened the issue #20 for it, and i committed too. Would you mind to test it? it runs ok in my environment. Also, are you italian? where are you working? you can write me at diego.sessona@gmail.com