We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#96 を先に対応する
The text was updated successfully, but these errors were encountered:
通常のjsonファイルであれば jq というツールを使えば値の上書き処理は可能
jq
しかしjqはjsonc(json witch comment)ファイルに対応していないため、処理や運用方法を考える必要がある https://github.com/jqlang/jq/wiki/FAQ#processing-not-quite-valid-json
上記はnpmパッケージのjsonでも同様であった。
json
個人的には2が良いかなと思います。
元ファイルのコメントを引き継ぐようなcopyWithツールを実装する。 問題点は、個人的に実装が難しそうだと感じた。
テンプレート機能利用時にsettings.jsonのコメントを引き継がないこととすれば、処理が容易になる。 jsoncをjsonに変換し、jqを使って値の上書きを行う
settings.json
問題点は、コメントが引き継がれないこと
settings.jsonを通常のjsonファイルとして扱うようにすることで、jqを使えるようにする。
問題点は
,
そして、vscodeのフォーマッタではこの,を削除してくれない。
{ "github.copilot.editor.enableCodeActions": true, "github.copilot.editor.enableAutoCompletions": true, }
Sorry, something went wrong.
Yamasaki-pan961
Successfully merging a pull request may close this issue.
#96 を先に対応する
対応すること
The text was updated successfully, but these errors were encountered: