blendfactory / dvm

Dart Version Management: A simple CLI to manage Dart SDK versions per project.
https://pub.dev/packages/dvmx
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

Auto-configure `.vscode/settings.json` #1

Open blendthink opened 8 months ago

blendthink commented 8 months ago
blendthink commented 5 months ago

https://code.visualstudio.com/docs/languages/json#_json-with-comments

In addition to the default JSON mode following the JSON specification, VS Code also has a JSON with Comments (jsonc) mode. This mode is used for the VS Code configuration files such as settings.json, tasks.json, or launch.json. When in the JSON with Comments mode, you can use single line (//) as well as block comments (/ /) as used in JavaScript. The mode also accepts trailing commas, but they are discouraged and the editor will display a warning.

The current editor mode is indicated in the editor's Status Bar. Select the mode indicator to change the mode and to configure how file extensions are associated to modes. You can also directly modify the files.associations setting to associate file names or file name patterns to jsonc.

blendthink commented 5 months ago

https://github.com/microsoft/node-jsonc-parser

blendthink commented 4 months ago

https://github.com/jpnurmi/jsonc.dart