How to remove a package in sublime text 2

前端 未结 7 1449
傲寒
傲寒 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:12

    go to package control by pressing Ctrl + Shift + p

    type "remove package"

    and type your package/plugin to uninstall and remove it

    0 讨论(0)
  • 2021-01-29 20:13

    Sublime Text 3

    Procedure


    Run Sublime Text.


    Select PreferencesPackage Control.

    Or

    Use ctrl+shift+p shortcut for (Win, Linux) or cmd+shift+p for (OS X).


    Select Remove Package. Package Control: Remove Package


    Start typing name of the package you want to remove and select it from the list of installed packages.


    Wait for the uninstallation to complete.

    0 讨论(0)
  • 2021-01-29 20:19

    Just wanted to add, that after you remove the package in question you might also need to check to see if it's listed in the list of packages in the following area and manually remove its listing:

    Preferences>Package Settings>Package Control>Settings - User

    {
        "auto_upgrade_last_run": null,
        "installed_packages":
        [
            "AdvancedNewFile",
            "Emmet",
            "Package Control",
            "SideBarEnhancements",
            "Sublimerge"
        ]
    }
    

    In my instance, my trial period for "Sublimerge" had run out and I would get a popup every time I would start Sublime Text 2 saying:

    "The package specified, Sublimerge, is not available"

    I would have to close the event window out before being able to do anything in ST2.

    But in my case, even after successfully removing the package through package control, I still received a event window popup message telling me "Sublimerge" wasn't available. This didn't make any sense as I had successfully removed the package.

    It wasn't until I found this "auto_upgrade_last_run" file and manually removed the "Sublimerge" entry and saved my edit, did the message go away.

    0 讨论(0)
  • 2021-01-29 20:19

    Simple steps for remove any package from Sublime as phpfmt, Xdebug etc..

    1- Go to Sublime menu-> Preference or press Ctrl+Shift+P .
    2- Choose -> Remove package option, after you choosing it will display all   packge installed in your sublime, select one of them.
    3. After selection it will remove, or for better you can restart your system.
    
    0 讨论(0)
  • 2021-01-29 20:21

    If you installed with package control, search for "Package Control: Remove Package" in the command palette (accessed with Ctrl+Shift+P). Otherwise you can just remove the Emmet directory.

    If you wish to use a custom caption to access commands, create Default.sublime-commands in your User folder. Then insert something similar to the following.

    [
        {
            "caption": "Package Control: Uninstall Package",
            "command": "remove_package"
        }
    ]
    

    Of course, you can customize the command and caption as you see fit.

    0 讨论(0)
  • 2021-01-29 20:23

    Follow below steps-

    Step1 - Ctrl+Shift+P

    Step2 - Enter Disable Package

    Step3 - enter the package name that you want to disable and press enter

    Successfully removed, if not removed then restart Sublime

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