Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text: disable all packages

Tags:

sublimetext3

I'm using Sublime Text 3083.

When I load a file with several thousand lines and try to edit it, it gets amazingly un-responsive to the point that adding/removing even one character takes it seconds.

I have > 20 packages installed and I need a way to disable all of them at once, to check if this issue is package related or o not.

I've searched around and I know that you can disable packages one by one but that's not good when lots of packages are installed. According to this post in the sublime forum, there is no way to do this but the post is rather old (and also not an official statement)

So, is there a way to do this? Perhaps with a package or a --no-packages flag or some other trick?


BTW: for the sake of completeness, after applying the solution I found that there were two packages responsible for the lag: GitGutter and WordHighlight.

like image 999
Gabriel Avatar asked Jun 15 '15 23:06

Gabriel


1 Answers

The best thing I can think of is to keep a list of the package names that you can copy and paste into your preferences file in the "ignored packages" section. If you have any sort of linter or code intel that might be the culprit if it's several thousand lines.

"ignored_packages": [     "SublimeCodeIntel",     "Vintage" ] 

Another thing to try would be to just make a copy of your Packages/Users/Package Control.sublime-settings file, then edit the original and delete all the listed packages there and restart ST3. Definitely make that copy first in case it screws up.


Gabriel reports he ultimately solved the issue by copying the list of installed packages out of the Packages/Users/Package Control.sublime-settings file and paste them into the ignored_packages section of his preferences file.

like image 143
Rob Wise Avatar answered Sep 29 '22 14:09

Rob Wise