+1
I would like to run an external script on the selected text and have the output replace the selected text. Can someone point me in the right direction? I do this now in TextMate. I have a bunch of helper scripts that do things like format arrays, etc.
I assume this will be done withe the build system. I just can't find an example to get me started.
Service d'assistance aux clients par UserEcho
Please see http://www.sublimetext.com/docs/plugin-examples (not sure if it will actually work, it looks like v1 examples) for starters, and http://sublimetext.info/docs/en/extensibility/plugins.html for more
This extension from Package Control is what you want:
https://github.com/technocoreai/SublimeExternalCommand