The current settings hierarchy is:
Packages/Default/Preferences.sublime-settings
Packages/Default/Preferences (Windows).sublime-settings
Packages/AnyOtherPackage/Preferences.sublime-settings
Packages/AnyOtherPackage/Preferences (Windows).sublime-settings
Packages/User/Preferences.sublime-settings
- Settings from the current project
Packages/Python/Python.sublime-settings
Packages/Python/Python (Windows).sublime-settings
Packages/User/Python.sublime-settings
- Session data for the current file
- Auto-adjusted settings
according to the documentation. So here are my questions:
- Why should syntax-specific settings override project specific ones? For example, I like to indent with tab in C++ files, but I would comply with the project convention if it is required to indent with four spaces. I thought it makes more sense for project-specific settings to override any user settings, including syntax-specific ones since they come with the specific user.
- Is there any workaround, for example, to have a “project-and-syntax-specific” setting that overrides the syntax settings (making it between
Packages/User/Python.sublime-settings
and “Session data for the current file” in the hierarchy)?