I want to uninstall Sublime Text completely so I can reinstall it and reconfigure some settings. After I uninstall and reinstall a fresh new version. The previous settings and bugs (An extension errors keeps popping up) keep coming up. How and where do I go to you erase those settings?
It's OS-dependent. What's probably happening is not all of your files are getting erased when you uninstall. You will need to manually delete these files. First, completely uninstall. Then manually delete the data folder. The location of the folder is OS and version (ST2 or ST3) dependent:
If you are on a Mac using ST2:
~/Library/Application Support/Sublime Text 2/
If you are on a Mac using ST3:
~/Library/Application Support/Sublime Text 3/
If you are on a PC using ST2:
<username>/AppData/Roaming/Sublime Text 2/
If you are on a PC using ST3:
<username>/AppData/Roaming/Sublime Text 3/
If you are on Linux using ST2:
~/.config/sublime-text-2
If you are on Linux using ST3:
~/.config/sublime-text-3
(thanks #MattDMo for Linux ST3 info)
Source: https://www.sublimetext.com/docs/2/revert.html
Hope that helps.
Related
I don't understand how to setup ftp on Sublime.
I downloaded Package Control and then I installed Sublime sftp.
So now I need to enter my credentials, which I see when I go to File, SFTP, Setup Server, BUT:
What do I do once I change the untitled document? Where do I save it so that sublime uses it?
The file should automatically be saved in the correct place once you hit Save. This directory is Packages/User, where Packages is the directory opened in your operating system's file manager (Windows Explorer, Finder, Nautilus, etc.) when selecting Preferences → Browse Packages…. This directory varies by operating system and installation type (standard vs. portable), but for standard installs the locations generally are as follows (replace the 3 with 2 for Sublime Text 2):
Linux:
~/.config/sublime-text-3/Packages/User
Windows:
C:\Users\username\AppData\Roaming\Sublime Text 3\Packages\User
Mac OS X:
~/Application Support/Sublime Text 3/Packages/User
For OS X and Linux, ~ indicates your home directory (/Users/username and /home/username, respectively).
Whenever I click "View/Edit" in Filezilla, the file opens in a new window at Sublime Text. How do I set the files to open as new tabs at the same window?
I tried: "open_files_in_new_window": false, but it doesn't work. I guess it is for MAC only but not Windows?
I am running Windows 8 64bit, Sublime Text 2.0.2, and FileZilla 3.9.0.6
In this case it's connected with ST 3 but you can give it a try or use version 3.
Answer by tsunami141 from http://www.sublimetext.com/forum/viewtopic.php?f=3&p=64638
I was able to find a solution to this. If anyone else is looking for
the answer at all, it was a problem with my filezilla filetype
associations. I was unable to get .html files to open in sublime text
so i had to edit the filezilla filetype associations settings to:
html "C:\Program Files\Sublime Text 3\sublime_text.exe" - open
I fixed the problem by removing the " - open" from the end of that
text, now all files open in tabs in the same window. Hope this helps
someone!
I am using Sublime Text 2 for Mac. I have installed the Package Control for Sublime Text 2, following the instructions from https://sublime.wbond.net/installation#st2 without any trouble. However, when I open up Ctrl+Shif+P to search for available packages, it does not show any.
See the image screenshot here
Do you have any solutions for it? I try restart Sublime but it doesn't solve the problem.
Take a look in your user Preferences.sublime-settings and remove the Package Control from the "ignored_packages" list if it is there.
If you use a Linux based system, you may have to check permissions of /home/user/.config/sublime-text-3. Check if the directory is owned by your user. If not, change the owner user for that directory.
Click the Preferences > Browse Packages and check whether Package control file is there or not.
You can manually put package control file there by downloading it from here and get rid of issues.
I had the same problem. I had to restart my computer to properly reset Sublime Text 2. It seems from your comment that you also got the Package Control list to show up after restarting your computer.
Your screenshot image is currently broken, but make sure you have the zipfile "Package Control.sublime-package" in the Installed Packages directory.
Open the console and run this command:
curl http://sublime.wbond.net/Package%20Control.sublime-package -o ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/Package\ Control.sublime-package
Then restart sublime.
See this issue: https://github.com/wbond/sublime_package_control/issues/652
I keep getting an "Executable '['git']' was not found in PATH. Current PATH" error message when trying GIT STATUS in Sublime Text 3. I have the SublimeGit plugin installed.
I have the following in my Package Settings > Settings - User
"git_executables": {
"git": ["/usr/local/bin/git"],
"git_flow": ["/usr/local/bin/git", "flow"],
"legit": ["legit"]
}
I have read https://docs.sublimegit.net/quickstart.html, but it does not go through windows paths.
Any help would be appreciated.
That error message can happen because of operations on a missing or moved file:
See issue 212 (for ST2, but possibly relevant for ST3).
Ok, I think why this bug happened.
There was a file that was moved to another location form outside ST2, and Git plugin failed to do something to the file because it no longer existed, but that situation was interpreted as missing git command.
Another workaround mentions:
Installing python via homebrew and restarting ST2 fixed this problem for me:
brew install python
Also, by David Gee -- davidagee :
On OS X Mountain Lion, the only way I was able to fix this, after trying everything in this thread, and additional mucking around with path settings, was to open "/Users/[me]/Library/Application Support/Sublime Text 2/Packages/Git/Git.sublime-settings" and to change git_command to "/usr/local/git/bin/git".
Adding a git_command setting to user prefs doesn't work.
The plugin seems to ignore the value when set in Preferences.sublime-settings.
I think i've deleted a whole folder by accident in sublime text 2. Is it possible to recover this deleted folder? I've checked my trash and nothing.
Using windows 7.
Same thing just happened to me.
Not to worry! Sublime does not permanently delete your files, but only moves them to trash (Recycle Bin). You will find your hard work sitting right there :)
See this reference for more information.
You can easily recover it from thrash / Recycle Bin folder on your machine.
Sublime or any other third party software never delete files permanently, in case of windows, it catches deleted files and move it to Recycle Bin.
In case you don't find in trash as in my case you can use "restore-trash" utility on linux. It can be installed using following command
sudo apt install trash-cli
After installing open command line and navigate to the folder.
Enter command
restore-trash
Choose the file which you wish to restore
If you are on windows, You can look at Recycle Bin.
Otherwise not possible without any advance tool.
Its gone buddy ! I did something similar and couldn't retrieve a file.
Anyway, not sure if it is going to help you but I wrote a simple SLT-plugin to back up modified files (locally and remote).
Local backup plugin:
class RemoteEdit(sublime_plugin.EventListener):
def on_post_save(self, view):
os.system('cp -r %s %s' % (view.file_name(), <backup_path>)) #use scp for remote backup