4 ms·
All programmer editors should at least have some mechanism to notify you when loads/saves occur. But you might need to use whatever the editor's embedded script
by frou_dh 9y ago
All programmer editors should at least have some mechanism to notify you when loads/saves occur. But you might need to use whatever the editor's embedded scripting language is to do the actual child process launching and to do something non-standard with their output.
In Sublime Text for example, the above would be writing a Python class that handles some of these events:
https://www.sublimetext.com/docs/3/api_reference.html#sublime_plugin.EventListener https://www.sublimetext.com/docs/3/api_reference.html#sublim...
...probably by making use of the subprocess module from Python's standard library:
https://docs.python.org/3.3/library/subprocess.html https://docs.python.org/3.3/library/subprocess.html