EnvSwitcher
Switch between different environments within SublimeText.
Details
Installs
- Total 767
- Win 374
- Mac 208
- Linux 185
Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
EnvSwitcher
A Plugin for SublimeText 3 to switch through different environment settings. This can be helpful whenever you want to use a special environment to build. With this plugin, it is possible to have different python version installed on your machin and use only one of these when you hit build in sublime text.
Installation:
Using Package Control (Recommended)
For all Sublime Text 3 users we recommend install via Package Control.
- Install Package Control if you haven't yet.
- Use cmd+shift+P (ctrl+shift+P on Windows) then
Package Control: Install Package
- Look for
EnvSwitcher
and install it.
Manual Install
- Click the
Preferences > Browse Packages…
menu - Browse up a folder and then into the
Installed Packages/
folder - Download zip package rename it to
EnvSwitcher.sublime-package
and copy it into theInstalled Packages/
directory - Restart Sublime Text
Usage :
To configure :
Use cmd+shift+P (ctrl+shift+P on Windows) then EnvSwitcher: Settings - User
to change the user settings and add new environments for you system.
For Example::
"envs":
{
"Python 3.5 with PyQt5":
{
"PATH": "C:\\Python\\3.5;C:\\Python\\3.5\\Lib\\site-packages\\PyQt5;%PATH%",
"PYTHONPATH": "C:\\Python\\3.5\\Lib\\site-packages\\PyQt5;%PYTHONPATH%",
},
"Python 3.6 with PyQt5":
{
"PATH": "C:\\Python\\3.6;C:\\Python\\3.6\\Lib\\site-packages\\PyQt5;%PATH%",
"PYTHONPATH": "C:\\Python\\3.6\\Lib\\site-packages\\PyQt5;%PYTHONPATH%",
}
}
To switch :
- use cmd+shift+P (ctrl+shift+P on Windows) then
EnvSwitcher: Choose Environment
to show the list of your defined environments. - use cmd+alt+E (ctrl+alt+E on Windows) to show the list of your defined environments.
Support :
- Any bugs about Markdown Preview please feel free to report here.
- And you are welcome to fork and submit pullrequests.
License :
The code is available at github project under MIT licence.