kairyou / SublimeTmpl

Create File From Templates for SublimeText 2 / SublimeText 3
https://xhl.me
MIT License
226 stars 68 forks source link

How to prevent this plugin from updating itself? #15

Closed vrbvillor closed 8 years ago

vrbvillor commented 8 years ago

I've edited the content of this plugin, but it updates everyday, so I have to paste the content edited to cover the new script of this plugin. How to prevent the plugin from auto-updating?

kairyou commented 8 years ago

hello, 你是国人吧, 自动更新是packagecontrol的功能, 可以配置它的auto_upgrade_ignore选项. 另外, 如果你修改的不是Python文件本身, 而是User目录的setting或者tmpl, 插件升级是不会有任何影响的. 还有, updates everyday 有些夸张~, 没人提Issues活PR, 插件是不会频繁更新了.

vrbvillor commented 8 years ago

话说,下边没有user目录啊,只有一个templates目录。的确是每天更新,我每天都得把之前改的东西覆盖过来……

kairyou commented 8 years ago

这两个user配置,是不会因为插件升级影响的.

vrbvillor commented 8 years ago

可是我改的是菜单跟快捷键啊,那两个不是在user里边的啊。还是说我把整个SublimeTmpl目录,都粘到Users里边?

kairyou commented 8 years ago

image 配置菜单, Key Bindings - user 增加配置可以覆盖默认的快捷键. umm... 你是增加了其他语法对吧? 然后希望在菜单 显示这个语法? 支持user菜单的功能, 看来必须要更新个新版本解决了, 哈~

kairyou commented 8 years ago

准备新版本, 增加user menu, 比如这样: image user menu会保存在Packages/User/SublimeTmpl目录, 所以就不需要担心插件自动升级了.