I use a tool for validating JavaScript syntax, called JavaScriptLint (javascriptlint.com).
I’d like my Visual Studio to react to my save, CTRL-S and automatically trigger a command that runs javascript lint analyzing my current file.
Currently I do this using an external keycommand mapped to a key combination. But just hitting save and seeing instant output would be huge! 🙂
I think you can accomplish this task by using a Visual Studio Macro and configuring to a key combination/command.
The following links should help:
Can I have a macro run whenever I save a file in Visual Studio 2005?
Visual Studio Macros
Assigning a Keyboard Shortcut to Macro in VS
Cheers!