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
Add json5 support #59
Comments
@guyaumetremblay Hi, I would love to do that. But I am not sure is there a way to keep comments on |
@guyaumetremblay As I mentioned above, stringify won't be able to keep the comments. You may want to set this extension to readonly mode by: "vue-i18n-ally.readonly": true For more details please refer to https://github.com/antfu/vue-i18n-ally#comments-in-yamljson5 |
Yes, that's sad. I just saw this issue on the JSON5 repo about keeping the comments: json5/json5#177 TLDR : the v3 of json5 will probably fix this. About your update, I'm going to test this right now! Thanks for your fast update! |
Hi again, The new version is working as expected (in readonly as mentioned). Thank you again! We'll follow the v3 of JSON5! |
I would also check out how vscode handles its setting jsons (it supports comments and preserves comments) when I got free time. 😁 |
Yep that's right! |
@guyaumetremblay Hi. I have found the parser vscode used to handle their settings.json and I opened another issue(#61) to support it. Just as a reference, It's it possible for your project to adapt to |
@antfu Sorry but I can take this decision, neither propose to move from json5 to jsonc only for a VSCode plugin. Their is 30 developers working on this project at my client side and their is only a few who use vscode :( |
Hi,
We use .json5 in our project to enable the use of comments in locales files.
Is it possible to add the support of this extension please?
Thanks in advance.
The text was updated successfully, but these errors were encountered: