Installing multiple packages in sublime text 3

后端 未结 2 2072
滥情空心
滥情空心 2021-02-06 15:37

When installing packages in Sublime Text 3, is there anyway I can tick all the ones I want from a list, and then install them in one go? Or do I have to click Preferences > Pac

2条回答
  •  粉色の甜心
    2021-02-06 15:56

    @wbond said:

    To batch install other packages, a Package Control.sublime-settings file needs to be placed into the Packages/User/ folder.

    Inside of the settings file should be a JSON object (Package Control.sublime-settings) with the key "installed_packages" that references a list of package names. When Package Control starts, if any of those packages are not present, the will be automatically downloaded and installed. Here is an complete example: { "installed_packages": [ "ApacheConf.tmLanguage", "Package Control", "SublimeLinter" ] }

    After adding the packages you want to on Package Control.sublime-settings, just restart Sublime Text and the Package Control will start installing those packages.

提交回复
热议问题