-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Issue: Workspace settings.json duplicates user settings.json #133
Comments
@flikteoh thanks for opening the issue. I'll investigate this and try to fix it. |
The issue is fixed in the beta version. In your case, it will only add the missing Since version 4, the global settings |
Does this mean we can copy the config from user |
Hi @estruyf thanks for your prompt respond to the issue. I have tried out the beta version. It does stop duplicating However, Is there no way to make plugin prioritize user For use case like the I get a little confused on whether we should be configuring settings via On the side, also found some error: Thank you |
Thanks @flikteoh for testing this out. About the summary field that it keeps popping up, this is because you specified to use In order for the extension to progress, it will focus on using the For the schema, I'll try to find out why this might occur, as the file is available. |
The schema seems to be an issue in VS Code itself, there is an open issue on this. On the insiders version, this is already fixed it seems. I'll keep the issue open to follow it up. |
Thank you @estruyf I have finally figured out what are the right way to move the configs to frontmatter.json Everything seems to work as we needed now. Was is a plugin requirement to have these files scattered around Or can they all be collected under one single folder for easier management? ie: |
It wasn't a plugin requirement to scatter files around. On the The |
That's understandable. Thanks for clarifying! My issue is resolved. Do close this when you think it is ok. |
Thanks for your feedback! Appreciated to think with me on this one. I'll close it once the new version got released. |
@flikteoh thank you for becoming a sponsor! 🙏 I just added you to the readme + website as one of the sponsors. |
Describe the bug
I created a custom content types via user
settings.json
(user settings).On every launch of vscode, the plugin creates
.vscode/settings.json
(workspace settings) merging custom content type + custom description fields and lastmod field.This causes duplicated fields on every relaunches. (on every launch of vscode, same fields are added to the workspace settings)
Note the lowercased
updated
andsummary
are the custom Modified Field and Description field set in user settings.To Reproduce
Steps to reproduce the behavior:
Step 1: In
user settings.json
Step 2: Close and relaunch vscode
Step 3:
.vscode/settings.json
(workspace settings)This file will keep adding same fields on every vscode relaunch.
Expected behavior
Make workspace settings as optional / unify to one settings file?
The text was updated successfully, but these errors were encountered: