Comments (4)
@bkleineibst I might look into adjusting this at a later time, but for now you can disable the manage VsCode settings by adding updateVscodeSettings
to false on the .fvmrc
from fvm.
Thanks @leoafarias
from fvm.
Regarding #642 (comment):
Comments are not part of the JSON specification. Therefore, it will not be supported.
It's worth mentioning that vscode does support comments in their settings files by using jsonc under the hood
https://code.visualstudio.com/docs/languages/json#_json-with-comments:
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
from fvm.
Thanks @jibbers42 I did not find any existing dart package that supports not only reading but also writing back of json with comments, so will have to do further research on this later.
But for anyone else having this issue here is a workaround
Comments are not part of the JSON specification. Therefore, are not supported. However, if you choose to comment, I suggest doing the following:
{
"_comment": "This is the basic data",
"key": "value"
}
This would allow valid comments with json
from fvm.
Related Issues (20)
- Retain comments in .vscode/settings.json HOT 2
- Version mismatch detected: cache version is 0.0.0-unknown HOT 6
- [Feature Request] Version brew formulas HOT 1
- Dart Version management improvements
- [BUG] [WARN] Could not parse legact settings file HOT 2
- [BUG]
- [BUG] Custom Flutter Versions are not allowed anymore. HOT 3
- Flutter 3.19.1 uses dart 3.2.5 instead of 3.3.0 HOT 3
- [BUG] `fvm doctor` fails with comments in VS Code settings
- Use POSIX path in `.vscode/settings.json`
- fvm install command is not working in iOS HOT 3
- [BUG] Does not use .fvmrc of parent directory on Windows 11 HOT 17
- [BUG] False positive: "Version mismatch detected" for non-numeric flutter versions
- FVM is failing to install any version HOT 2
- Pass global level flags and options
- [Enhancement] Maintain project reference to cache versions after switch HOT 6
- Feedback for “Basic Commands” HOT 1
- [BUG] dependency overrides cause malfunction in fvm commands
- Support a custom FLUTTER_STORAGE_BASE_URL as the source for Flutter package downloads
- [BUG] Version 3.0 broke shell completion and is less readable HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fvm.