Open
Description
What problem are you trying to solve?
devbox.json
supports comments, which is quite helpful. By default though, IDEs and GitHub diffs don't expect .json
files to have comments, and highlight them as errors.
What solution would you like?
If devbox supported searching for devbox.jsonc
files as well as .json
, I could just name them accurately and most syntax highlighters would just work.
Alternatives you've considered
In VSCode, I've added this to my settings.json
, which at least helps in the IDE:
"files.associations": {
"devbox.json": "jsonc"
}
However, even with devbox.json linguist-language=JSON-with-Comments
in .gitattributes
, I can't get GitHub diffs to not highlight comments in red in diffs of the devbox.json
, which makes PR review annoying.