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

Add an option to run a command only in a piece of text. #70

Open negora opened 8 years ago

negora commented 8 years ago

I guess that it may be out of the scope of this plug-in, but given its nature, I wonder if it could be possible to add an option to run a custom command in a piece of text. Something similar to what the External Tools plug-in for Gedit does.

It allows to select a piece of text in the document, or select the whole document, run a command in that selection, and then do something with the output: show it in a terminal, replace the selected text with the output, or append the output to the end of the document.

I know that it might be hard to implement, because the current plug-in doesn't interact with the editor, as far as I know. But it's just an idea for this plug-in or a new one.

Thank you.