Skip to content

Instantly share code, notes, and snippets.

@math2001
Last active March 21, 2024 13:34
Show Gist options
  • Select an option

  • Save math2001/04186bb2273fa5accc04f88e44275d49 to your computer and use it in GitHub Desktop.

Select an option

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.

@Ranjith-Jagadish

Copy link
Copy Markdown

worked well...

@Gormador

Copy link
Copy Markdown

I wish I had thought of that... Thanks mate!

@skinTest

Copy link
Copy Markdown

nicely reverted

@lucad123

Copy link
Copy Markdown

Eeeeeh what does go up 2 folders mean???

@nilozero1

Copy link
Copy Markdown

wow, thanks man

@TejasAvinashShetty

TejasAvinashShetty commented May 30, 2019

Copy link
Copy Markdown

great, wonderful, so well explained.
Just need to state that to open sublime text first. I was wondering what was preferences.

@KoderKumar

Copy link
Copy Markdown

Thanks bro

@QualiAlex

Copy link
Copy Markdown

That's really smart, thank you

@masaguaro

Copy link
Copy Markdown

Eeeeeh what does go up 2 folders mean???

It means, goes to the folders and look for the folder "Sublime Text 3", renamed with another name.

@durganaveenz

Copy link
Copy Markdown

Great I did it
Thanq

@whydeepansh

Copy link
Copy Markdown

Worked for me. Thanks.

@theUnrealSamurai

Copy link
Copy Markdown

Was easy, Thanks

@deepaking7

Copy link
Copy Markdown

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

@math2001

Copy link
Copy Markdown
Author

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

@ryzendhankecha

Copy link
Copy Markdown

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

kdb13 commented Aug 22, 2020

Copy link
Copy Markdown

Really awesome!

@AlejandroRodriguezA

Copy link
Copy Markdown

Thanks.

@Jaimee3point14

Copy link
Copy Markdown

Thank the computer gods for you.

@TechhDan

Copy link
Copy Markdown

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!

@nullvm

nullvm commented Oct 9, 2021

Copy link
Copy Markdown

thanks, really simple and understandable,,

@devashish2024

Copy link
Copy Markdown

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
Copy Markdown

@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
Copy Markdown

Worked for me

@chuck-wood

Copy link
Copy Markdown

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