plugin to use tools like sed, grep and so on on text selections ?


Is there a plugin to use some external tool operations like "sed" or "grep" with a text selection per shortcut ?

i want to use sed for transforming some parts of code with a predifined shortcut.

Comment actions Permalink

AFAIK there is no such a plugin. However, there is an existing infrastructure for calling external commands from the IDE. It's even possible to use selected text as an input, the only remaining thing is to change the selection by external command output. I'd suggest you to have a look into this plugin which reliefs custom actions construction and already provides useful bundings to editor/document etc.


Comment actions Permalink

if you want something little bit different
with this plugin
you can create an action with shortcut, which will execute your own groovy script on selected text and transform it. There is already a template for that, so it is really easy,


Please sign in to leave a comment.