Skip to content
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

Language support: JSON with comment (jsonc) files #51

Closed
pakLebah opened this issue Mar 21, 2018 · 2 comments
Closed

Language support: JSON with comment (jsonc) files #51

pakLebah opened this issue Mar 21, 2018 · 2 comments
Assignees

Comments

@pakLebah
Copy link

Please, add support for JSON with comment (jsonc) files.

Thank you.

@aaron-bond
Copy link
Owner

I can't find any references to that language (other than json-c), and VSCode doesn't detect the extension .jsonc. Where can I find some samples?

@pakLebah
Copy link
Author

JSON-with-comments is practically a JSON file. The difference is VS Code will complain if a JSON file contains comments, except it's set as a JSON-with-comments file. Both use .json file extension. VS Code sets the language ID to simply json for normal JSON file and jsonc for JSON-with-comments file. Check out the language association selection below.

Language selection on VS Code:
jepretan layar 2018-03-21 pada 17 57 00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants