EnvSwitcher
Switch between different environments within SublimeText.
Details
Installs
- Total 736
- Win 361
- Mac 201
- Linux 174
Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Linux | 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 | 1 | 0 | 0 | 1 | 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.