Skip to content

Instantly share code, notes, and snippets.

@math2001
Last active March 21, 2024 13:34
Show Gist options
  • Save math2001/04186bb2273fa5accc04f88e44275d49 to your computer and use it in GitHub Desktop.
Save math2001/04186bb2273fa5accc04f88e44275d49 to your computer and use it in GitHub Desktop.
Revert Sublime Text 3 to a fresh state step by step πŸ™‚

[UPDATE] Sublime Text 4

If you have the latest sublime text (version 4), you can just do:

subl --safe-mode

How do I revert Sublime Text 3 to a fresh state

This little gist will walk you through the process of reverting your Sublime Text installation to a fresh state.

This simply means to get Sublime Text to exactly as it was by default.

Hum... Will I lose all my setup?

No. You can go back to how you were really easily, and it's explained at the bottom. πŸ˜‰

Revert to a fresh state

  1. Preferences β†’ Browse Packages
  2. Go up 2 folders
  3. Close Sublime Text
  4. Rename the Sublime Text 3 folder something else (Sublime Text 3-actual for example)
  5. restart Sublime Text

What this will do is recreate the Sublime Text 3 folder for you, as it was by default.

πŸŽ‰ Now, Sublime Text is exactly how it was when you first started it πŸ‘Ά

Get your setup back

You've probably guessed how to do this now, but for clarity's sake, here's the step by step process:

  1. Preferences β†’ Browse Packages
  2. Go up 2 folders
  3. Close Sublime Text
  4. Delete the sublime Text 3 folder
  5. Rename the original Sublime Text 3 folder (in my case, it'd be the folder Sublime Text 3-actual) to Sublime Text 3
  6. Restart Sublime Text

πŸŽ‰ Now you're back to how you were before.

@whydeepansh
Copy link

Worked for me. Thanks.

@theUnrealSamurai
Copy link

Was easy, Thanks

@deepaking7
Copy link

My menu bar is hdden..... It fucked up...... How to find the menu bar

@math2001
Copy link
Author

Try pressing alt. Or you can look in the command palette for View: Toggle Menu

@ryzendhankecha
Copy link

hey thank you so much it worked perfectly for me some weeks ago I have some issue with sublime packages but thanks to you i can easily clean that

@kdb13
Copy link

kdb13 commented Aug 22, 2020

Really awesome!

@AlejandroRodriguezA
Copy link

Thanks.

@Jaimee3point14
Copy link

Thank the computer gods for you.

@TechhDan
Copy link

I was having problems with PHP unable to go to a functions definition. The only way it would work on a project was to have the file that defined the function open on the editor. I tried uninstalling sublime and re-installing and noticed all the settings were not removed. I followed this post and it fixed my problem. Thank you!

@deniandriancode
Copy link

thanks, really simple and understandable,,

@devashish2024
Copy link

I know, %APPDATA%\Roaming in that folder if we delete all folders, most of applications are reset. But In my sublime text 4, It reset my sublime text including all settings, and theme. But My problem is still not resolved. The Code completions that give us emmet abrevation are not still come as before they were are gone. PLEASE HELP!!!

@devashish2024
Copy link

@lucad123 There when you go up 2 folders, It mean to go to back 2 folders. You can press Alt + Up 2 times to go 2 folders up.

@harendrabyjus
Copy link

Worked for me

@chuck-wood
Copy link

Oh man, thank you so much! I had deleted and reinstalled the app repeatedly and that still didn't work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment