ctrl+shift+p filters: :st2 :st3 :win :osx :linux
浏览

EnvSwitcher

SaschaMzH 所有

在SublimeText中切换不同的环境。

标签 环境, 项目

详细信息

安装

  • 总数 740
  • Win 363
  • Mac 202
  • Linux 175
8月6日 8月5日 8月4日 8月3日 8月2日 8月1日 7月31日 7月30日 7月29日 7月28日 7月27日 7月26日 7月25日 7月24日 7月23日 7月22日 7月21日 7月20日 7月19日 7月18日 7月17日 7月16日 7月15日 7月14日 7月13日 7月12日 7月11日 7月10日 7月9日 7月8日 7月7日 7月6日 7月5日 7月4日 7月3日 7月2日 7月1日 6月30日 6月29日 6月28日 6月27日 6月26日 6月25日 6月24日 6月23日
Windows 0 0 1 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 0 0 1 1 0 0 0
Mac 1 1 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 0 0 0 0 0 0 0 0
Linux 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
012348月6日8月3日7月31日7月28日7月25日7月22日7月19日7月16日7月13日7月10日7月7日7月4日7月1日6月28日6月25日8月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 18月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 1 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 17月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 1 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 17月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 16月26日 Linux: 0 Mac: 0 Windows: 16月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 08月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 18月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 1 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 17月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 1 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 17月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 16月26日 Linux: 0 Mac: 0 Windows: 16月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 08月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 18月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 1 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 17月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 1 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 17月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 16月26日 Linux: 0 Mac: 0 Windows: 16月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 0

自述文件

源代码
raw.githubusercontent.com

EnvSwitcher

SublimeText 3的插件,用于切换不同的环境设置。当需要使用特定环境进行构建时,这可能很有帮助。使用此插件,可以在您的计算机上安装不同的Python版本,并在Sublime Text中构建时仅使用其中之一。

安装

使用软件包控制(推荐)

我们建议所有Sublime Text 3用户通过软件包控制安装。

  1. 如果您尚未安装,请安装软件包控制。
  2. 使用cmd+shift+P(Windows上的ctrl+shift+P)然后键入Package Control: Install Package
  3. 查找EnvSwitcher并安装它。

手动安装

  1. 点击首选项 > 浏览包…菜单
  2. 向上浏览一个文件夹,然后进入已安装包/文件夹
  3. 下载zip包,将其重命名为EnvSwitcher.sublime-package,并将其复制到已安装包/目录
  4. 重新启动Sublime Text

用法

配置:

使用cmd+shift+P(Windows上的ctrl+shift+P)然后键入EnvSwitcher: Settings - User以更改用户设置并添加系统的新环境。

例如:

"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%",
        }
    }

切换:

  • 使用cmd+shift+P(Windows上的ctrl+shift+P)然后键入EnvSwitcher: Choose Environment以显示您的定义环境列表。
  • 使用cmd+alt+E(Windows上的ctrl+alt+E)以显示您的定义环境列表。

支持

  • 关于Markdown预览有任何错误,请自由在此处报告
  • 欢迎您进行枝杆操作和提交拉请求。

许可协议

代码在 GitHub 上的项目下可用,遵循MIT许可证