Giter VIP home page Giter VIP logo

Comments (4)

leoafarias avatar leoafarias commented on June 3, 2024

@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.

bkleineibst avatar bkleineibst commented on June 3, 2024

Thanks @leoafarias

from fvm.

jibbers42 avatar jibbers42 commented on June 3, 2024

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.

leoafarias avatar leoafarias commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.