Sublime Forum

Reverted ST3 to Fresh Install, now what?

#1

Afer being frustrated most of the day trying to figure out why package control, plugins, etc… no longer worked after just purchasing the editor, I had to finally resort to a ‘fresh’ state as referenced here: http://www.sublimetext.com/docs/3/revert.html and wanted to pass along what I found.

For reference I’m using Windows 10 64bit and as a Windows 10 user, I didn’t have a ‘data’ directory referenced in http://www.sublimetext.com/docs/3/revert.html Windows: %APPDATA%\Sublime Text 3

My directory structure is listed below. I’m a software engineer and had to think twice if ‘data’ directory meant everything under C:\Users\Brian\AppData\Roaming\Sublime Text 3. Especially since I wouldn’t consider the python files ‘data’. I also saw references to Cache which I also had under C:\Users\Brian\AppData\Local\Sublime Text 3\ so was the correct procedure to remove everything under there?

  • C:\Users\Brian\AppData\Roaming\Sublime Text 3\
    • Backup
    • Installed Packages
    • Lib
    • Local
    • Packages
    • Settings

So, I took a chance and backed up everything under C:\Users\Brian\AppData\Sublime Text 3
All ‘appears’ working but of course I no longer have Package Control, Any of my plugins, etc. which is almost the same as just reinstalling everything new. The only saving grace is that I believe you can copy over your user settings from the backup.

I think correcting the documentation would save a lot of people time and frustration and a lot less forum posts.

When ST3 wasn’t working, Here is the output of the console upon load and you’ll notice the 6th line mentioning that it’s unable to open the Default Package Control.sublime-settings file which is correct in that it didn’t exist. It did exist in C:\Users\Brian\AppData\Roaming\Sublime Text 3\Packages\User\

You’ll also notice that there is no reference to the User directory upon startup. I’m not a python dev but just from the initialization, it doesn’t appear to look in that directory for the settings and it would probably be pretty simple to at least look in that directory and output something more meaningful to the user so maybe they don’t have to revert back to the beginning and start all over. I would assume that anyone who uses a real editor like Sublime Text or Visual Studio Code, etc… probably takes a lot of time fine tuning all their settings, packages, workflow, builds just so only to have it wasted.

Any finally 1 clarification that I still haven’t found as an absolute answer. Is it true that after you revert you have to reinstall package control and each and every plugin again? If so, I have quite a bit of work ahead of me.

DPI scale: 1
startup, version: 3143 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Program Files/Sublime Text 3
packages path: /C/Users/Brian/AppData/Roaming/Sublime Text 3/Packages
Unable to open /C/Users/Brian/AppData/Roaming/Sublime Text 3/Packages/Package Control/Package Control.sublime-settings
state path: /C/Users/Brian/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/Brian/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["ActionScript"]
pre session restore time: 0.245079
font face "Ubuntu Mono" could not be found, defaulting to "Consolas"
startup time: 0.291079
first paint time: 0.296079
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin Vintage.vintage
reloading plugin Vintage.vintage_commands
reloading plugin Vintage.vintage_motions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.50-backrefs
reloading plugin 0_package_control_loader.50-markupsafe
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.51-python-jinja2
reloading plugin 0_package_control_loader.55-mdpopups
reloading plugin BracketHighlighter.bh_core
reloading plugin BracketHighlighter.bh_logging
reloading plugin BracketHighlighter.bh_plugin
reloading plugin BracketHighlighter.bh_popup
reloading plugin BracketHighlighter.bh_regions
reloading plugin BracketHighlighter.bh_remove
reloading plugin BracketHighlighter.bh_rules
reloading plugin BracketHighlighter.bh_search
reloading plugin BracketHighlighter.bh_swapping
reloading plugin BracketHighlighter.bh_wrapping
reloading plugin BracketHighlighter.support
reloading plugin Console Wrap.console_wrap
reloading plugin CSS3.css3_completions
reloading plugin CSS3.rgb_to_hex
reloading plugin DoxyDoxygen.Doxy
------==== DoxyDoxygen plugins loaded ====------
0 sub-modules to reload
reloading plugin Emmet.emmet-plugin
reloading plugin Function Name Display.FunctionNameStatus
reloading plugin Git.git_commands
reloading plugin GitGutter.plugin
reloading plugin Less2Css.less2css
reloading plugin Less2Css.lesscompiler
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin PhpCodeGen.phpcodegen
reloading plugin Phpcs.phpcs
reloading plugin PHPUnit.phpunit
reloading plugin phpunitkit.plugin
reloading plugin SideBarEnhancements.SideBar
reloading plugin SideBarEnhancements.SideBarAPI
reloading plugin SideBarEnhancements.SideBarDefaultDisable
reloading plugin sublime-github.commandline
reloading plugin sublime-github.github
reloading plugin sublime-github.sublime_github
reloading plugin sublime-github.sublime_requests
reloading plugin SublimeLinter-csslint.linter
SublimeLinter: csslint linter loaded 
reloading plugin SublimeLinter-jshint.linter
SublimeLinter: jshint linter loaded 
reloading plugin SublimeLinter-php.linter
SublimeLinter: php linter loaded 
reloading plugin Super Calculator.Super Calculator
reloading plugin Text Pastry.text_pastry
reloading plugin Text Pastry.text_pastry_addons
reloading plugin Text Pastry.text_pastry_clipboard
reloading plugin Text Pastry.text_pastry_selection
reloading plugin Xdebug Client.main
reloading plugin Autoprefixer.Autoprefixer
reloading plugin Autoprefixer.node_bridge
reloading plugin Babel.Babel
reloading plugin CodeComplice.CodeComplice
reloading plugin Grunt.main
reloading plugin HTML-CSS-JS Prettify.HTMLPrettify
reloading plugin Minify.Minify
reloading plugin Naomi.__init__
reloading plugin Open-Include.Edit
reloading plugin Open-Include.open_env
reloading plugin Open-Include.open_include
reloading plugin Pretty JSON.PrettyJson
reloading plugin Pretty JSON.PrettyJsonListeners
reloading plugin SFTP.SFTP
reloading plugin SublimeCodeIntel.ordereddict
reloading plugin SublimeCodeIntel.SublimeCodeIntel
thread finalize
0 Likes

#2

that is the ST “data” folder, deleting/renaming that is what the docs are suggesting

yes there is, the User package is a direct subfolder of this:

no, just Package Control, which can be done from the Tools menu - if you copy your Package Control settings across, it will automatically reinstall all “missing” packages
https://packagecontrol.io/docs/syncing

0 Likes

#3

As an experienced developer working with Windows I can open the command prompt (cmd.exe or powershell.exe) and enter the command cd %APPDATA%\Sublime Text 3

This will change the currend directory to C:\Users\<username>\AppData\Roaming\Sublime Text 3. Maybe worth mentioning - <username> is a placeholder for the logged on user.

So from this point of view, the documentation is absolutely accurate, I think!

But as such long path structures are too complicated for my little stupid mind, I use the portable setup of Sublime Text, which contains a Data folder right in its installation path, which is C:\Apps\Sublime in my case. Therefore a reference to a data folder is even more accurate in this case and easy to follow. All files are kept at this one place then.

… had to think twice if ‘data’ directory meant everything …

One could call it profile or what ever, but each developer knows that Windows names both the environment variable (%APPDATA%) and the folder (AppData) which contain all kind of user specific application information as data folder. Modern apps are even installed into that folder and others at least install plugin binaries there.

So I find the chosen name for the folder which holds all the user specific stuff not too bad or far-fetched. As an developer who knows the tools I am working with I quickly got familiar with the terminology used for certain functions/places/… .

0 Likes