Sublime Forum

Sublime doesn't read my settings properly

#1

Lately ST3 doesn’t process my settings properly. I notice this because it uses the wrong font_size. I can then open the settings in the editor, and they display normally (i.e. ST3 does know where they are, and how to read them). When I change the font size with ctrl+mouse wheel, then entire settings file is overwritten, with only the font_size entry remaining. Same when I change the color scheme from the menu: Every other setting is removed from the file. When I change the settings file manually and save it, ST3 doesn’t reload the settings.

From what I can tell, it should work. The paths in the console are correct. The only message in the console that resembles an error is Package Control: Not running package cleanup since bootstrapping is not yet complete.

I don’t really know how to approach this. I tried to remove all plugins, then have Package Control reinstall everything, which did help for a few days, but now the problems reappeared.

Possibly relevant: I’m on Windows. Build 3189. I have a setup where I synchronize my settings with Dropbox (only the Packages/User dir). And I use Sublime Merge sometimes (which seems to lock files).

0 Likes

#2

Can you paste your settings file here before you change a setting? Do you have a symlink to your Dropbox and where from?

0 Likes

#3

On the computer where I have problems, the symlink is in the Dropbox, with the User directory as the source:

 Directory of D:\dropbox\settings
09.10.2016  13:50    <SYMLINKD>     Sublime3_User_Zuhause [D:\Users_SSD\Queequeg_2\AppData\Roaming\Sublime Text 3\Packages\User]

Here’s the settings:

{
  "auto_complete": false,
  "auto_match_enabled": false,
  "caret_extra_width": 2,
  "caret_style": "solid",
  "close_windows_when_empty": true,
  "color_scheme": "Packages/User/Monokai ndh.tmTheme",
  "detect_indentation": false,
  "dictionary": "",
  "draw_shadows": false,
  "draw_white_space": "all",
  "ensure_newline_at_eof_on_save": true,
  "file_exclude_patterns":
  [
    "*.pyc",
    "*.pyo",
    "*.exe",
    "*.dll",
    "*.obj",
    "*.o",
    "*.a",
    "*.lib",
    "*.so",
    "*.dylib",
    "*.ncb",
    "*.sdf",
    "*.suo",
    "*.pdb",
    "*.idb",
    ".DS_Store",
    "*.class",
    "*.psd",
    "*.db",
    "*.sublime-workspace",
    ".tags",
    ".tags_sorted_by_file",
    "*.7z",
    "*.ilk",
    "*.avi",
    "*.svg"
  ],
  "font_size": 10,
  "gutter": true,
  "highlight_line": true,
  "ignored_packages":
  [
    "Vintage"
  ],
  "ignored_words":
  [
    "App",
    "i32",
    "printf"
  ],
  "line_numbers": false,
  "remember_full_screen": true,
  "spell_check": false,
  "spelling_selector": "markup.raw, -(source, constant, keyword, storage, support, variable, markup.underline.link, meta.tag)",
  "tab_size": 2,
  "translate_tabs_to_spaces": true,
  "trim_trailing_white_space_on_save": true,
  "update_check": false,
  "word_wrap": false
}
0 Likes

#4

Ok, I found the solution. ST3 does load the settings properly if the settings file is called “Preferences.sublime-settings”. For some reason it was called “preferences.sublime-settings”. Lower case. The case of a file name somehow matters on Windows.

Opened a case on github https://github.com/SublimeTextIssues/Core/issues/2626

0 Likes