Git Product home page Git Product logo

Comments (5)

DaHaiz avatar DaHaiz commented on July 23, 2024 6

+1 would be awesome to see JSON5 support land in Monaco

from vscode-json-languageservice.

aeschli avatar aeschli commented on July 23, 2024 1

Out of scope for this service. Should be done in it's own node_module, referencing this service for schemas and features.

from vscode-json-languageservice.

aeschli avatar aeschli commented on July 23, 2024

+1 for more JSON5 support but not sure it should be part of this service. Ideally done in it's own service, referencing this service for schemas and features.

from vscode-json-languageservice.

acao avatar acao commented on July 23, 2024

just as a point of reference for anyone who wants to go down this path - @aeschli do you know anything about the MS aligned jsonc language ID? ala tsconfig.json higlighting/etc? At one point @orta referred to it if i recall. Is that just built into vscode? that would be a cool starting point to extract something if ones need is just to support comments in json. json5 is obviously very different as it accept the entire object literal syntax, but jsonc i think would satisfy many needs

from vscode-json-languageservice.

aeschli avatar aeschli commented on July 23, 2024

Yes, the built-in JSON language support provides two language modes: JSON and 'JSON with comments'. They are both implemented by the parser provided by the vscode-json-languageservice. Yes, this could be taken as starting point, but there also already existing JSON5 parsers out there.

from vscode-json-languageservice.

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.