Saving in TextMate
So today, for something like the fifth time, I sat down in front of a TextMate installation that didn't have saving set up the way I like it: Auto save on loss of focus and when running a test (or spec). And, for the fifth time, I had to dig around the internet for the answer. So, as a public service to my future self:
Save files when focus is lost:
http://macromates.com/textmate/manual/saving_files
TextMate --> Preferences --> Advanced --> Saving
Save all files when running a test (or spec):
http://macromates.com/textmate/manual/commands
for specs:
Bundles --> Bundle Editor --> Edit Commands --> Rspec --> Run Single Example
Bundles --> Bundle Editor --> Edit Commands --> Rspec --> Run Examples
for tests:
Bundles --> Bundle Editor --> Edit Commands --> Ruby --> Run
Bundles --> Bundle Editor --> Edit Commands --> Rspec --> Run Focused Unit Test
Change the save drop down to "All Files in Project"
Hope this helps, future Jake.
Save files when focus is lost:
http://macromates.com/textmate/manual/saving_files
TextMate --> Preferences --> Advanced --> Saving
Save all files when running a test (or spec):
http://macromates.com/textmate/manual/commands
for specs:
Bundles --> Bundle Editor --> Edit Commands --> Rspec --> Run Single Example
Bundles --> Bundle Editor --> Edit Commands --> Rspec --> Run Examples
for tests:
Bundles --> Bundle Editor --> Edit Commands --> Ruby --> Run
Bundles --> Bundle Editor --> Edit Commands --> Rspec --> Run Focused Unit Test
Change the save drop down to "All Files in Project"
Hope this helps, future Jake.
Comments