/OpenInSublimeText

A Visual Studio extension

Primary LanguageC#OtherNOASSERTION

Open in Sublime Text

A Visual Studio extension that adds a menu command that lets you open any solution, project, folder or file in Sublime Text.

Build status

Download the extension at the VS Gallery or get the nightly build


This extension is for those times where you have a project open in Visual Studio and you want to be able to quickly open it in Sublime Text.

Prerequisite

In order to use this extension, you must have Visual Studio 2015 as well as Sublime Text installed.

You can download Sublime Text for free.

Solution Explorer

You can open any solution, project, folder or file in Sublime Text by simply right-clicking it in Solution Explorer and select Open in Sublime Text.

Context menu

Settings

Install Path

The extension will automatically find sublime_text.exe when it's located at Sublime Text's default install directory. If it's installed at a custom location, you can easily change it in the settings:

Install Path

Opening Solution and Project files as regular files

This will allow you the option of opening your solution and project files as regular files. By default, the extension will load the solution and project folders into Sublime.

Open Solution and Project files as regular files

Change Sublime's settings

Sublime Text will by default remember which folders and files was open last time it was closed. That makes opening Sublime Text to a folder from the command line problematic (this extension uses same mechanism).

Sublime Text Preferences

To turn off this behavior in Sublime Text, go to Preferences -> User - Settings and then add these two lines to the file:

"hot_exit": false,
"remember_open_files": false

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0