Installing multiple packages in sublime text 3

后端 未结 2 2071
滥情空心
滥情空心 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:42

    Just use Preferences > Package Control > Package Control: Advanced Install Package.

    Then you can enter a comma-separated package list, e.g. ConvertToUTF8,MarkdownEditing,SublimeLinter,SublimeREPL.

    Also, note that you could just press cmdshiftp (on OS X) or ctrlshiftp (on Windows) and type the command name (Package Control: Advanced Install Package) or even part of it, like pcaip. This will be much faster than clicking menu entries.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题