well you cant really get the code I use since ive tied my editors in a bit differently* so i dont really have to worry about what computer im happening to be editting the code on (i need to edit code on a warying amount of computers some of which may or may not be in the same country as I am currently in), but a basic setup is as follows.
you find or make a commandline tool that can dump data into a socket and dumps out the result. Then you set up scite just like you set up the run command for ANY language. as easy as it gets. Alternativelöy use a external python interpretter tied to maya, see the manual.
See the donwload sectuion theres a few examples that do just this. The thing is done for you.
Anyway you basically make the go lines
command.go.*.py=python -u "$(FileNameExt)"
and change the python to:
command.go.*.py=yourSocketCommand source "$(FileNameExt)"
etc etc. Depends on your real needs.
then you make a custom command that exeutes the selection and push the selection text to the commandline variable and so on but take one of the premade ones form the download section it will dawn on you.
- the code is for me and ONLY for me. It doenst fullfil the requirement of a releaseble codebase. It happens to work for me because im the hammer and the nail at the same time.