Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 2 slow -- disable plugins for large files?

Sublime Text 2 is running very slowly for me on large text files (1000s of lines of code), and I suspect it is due to the plugins I have installed (like SublimeCodeIntel), particularly the auto-complete. How do I temporarily disable plugins in Sublime Text 2, or even better, automatically disable them only on large files?

like image 343
Big Dogg Avatar asked Nov 24 '12 22:11

Big Dogg


People also ask

Can sublime text handle large files?

Now we know Sublime Text may handle 1GB files, but only the Vanilla version, because if there are more packages installed, they will hang Sublime Text due the issue #1463 Packages are allowed to hang Sublime Text Indefinitely.

Is Sublime Text faster?

Sublime text feels snappy and fast because it has been developed using C++. Compared to that Atom is written in JavaScript which is far slower that C++ in many tasks. As a result sublime text feels and is faster that Atom.

How do I use plugins in Sublime Text?

Once Package Control is installed, you can use this to install the below packages as follows: Go to SublimeText – Preferences – Package Control (MAC) or Preferences – Package Control (PC) Choose “Install Package” from the list of options. Find the name of the package you wish to install and select it.


2 Answers

You can also append the following to the settings file if you want to disable the popups whenever a plugin makes sublime slow down (although I'm aware that's not exactly what you're looking for, it may be useful for future Googlers):

"detect_slow_plugins": false
like image 70
Matt Fletcher Avatar answered Sep 21 '22 22:09

Matt Fletcher


Found it -- if you hit Command-Shift-P (on a Mac), there is a ``Package Control: Disable Package'' option (and a corresponding option for enabling packages again).

like image 21
Big Dogg Avatar answered Sep 21 '22 22:09

Big Dogg