How to remove a package in sublime text 2

PackageSublimetext2Uninstallation

Package Problem Overview


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 workflow for removal of a package?

Package Solutions


Solution 1 - Package

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.

Solution 2 - Package

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.

Solution 3 - Package

go to package control by pressing Ctrl + Shift + p

type "remove package"

and type your package/plugin to uninstall and remove it

Solution 4 - Package

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.

Solution 5 - Package

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

Solution 6 - Package

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.

Solution 7 - Package

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionthomasstephnView Question on Stackoverflow
Solution 1 - PackageskurodaView Answer on Stackoverflow
Solution 2 - Packageuser1046503View Answer on Stackoverflow
Solution 3 - PackageanandView Answer on Stackoverflow
Solution 4 - PackageThomas.DonnellyView Answer on Stackoverflow
Solution 5 - PackageSafi AhmedView Answer on Stackoverflow
Solution 6 - PackageSonpal singh SengarView Answer on Stackoverflow
Solution 7 - PackagechebabyView Answer on Stackoverflow