Open shumov opened 3 months ago
I created this PR use iml.jsonc instead of iml.json #194
Hi @shumov. Did you try to rename file(s) to .jsonc
to check if you see highlights correctly in GitLab and in your IDE (it looks like JetBrains)? I am a bit afraid of some editors/viewers, which decide the .jsonc
as plaintext only.
After considering it, I offer the backward compatible solution. We can keep the json
as default, but we will add a new configuration option:
In settings.json
:
// Overrides the default extension of created JSONC files (default is `json`).
// Value can be `jsonc`.
"apps-sdk.localDev.defaultJsoncFileExtension": "jsonc",
Amazing product. Love it!
Why do files created in JSONC format use the .json extension? The file ends up in an invalid format, causing errors:
GitLab shows an error
All other editors show an error as well
When I manually change the file extension, everything works fine, but the syntax highlighting in VSCode stops working.