Sublime Forum

Help on Restoring Sublime Settings

#1

I attempted to export my settings from one computer to another and set up syncing through Dropbox. I followed these steps: https://packagecontrol.io/docs/syncing1.

However, I ended up losing my preferences (theme, settings, etc.) on the 1st computer and there was no preferences saved on the 2nd computer.

I tried following these steps, but to no avail: https://stackoverflow.com/questions/16455052/how-to-restore-sublime-text-settings-and-preferences-and-undo-the-symlink-create/16464035.

Any advice would be much appreciated! Thank you in advance.

1 Like

#2

My advice is to use git to do the syncing, instead of dropbox. Also do not lose your files. Depending on how you loose them, you may recover them from your file system using some especial program to scan your file system and look for the deleted files. If you are lucky, your files was not overwritten yet. If not, then as you are using dropbox, it is supposed to be saved on your dropbox account.

If you deleted them and synced with dropbox, I think you have 30 days until dropbox delete the backups of your files for good/ever from the cloud. So you can access your dropbox account and check for the files you deleted.

1 Like

#3

I was able to recover the files, but the settings are not automatically applied when I move them back into ~/Library/Application Support/Sublime Text 3/Packages/Default/Preferences.sublime-settings.

Do you know how to reapply them?

0 Likes

#4

When you open Sublime Text, go to the menu Preferences -> Settings

Do you see your settings?

If not just open your setting files from the backup and copy and paste its contents on the Sublime Text.

1 Like

#5

Ah apologies, the User settings was not able to be recovered. But I see that all the packages/plugins I’ve installed are still there. Is there anyway to quickly reapply them?

0 Likes

#6

You can copy and paste your packages on the Sublime Text packages folder, going on the menu:

  1. Preferences -> Browse Packages....

It will open your Sublime Text packages folder. Then just copy them to there.

0 Likes

#7

So the packages are already there following the above steps, but they’re not applied. Any thoughts? Seems like the packages I’ve installed were not removed, but they are just sitting there not being applied.

0 Likes

#8

They should be in the "ignored_packages" list on your preferences file, if they are being ignored. Can you copy here your full console output (View -> Console) after you open Sublime Text?

For example:

DPI scale: 1
startup, version: 3142 windows x32 channel: dev
executable: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/sublime_text.exe
working dir: /C/ProgramData/Microsoft/Windows/Start Menu/Atalhos
packages path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Packages
state path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Local
zip path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Packages
zip path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Installed Packages
ignored_packages: ["All Autocomplete", "Anaconda", "ApplySyntax", "BracketHighlighter", "C++ Completions", "C++ Snippets", "C++ Starting Kit", "ColorHelper", "DictionaryAutoComplete", "FileManager", "Find++", "Gist", "Git", "GitGutter", "Javatar", "Local History", "Matlab Completions", "MatlabFilenameAutoComplete", "MySQL Snippets", "Project Specific Syntax Settings", "Qt Completions for C++", "ScopeAlways", "Select All Spelling Errors", "SQL Keyword Uppercase", "SQLExec", "SQLTools", "Sublime Tutor", "sublime-text-2-buildview", "SublimeCodeIntel", "SyncedSideBar", "SyntaxManager", "Vintage", "WordHighlight"]
generating syntax summary
Unable to parse binding {keys: [ctrl+alt+w]}
Unable to parse binding {keys: [ctrl+shift+w]}
pre session restore time: 6.55616
loading dictionary Packages/User/MultiLingual Dictionary/EN_PT.dic
startup time: 9.69316
first paint time: 9.70716
font face "Times" could not be found, defaulting to "Consolas"
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 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-package_setting_context
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.15-coverage
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.50-pyyaml
reloading plugin 0_package_control_loader.50-regex
reloading plugin 0_package_control_loader.51-python-jinja2
reloading plugin 0_package_control_loader.55-mdpopups
reloading plugin A File Icon.A File Icon
reloading plugin Add Folder To Project.AddFolderToProject
reloading plugin AdvancedNewFile.AdvancedNewFile
reloading plugin Alignment.Alignment
reloading plugin AlignTab.aligner
reloading plugin AlignTab.aligntab
reloading plugin AlignTab.hist
reloading plugin AlignTab.parser
reloading plugin AlignTab.table
reloading plugin AlignTab.wclen
reloading plugin Auto Refresh.AutoRefresh
reloading plugin Better CoffeeScript.CoffeeScript
reloading plugin Case Conversion.case_conversion
reloading plugin Case Conversion.case_parse
reloading plugin Chain of Command.chain
reloading plugin ChangeQuotes.change_quotes
reloading plugin ChannelRepositoryTools.ordereddict
reloading plugin ChannelRepositoryTools.tests
reloading plugin ChannelRepositoryTools.upgrade
reloading plugin Clickable URLs.clickable_urls
reloading plugin Color Highlighter.ColorHighlighter
reloading plugin Color Highlighter.colors
reloading plugin ColorSchemeEditor.ColorSchemeEditor-ST2
reloading plugin Column Select.column_select
reloading plugin Compare Side-By-Side.sbs_compare
reloading plugin Copy Filepath With Line Numbers.CopyFilepathWithLineNumbers
reloading plugin CopyWithLineNumbersReloaded.copy_with_line_numbers
reloading plugin Delete Current File.DeleteCurrentFile
reloading plugin DistractionFreeWindow.distraction_free_window
reloading plugin DocBlockr.jsdocs
reloading plugin DuplicateSelections.duplicate_selections
reloading plugin Edit Preferences.__init__
reloading plugin Edit Preferences.commands_base
reloading plugin Edit Preferences.edit_package_files
reloading plugin Edit Preferences.extract_snippets
reloading plugin Edit Preferences.helper_commands
reloading plugin Edit Preferences.helpers
reloading plugin Edit Preferences.insert_binding_repr
reloading plugin Edit Preferences.jsonix
reloading plugin Edit Preferences.list_commands
reloading plugin Edit Preferences.list_menu_bindings
reloading plugin Edit Preferences.list_settings
reloading plugin Edit Preferences.list_shortcut_keys
reloading plugin Edit Preferences.list_theme_selectors
reloading plugin Edit Preferences.package_resources
reloading plugin Edit Preferences.quick_panel_cols
reloading plugin Edit Preferences.scheduler
reloading plugin Emmet.emmet-plugin
reloading plugin ExportHtml.ExportBbcode
reloading plugin ExportHtml.ExportHtml
reloading plugin ExportHtml.HtmlAnnotations
reloading plugin ExportHtml.support
reloading plugin ExtendedTabSwitcher.ExtendedSwitcher
reloading plugin Extract Text to File.extract_to_file
reloading plugin File History.file_history
reloading plugin File Rename.file_rename
reloading plugin FileDiffs.file_diffs
reloading plugin FindKeyConflicts.find_key_conflicts
reloading plugin FuzzyFileNav.fuzzy_file_nav
reloading plugin FuzzyFileNav.multiconf
reloading plugin FuzzyFileNav.notify
reloading plugin Glue.__init__
reloading plugin Glue.Glue
reloading plugin Glue.GlueBrowser
reloading plugin Glue.GlueCmds
reloading plugin Glue.GlueIO
reloading plugin Glue.GlueSidebarOpener
reloading plugin Google Spell Check.google-spell-check
reloading plugin Highlight Build Errors.HighlightBuildErrors
reloading plugin HighlightWords.HighlightWords
reloading plugin Horizontal Scroll.scroll_width
reloading plugin Hungry Backspace.hungry_backspace
reloading plugin Increment Selection.IncrementSelection
reloading plugin Incrementor.Incrementor
reloading plugin Indent Size.IndentSizeCommand
reloading plugin Invert Selection.invertselection
reloading plugin LaTeX Word Count.WordCount
reloading plugin LESS.less_completions
reloading plugin Line Endings Unify.LineEndingsUnify
reloading plugin Markdown Preview.helper
reloading plugin Markdown Preview.markdown_settings
reloading plugin Markdown Preview.markdown_wrapper
reloading plugin Markdown Preview.MarkdownPreview
reloading plugin MaxPane.layouts_doc
reloading plugin MaxPane.max_pane
reloading plugin MoveText.move_text
reloading plugin MultiEditUtils.MultiEditUtils
reloading plugin MultiEditUtils.selection_fields
reloading plugin Non Text Files.NonTextFiles
reloading plugin Number King.king
reloading plugin Origami.origami
reloading plugin OverrideAudit.override_audit
reloading plugin OverrideAudit.settings_proxy
reloading plugin PackageResourceViewer.package_resource_viewer
reloading plugin PackageResourceViewer.package_resources
reloading plugin Path Translator.PathTranslator
reloading plugin RecentActiveFiles.RecentActiveFiles
reloading plugin ReIndent.ReIndent
reloading plugin ScopeHunter.scope_hunter
reloading plugin ScopeHunter.scope_hunter_notify
reloading plugin ScopeHunter.support
reloading plugin StickySearch.StickySearch
reloading plugin Sync View Scroll.syncscroll
reloading plugin TabsExtra.support
reloading plugin TabsExtra.tab_menu
reloading plugin TabsExtra.tab_sort_helper
reloading plugin TabsExtra.tabs_extra
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 Trimmer.Trimmer
reloading plugin UnitTesting.ut
reloading plugin Whitespace.Whitespace
reloading plugin Wrap Plus.wrap_plus
reloading plugin Active View Jump Back.active_view_jump_back
reloading plugin Advanced CSV.csvplugin
=== NumPy disabled, using TinyNumPy instead ===
To enable cell evaluation using the full NumPy, download NumPy from:
    https://pypi.python.org/pypi/numpy
and install it into Sublime Text's Packages directory.
For information on the features and limitations of TinyNumPy, visit:
    https://github.com/wadetb/tinynumpy
======================
reloading plugin amxmodx.AMXXEditor
reloading plugin ANSIescape.ansi
reloading plugin AutoFileName.autofilename
reloading plugin AutoFileName.getimageinfo
reloading plugin BetterFindBuffer.find_results
reloading plugin BufferScroll.BufferScroll
reloading plugin Clear Cursors Carets.clear_cursors_carets
reloading plugin Clipboard Scope Copy.clipboard_scope_copy
reloading plugin ConvertToUTF8.ConvertToUTF8
reloading plugin Default Syntax.default_syntax
reloading plugin DocBlockr.test_runner
reloading plugin Fix Project Switch Restart Bug.fix_project_switch_restart_bug
reloading plugin Fix Selection After Indent.fix_selection_after_indent
reloading plugin Fixed Selections Clear.fixed_clear_selections
reloading plugin Force Rewrite Sublime Settings.force_rewrite_sublime_settings
reloading plugin FuzzyFilePath.command_goto_file
reloading plugin FuzzyFilePath.command_insert_path
reloading plugin FuzzyFilePath.command_rebuild_cache
reloading plugin FuzzyFilePath.command_replace_region
reloading plugin FuzzyFilePath.command_show_context
reloading plugin FuzzyFilePath.command_show_current_settings
reloading plugin FuzzyFilePath.command_show_info
reloading plugin FuzzyFilePath.completion
reloading plugin FuzzyFilePath.controller
reloading plugin FuzzyFilePath.current_state
reloading plugin FuzzyFilePath.expression
reloading plugin FuzzyFilePath.ProjectListener
reloading plugin FuzzyFilePath.query
reloading plugin FuzzyFilePath.QueryCompletionListener
reloading plugin FuzzyFilePath.TestRunner
reloading plugin FuzzyFilePath.ViewListener
reloading plugin GotoLastEditEnhanced.commands
reloading plugin Indent and braces.indent-and-braces
reloading plugin Jedi - Python autocompletion.__init__
reloading plugin LaTeXTools.01_reload_submodules
reloading plugin LaTeXTools.02_temp_file_cleanup
reloading plugin LaTeXTools.03_reset_phantoms
reloading plugin LaTeXTools.auto_label
reloading plugin LaTeXTools.biblatex_crossref_completions
reloading plugin LaTeXTools.biblatex_field_name_completions
reloading plugin LaTeXTools.biblatex_name_completions
reloading plugin LaTeXTools.biblatex_snippet_completions
reloading plugin LaTeXTools.biblatex_syntax_listener
reloading plugin LaTeXTools.change_environment
reloading plugin LaTeXTools.create_mousemap
reloading plugin LaTeXTools.delete_temp_files
reloading plugin LaTeXTools.detect_spellcheck
reloading plugin LaTeXTools.getTeXRoot
reloading plugin LaTeXTools.jumpto_anywhere
reloading plugin LaTeXTools.jumpto_tex_file
reloading plugin LaTeXTools.jumpToPDF
reloading plugin LaTeXTools.kpsewhich
reloading plugin LaTeXTools.latex_cite_completions
reloading plugin LaTeXTools.latex_cwl_completions
reloading plugin LaTeXTools.latex_directive_completions
reloading plugin LaTeXTools.latex_env_completions
reloading plugin LaTeXTools.latex_fill_all
reloading plugin LaTeXTools.latex_glossary_completions
reloading plugin LaTeXTools.latex_input_completions
reloading plugin LaTeXTools.latex_installed_packages
reloading plugin LaTeXTools.latex_own_command_completions
reloading plugin LaTeXTools.latex_ref_completions
reloading plugin LaTeXTools.latexCommand
reloading plugin LaTeXTools.latexDocumentationViewer
reloading plugin LaTeXTools.latexEnvCloser
reloading plugin LaTeXTools.latexEnvironment
reloading plugin LaTeXTools.latextools_cache_listener
reloading plugin LaTeXTools.latextools_default_settings
reloading plugin LaTeXTools.latextools_plugin
reloading plugin LaTeXTools.latextools_sublime_version_listener
reloading plugin LaTeXTools.makePDF
reloading plugin LaTeXTools.migrate
reloading plugin LaTeXTools.open_detexify
reloading plugin LaTeXTools.parseTeXlog
reloading plugin LaTeXTools.reveal_folders
reloading plugin LaTeXTools.search_commands
reloading plugin LaTeXTools.smart_paste
reloading plugin LaTeXTools.system_check
reloading plugin LaTeXTools.texcount
reloading plugin LaTeXTools.texMacro
reloading plugin LaTeXTools.texSections
reloading plugin LaTeXTools.texSyntaxListener
reloading plugin LaTeXTools.toc_quickpanel
reloading plugin LaTeXTools.toggle_settings
reloading plugin Markdown to BB Code Converter.MarkdownToBBCode
reloading plugin Open Auto Completion.open_auto_completion
reloading plugin Override Unpacked Packages.override_unpacked_packages
reloading plugin Overwrite Commit Completion.overwrite_commit_completion
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin package_setting_context.__init__
reloading plugin PackageDev.build_sys_dev
reloading plugin PackageDev.commands_file_dev
reloading plugin PackageDev.completions_dev
reloading plugin PackageDev.file_conversion
reloading plugin PackageDev.settings_dev
reloading plugin PackageDev.snippet_dev
reloading plugin PackageDev.syntax-test_dev
reloading plugin PackageDev.syntax_dev
reloading plugin PackageDev.syntax_dev_legacy
reloading plugin PackageDev.xml_hidden_extensions_hotfix
reloading plugin PowerCursors.power_cursors
reloading plugin Preferences Editor.Preferences Editor
reloading plugin Pretty JSON.PrettyJson
reloading plugin Pretty JSON.PrettyJsonListeners
reloading plugin Random Everything.__init__
reloading plugin Random Everything.random
reloading plugin Side-by-Side Settings.sxs_settings
reloading plugin SideBarEnhancements.SideBar
reloading plugin SideBarEnhancements.SideBarAPI
reloading plugin SideBarEnhancements.SideBarDefaultDisable
reloading plugin Sublime Text Studio.sublime_text_studio
reloading plugin Sublime Text Studio.synced_side_bar_watcher
reloading plugin SublimeREPL.__init__
reloading plugin SublimeREPL.completions
reloading plugin SublimeREPL.lang_integration
reloading plugin SublimeREPL.run_existing_command
reloading plugin SublimeREPL.sublimerepl
reloading plugin SublimeREPL.sublimerepl_build_system_hack
reloading plugin SublimeREPL.text_transfer
reloading plugin Terminal.Terminal
reloading plugin TypeScript.main
2017-07-27 12:13:51,433: 50300: WARNING: TypeScript plugin initialized.
reloading plugin View Settings Freely.view_settings_freely
reloading plugin Wrap Plus.wrap_lines_enhancement
plugins loaded
lang_service_enabled: True
Path of tsserver.js: D:\SublimeText\Data\Packages\TypeScript\tsserver\tsserver.js
Path of tsc.js: D:\SublimeText\Data\Packages\TypeScript\tsserver\tsc.js
Trying to spawn node executable from: node
ref view not found
Loaded LaTeXTools plugins ['pdf_builder'] from path D:\SublimeText\Data\Packages\LaTeXTools\builders\pdfBuilder.py
Loaded LaTeXTools plugins ['script_builder', 'traditional_builder', 'basic_builder', 'simple_builder'] from path D:\SublimeText\Data\Packages\LaTeXTools\builders
Loaded LaTeXTools plugins ['traditional_bibliography', 'new_bibliography'] from path D:\SublimeText\Data\Packages\LaTeXTools\bibliography_plugins
syncScroll starting
OverrideAudit: Sublime version has changed; generating automatic report
Loading LaTeXTools plugins...
Emmet: No need to update PyV8
Loaded LaTeXTools plugins ['base_viewer'] from path D:\SublimeText\Data\Packages\LaTeXTools\viewers\base_viewer.py
Loaded LaTeXTools plugins ['zathura_viewer', 'sumatra_viewer', 'preview_viewer', 'okular_viewer', 'evince_viewer', 'command_viewer', 'skim_viewer'] from path D:\SublimeText\Data\Packages\LaTeXTools\viewers
Loaded LaTeXTools plugins [] from path D:\SublimeText\Data\Packages\LaTeXTools\builders\pdfBuilder.py
Loaded LaTeXTools plugins [] from path D:\SublimeText\Data\Packages\LaTeXTools\builders
Loaded LaTeXTools plugins [] from path D:\SublimeText\Data\Packages\LaTeXTools\bibliography_plugins
OverrideAudit: No packages with expired overrides found
Package Control: No updated packages
0 Likes

