How to remove a package in sublime text 2

前端 未结 7 1427
傲寒
傲寒 2021-01-29 19:50

I would like to remove and/or deactivate the Emmet package in Sublime Text 2.

Should I just remove the Emmet directory or what is the typical w

相关标签:
7条回答
  • 2021-01-29 20:27

    There are several answers, First IF you are using Package Control simply use Package Control's Remove Package command...

    Ctrl+Shift+P

    Package Control: Remove Package
    

    If you installed the package manually, and are on a Windows machine...have no fear; Just modify the files manually.

    First navigate to

    C:\users\[Name]\AppData\Roaming\Sublime Text [version]\
    

    There will be 4 directories:

    1. Installed Packages (Holds the Package Control config file, ignore)
    2. Packages (Holds Package source)
    3. Pristine Packages (Holds the versioning info, ignore)
    4. Settings (Sublime Setting Info, ignore)

    First open ..\Packages folder and locate the folder named the same as your package; Delete it.

    Secondly, open Sublime and navigate to the Preferences > Package Settings > Package Control > Settings-user

    Third, locate the line where the package name you want to "uninstall"

    {
        "installed_packages":
        [
            "Alignment",
            "All Autocomplete",
            "AngularJS",
            "AutoFileName",
            "BracketHighlighter",
            "Browser Support",
            "Case Conversion",
            "ColorPicker",
            "Emmet",
            "FileDiffs",
            "Format SQL",
            "Git",
            "Github Tools",
            "HTML-CSS-JS Prettify",
            "HTML5",
            "HTMLBeautify",
            "jQuery",
            "JsFormat",
            "JSHint",
            "JsMinifier",
            "LiveReload",
            "LoremIpsum",
            "LoremPixel",
            "Oracle PL SQL",
            "Package Control",
            "Placehold.it Image Tag Generator",
            "Placeholders",
            "Prefixr",
            "Search Stack Overflow",
            "SublimeAStyleFormatter",
            "SublimeCodeIntel",
            "Tag",
            "Theme - Centurion",
            "TortoiseSVN",
            "Zen Tabs"
        ]
    }
    

    NOTE Say the package you are removing is "Zen Tabs", you MUST also remove the , after "TortoiseSVN" or it will error.

    Thus concludes the easiest way to remove or Install a Sublime Text Package.

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