subhaze / sublime_codekit

Sublime Text plugin to run CodeKit 2 commands
35 stars 1 forks source link

Close Codekite when ST close. #7

Closed ctf0 closed 10 years ago

ctf0 commented 10 years ago

the current behavior is that codekit opens when the project in st is loaded , can we also have the same so when st close codekit also gets closed.

subhaze commented 10 years ago

@ctf0 I've added this in, however, there's no API in Sublime Text to know if you're closing it down completely so I check how many windows are open. If there are no windows open (but Sublime is still open) CodeKit is shutdown, or if you command+q Sublime, CodeKit will be shut down.

This isn't enabled by default but you can enabled it in the settings https://github.com/subhaze/sublime_codekit#auto-quit-codekit-off-by-default

ctf0 commented 10 years ago

no worries ,its exactly what i was after ,big thanx.