fsprojects / zarchive-sublime-fsharp-package

F# development tools for SublimeText 3
32 stars 7 forks source link

have 'install' build task restart sublime text for developer #46

Closed guillermooo closed 9 years ago

guillermooo commented 9 years ago

And then integrate in project build system so pressing F7 takes care of publishing locally and restarting.

rojepp commented 9 years ago

I have a wip for this, doesn't work on Windows yet. https://github.com/rojepp/sublime-fsharp-package/tree/fake_restart_sublime

guillermooo commented 9 years ago

Cool. You can use TASKKILL I guess.

rojepp commented 9 years ago

What's missing is just to locate the ST3 install dir. I can implement a simple search and a way to provide the path, so that by default, you won't have to specify.

rojepp commented 9 years ago

@guillermooo Might be nice to not have a setting for it, and only restart sublime if it is already running, what do you think? I like having few knobs.

guillermooo commented 9 years ago

Sounds good to me. If the user asks for "install", they have to restart ST no matter what.

rojepp commented 9 years ago

That also simplifies finding install dir on Windows. I'll just grab the path from the running process. I'll finish it up and send a pr.

guillermooo commented 9 years ago

Done.