Home Download Buy Blog Forum Support

How about a build on save flag

How about a build on save flag

Postby atomi on Thu Mar 17, 2011 6:07 am

I find myself pressing f7 a little too often.

Would like to see the ability to add a flag to the *.sublime-build file that would allow running the build on every save of the selector file (source.js sublime-build for example that ran google's closure compiler on save)
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Re: How about a build on save flag

Postby ceej on Tue Jun 21, 2011 5:38 pm

Any news on this? In Sublime 2 I'd love to auto build on save, I think a lot of people would.

Many thanks,
ceej
 
Posts: 81
Joined: Tue Jun 21, 2011 5:37 pm

Re: How about a build on save flag

Postby atomi on Tue Jun 21, 2011 10:45 pm

I've been overriding the default ctrl+s command just for the files i need built on save (using user keybinding settings).
ie:
Code: Select all
    { "keys": ["ctrl+s"], "command": "build",
    "context":
       [
          { "key": "selector", "operator": "equal", "operand": "source.js" }
       ]},
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests