A little while ago I tweeted this:
Can someone just build the thing that embeds #sublimetext into VS for JS and CSS and LESS and EVERYTHING that’s not C#?
— Quooston (@quooston) July 13, 2015
It appears this is entirely kinda possible by wiring up Sublime as an External Tool in Visual Studio:
To open the current Visual Studio file in Sublime Text, do the following:
- Add Sublime as an External Tool with
Initial Directory: “`$(ItemDir)“`
2. Create a shortcut key combo to open the current file on the current line:
Tools –> Options –> Keyboard
ExternalCommands[X] where X is the number corresponding to where in the list of external tools Sublime was added.
I use “`[Ctrl]+o+[Ctrl]+s“` for Open Sublime.
And that’s it. Thanks Homey Aryan for the tip!