How to install plugins to Sublime Text 2 editor?

前端 未结 8 1778
予麋鹿
予麋鹿 2020-11-30 17:07

How to install plugins to the Sublime Text editor?

I would like to install Emmet plugin to Sublime Text 2 editor.

8条回答
  •  再見小時候
    2020-11-30 18:00

    Without Package Manager

    I highly recommend using the Package Manager as described in other answers as it's far more convenient for both installing and updating. However, sometimes plugins are not in the directory, so here is the manual approach.

    First off, find your Packages directory in your Application Support/Sublime Text 2 directory, for example:

    ~/Library/Application Support/Sublime Text 2/Packages

    Now, take your Plugin folder (which you can download as a zip from GitHub, for example) and simply copy the folder into your Packages directory:

    cp ~/Downloads/SomePlugin-master/ 
       ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/SomePlugin`
    

    Restart Sublime Text 2 and boom! you're done.

    With Package Manager

    Refer to one of the other answers here or go to the Package Manager home page.

    Bonus Points

    If there's a plugin that isn't in the Package Manager, why not submit it on behalf of the author by following the steps found here.

提交回复
热议问题