So I recently installed Materialize package on my Sublime Text 3 just to try it out, and didn't like it. So I went ahead to remove it. After removing, My Sublime got all messed up. I couldn't see my files. Can't open package control. The screen itself is messed up. I tried Uninstalling and Reinstalling many times, and I'm still experiencing the same problem.
Please help me fix this, Thanks!
Most likely your settings still refer to the old theme, which doesn't exist any more. You can follow the instructions at https://www.sublimetext.com/docs/3/revert.html to revert to a clean state, or just edit your Packages/User/Preferences.sublime-settings file to remove the old theme setting. (The Preferences menu -> Browse Packages will be visible even when you are having theme problems.)
Related
I am using Sublime Text 3 on my Mac (10.13.2)
The Preferences menu is always greyed and not usable. (even on restart)
Any idea to solve that?
Thanks
Paul
On macOS, I deleted the file Package Control.last-run in /Users/cookedapple/Library/Application Support/Sublime Text 3/Packages/User and restarted Sublime Text 3. The problem was resolved.
There have been some suggestions that third-party Mac apps may be causing issues. So you may try restarting Sublime Text – I guess you have already done that before looking for a solution, try to do that again after each of the following steps:
Restarting menu bar Bartender or SecondBar if present
Reinstalling latest installed ST packages
Delete(https://stackoverflow.com/a/48398420/880188) Package Control.last-run, i.e. via Terminal: rm ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Package\ Control.last-run as mentioned in the other Answer
Restarting the computer
A user has figured out a reliable way to reproduce this (see Kronuz' comment from 6/19/18 on the issue tracker).
It seems to be caused by packages containing a large amount of files. There might be other causes as well, but hopefully with at least one reliable way to repro, the devs will come up with a fix.
I have installed Plymouth on ArchLinux. And have done everything according the documentation. The problem is that the displayed splash, is not the theme I have set, In fact I couldn't find it in any of the themes in /usr/share/plymouth/themes! A gray screen is shown, with three white squares that toggle on and off one after each other. I can guess that this is a fallback theme, but I have set the default theme. What is the problem? Any hint is appreciated. I am using grub2 as bootloader.
As I had guessed this was a fallback theme. And as no one gave me a better answer all this while, I give my solution for this problem. It seems like something was broken in the changes that I had made, and I think it was in plymouth's own created files and not the config files. I uninstalled the plymouth, then deleted all the configuration files in the etc folder, and then reinstalled it again. All the files that I had deleted were created again, and everything was working. This time when I applied the modification things got working this time.
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.
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.
Packages can be simply disabled as follows
Press Ctrl+Shift+P to open Command Palette
Type disable, select Package Control: Disable Package
This will give the list of all the Installed Packages, click on the one which you want to disable.
That's it. And you can enable disabled package anytime, just type enable in step:2.
I am using sublime text 2 (version 2.0.2) editor on cent os 6.5. Recently I started facing many issues, but one major issue is it does not remember the open files after closing and opening the editor window. Earlier it used to not only remember open files but also unsaved edits, after testing online suggestions I still could not resolve this issue, any suggestions would be of great help.
"hot_exit": false,
"remember_open_files": true,
"create_window_at_startup": true,
these are my current parameters in Preferences -> Settings - Default
I could solve this issue myself following this helpful link Reverting to fresh install state. Although that link has not worked for me, I just deleted sublime_plugin.py from my /opt/Sublime Text 2 directory then it works fine. So it seems that sublime starts misbehaving after adding new packages. In fact, I had deleted everything inside ~/.config/sublime-text-2 before sublime_plugin.py (it did not help though) not sure whether that is required, not to mention you can try after taking a backup
I don't know of any other way to access Package Control, but i find it weird that it doesn't work anymore, could the installation of other packages have caused it to just stop working? I don't even know how to debug something like this or find a solution for it, it appears this doesn't happen to many people, but it surely is happening to me.
When i press cmd+shift+p i don't get the Package control window. My ST3 has been very buggy and no updates have ever been available.
Is there just a quick way to wipe it all clean and start over?
Thanks.
If you want to completely start from scratch, first exit Sublime, then delete /Applications/Sublime Text.app. Finally, delete ~/Library/Application Support/Sublime Text 3.
You can now re-download ST3 and reinstall Package Control. Restart Sublime as instructed, and you should now be able to hit ⌘ShiftP and open the Command Palette. Type in packcon to get the Package Control options. You'll need to reinstall all your plugins, and reset any custom preferences, keybindings, snippets, etc. you've made.
Good luck!