Home » Questions » Computers [ Ask a new question ]

Run a script on save in textmate

Run a script on save in textmate

I was wondering if it was possible to run a custom script on save based on certain file names in textmate. For example I'd like to auto compile a C program sometime on save.

Asked by: Guest | Views: 427
Total answers/comments: 1
Guest [Entry]

you can trigger a command after save via callback.document.did-save semantic class. This works on TextMate2+