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

打包重新加载器

csch0 全部

Sublime Text中依赖模块的重新加载器

标签 开发

详细信息

安装

  • 总数 7K
  • Win 5K
  • Mac 2K
  • Linux 818
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 1 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1
Mac 1 2 0 0 0 0 1 1 2 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0
Linux 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 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: 2 Windows: 18月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 1 Mac: 1 Windows: 07月30日 Linux: 0 Mac: 1 Windows: 07月29日 Linux: 0 Mac: 2 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 27月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: 17月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 17月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: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 17月9日 Linux: 0 Mac: 1 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: 1 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 17月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 1 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 16月28日 Linux: 0 Mac: 1 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月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: 18月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 2 Windows: 18月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 1 Mac: 1 Windows: 07月30日 Linux: 0 Mac: 1 Windows: 07月29日 Linux: 0 Mac: 2 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 27月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: 17月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 17月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: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 17月9日 Linux: 0 Mac: 1 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: 1 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 17月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 1 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 16月28日 Linux: 0 Mac: 1 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月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: 18月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 2 Windows: 18月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 1 Mac: 1 Windows: 07月30日 Linux: 0 Mac: 1 Windows: 07月29日 Linux: 0 Mac: 2 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 27月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: 17月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 17月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: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 17月9日 Linux: 0 Mac: 1 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: 1 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 17月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 1 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 16月28日 Linux: 0 Mac: 1 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月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: 1

说明文件

源代码
raw.​githubusercontent.​com

打包重新加载器

一个简单的重新加载器,用于在Sublime Text中管理依赖模块的重新加载过程。在开发插件时,它可以在不重启Sublime Text的情况下动态地重新加载类的更改。

用法

要启用特定包的重新加载,只需在包目录中放置一个空的.build文件即可。您不需要手动填写文件,只需保存一个文件到插件中,Package Reloader将自动填写所有基本信息。您可以在首次运行后使用mods_load_order调整加载顺序。在首次运行(在该项目中保存文件)后,.build可能看起来像这样

{
    "automatic_order": true,
    "iterations": 1,
    "mods_load_order":
    [
        "File Navigator.py",
        "file_navigator/__init__.py",
        "file_navigator/tools.py"
    ]
}

automatic_order可以设置为true或false,如果您使用true,则每次添加新源文件时,顺序将自动排列。如果您使用false,则新项目将只添加到列表的末尾,您可以自行修改。例如,如果您需要在file_navigator/tools.py之前加载File Navigator.py,只需按以下方式更改.build

{
    "automatic_order": false,
    "iterations": 1,
    "mods_load_order":
    [
        "file_navigator/tools.py",
        "File Navigator.py",
        "file_navigator/__init__.py"
    ]
}

安装

使用Package Control

  • 打开命令面板(在OS X上为Command+Shift+P,在Linux/Windows上为Control+Shift+P)。
  • 选择Package Control: Install Package.
  • 选择Package Reloader进行安装。

不使用Package Control

  • 将文件保存到Packages/Package Reloader目录,然后重新启动Sublime。
    • Linux: ~/.config/sublime-text-2|3/Packages/Package Reloader
    • Mac: ~/Library/Application Support/Sublime Text 2|3/Packages/Package Reloader
    • Windows: %APPDATA%/Sublime Text 2|3/Packages/Package Reloader

捐赠

通过gittippaypal支持此项目。

许可证

本包中的所有文件均采用MIT许可证。

版权所有 © 2013 Chris chris@latexing.com

特此授予任何获得本软件及其相关文档副本(以下简称“软件”)的个人,在不限制情况下使用软件的权利,包括但不限于使用、复制、修改、合并、发布、分发、再许可和/或销售软件副本,以及允许将软件提供给他人进行此类操作的权利,但前提是遵守以下条件

上述版权声明和本许可声明应包括在软件的所有副本或实质性部分中。

软件按“现状”提供,不提供任何明示或暗示的保证,包括但不限于适销性、特定用途和侵权保证。在任何情况下,作者或版权持有人不对任何索赔、损害或其他责任承担责任,无论这些责任是在合同、侵权或其他行为下产生的,以及与软件或其使用或其他处理相关的。