关闭错误提示“Comments are not permitted in JSON”?
Follow these steps:
- Click on the letters JSON in the bottom right corner. (A drop-down will appear to “Select the Language Mode.”)
- Select “Configure File Association for ‘.json’…”
- Type jsonc and press Enter.
If you only want to disable the error message for a single file, skip step #2.
——引用自In VS Code, disable error “Comments are not permitted in JSON” - Stack Overflow
链接
下面总结了本文中使用的所有链接: