Sublime Forum

Uninstall packages

#1

Looks like I installed an avery package and I want to uninstall it. I looked around command but cant find a uninstall
routine. Can somebody help me on this. (after the avery was installed, I lost all “coloring” of the words when typing in the code

Thanks

1 Like

#2

If you used PackageControl to install the package, you can pick Preferences > Package Control from the menu and then select `Package Control: Remove Package"; it will then show you a list of packages and you can select the one you want to uninstall.

The same command is also available from the command palette, the menu entry just opens it pre-filtered to only Package Control commands.

If you didn’t use PackageControl to install the package, you have to remove the package manually by removing it from the package directory.

3 Likes

#3

Thanks, that did the trick… Now, can you tell me how to restore the "coloring’ of the certain commands. For example, typing print gets colored blue. I dont have that anymore and as a trainee, I cant say installing the avery wrecked it

Thanks

1 Like

#4

Syntax highlighting is determined based on the sort of file that you’re editing. Normally this gets picked up by the extension of the file that you’re editing. So for example if you haven’t saved the file yet, it doesn’t have a name internally and so Sublime won’t know how to syntax highlight it.

Assuming that’s not the case, you need to check to see that the proper syntax is set. The bottom right of the status bar tells you what syntax it thinks the current file is (for example it says JSON for the window where you’re editing your settings or “Plain Text” when you first open a tab).

If that doesn’t have the name of the language you’re using, you can click it to open up a menu that lets you select what language you want to use. You can also do this from the Command Palette; the entries there are prefixed with “Set Syntax:”, for example “Set Syntax: JSON”.

If that doesn’t show you the syntax that you want, then it’s not currently available. This could be because you don’t have a package installed which provides it, or you do but that package is set to be ignored.

3 Likes

#5

You are correct about the file extension… Thanks for spending the time explaining this to me.
This is resolved…

2 Likes