#9

There seems to be only one package being ignored Vintage. So I guess that is not the issue?

What I mean by the packages (screenshot attached):

0 Likes

#10

Ah okay so I recreated the Library/Application\ Support/Sublime/User directory as well as the Preferences.sublime-settings, and the ignored packaged populated themselves.

Console output here:

[details=Summary]startup, version: 3126 osx x64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
working dir: /
packages path: /Users/User/Library/Application Support/Sublime Text 3/Packages
state path: /Users/User/Library/Application Support/Sublime Text 3/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/User/Library/Application Support/Sublime Text 3/Installed Packages
ignored_packages: [“Alignment”, “AutoFileName”, “BracketHighlighter”, “BufferScroll”, “C++ Snippets”, “C++ Starting Kit”, “C++11”, “Cobalt2 Flat Theme”, “CSS3”, “Emmet”, “GitGutter”, “JavaScript & NodeJS Snippets”, “Javatar”, “Keymaps”, “Markdown Preview”, “Numix Theme”, “Sass”, “Select Quoted”, “SideBarEnhancements”, “Theme - Cobalt2”, “Vintage”]
pre session restore time: 0.27174
using gpu buffer for window
first paint time: 0.332757
using gpu buffer for window
startup time: 0.378139
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 CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.50-markupsafe
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin 0_package_control_loader.51-python-jinja2
reloading plugin 0_package_control_loader.55-mdpopups
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2017-08-23 22:16:48, next run at 2017-08-23 23:16:48 or after[/details]

0 Likes