-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration edit issues #667
Comments
That's correct and expected. All MarkdownEditing related settings are to be added to Packages/User/Preferences.sublime-settings. That's why all of them are prefixed with This is described in the very first sentence/paragraph of the linked page. |
My bad for reading the page upwards 😅 |
One of the reasons I got "confused" with this new kind of settings-handling, was that e.g. ... of course, it being in |
The menu item is only visible if a markdown file is open. The command is inherited from base MdeTextCommand, which hides all commands from Command Palette if a view doesn't show a markdown file.
No it doesn't, because this is already a syntax specific settings file, which would cause the user settings not to be applied to MultiMarkdown for instance. It would also prevent project specific settings as those are of lower priority than syntax specific ones. |
I think the pre-edited response was more fitting (i.e. I was talking about the result of the command, not the command being conditionally hidden) (but the command being hidden in non-Markdown files was kiiinda confusing too 😅. At least it's done smartly e.g. |
You talked about "not finding the command in main menu". As the command actually exists in main menu the pre-edited response "Can be added" doesn't fit, technically. It just needs to be made visible unconditionally. |
Maybe I should revise what I've said :-D
|
Color schemes are assigned to syntax specific settings (e.g.: Markdown.sublime-settings) as those are not designed for normal source code. The one and only use of MarkdownEditing: Select Color Scheme is to set So you'll find the setting when calling Preferences: Edit Settings - Syntax Specific while a markdown file is open. I could probalby add a |
No worries then! If it's that complicated/"random" of it working more, then it maybe isn't worth the effort. Thank you for today's discussions 😄 |
@deathaxe I'm curious why the main settings were implemented this way, rather than in what seems to be the more standard pattern of having a standalone settings file/user settings file for each plugin (rather than being merged with the main settings). Personally I prefer this neat 'separation of concerns' rather than needing to clutter up one settings file with unrelated config (which I know isn't a good enough reason to change how it is; but just curious why it was done this way in the first place) It's also a little confusing that both styles are mixed, as the 'distraction free' settings are in a separate file, not prefixed within the main file. Edit: Guessing maybe it relates to these?
|
MarkdownEditing never used package-specific settings. It just changed from syntax-specific to global user settings. Both Preferences.sublime-settings and Distraction Free.sublime-settings are default settings files defined by Sublime Text. MarkdownEditing just re-uses those files to locate settings within as this allows all settings to be any of:
by following ST's default settings files hierarchy (see: https://www.sublimetext.com/docs/settings.html#settings-files) None of package-specific settings (e.g.: MarkdownEditing.sublime-settings) would satisfy that. |
Hrmm, fair enough. Thanks for the detailed info :) |
According to https://sublimetext-markdown.github.io/MarkdownEditing/config/#change-configuration
However, both of them open the Sublime-Text-wide settings, not the extension settings.
The text was updated successfully, but these errors were encountered: