Comments (5)
+1 would be awesome to see JSON5 support land in Monaco
from vscode-json-languageservice.
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.
+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.
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.
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)
- Assigning $ref to a path that has a pound sign throws an error HOT 1
- Request textDocument/documentSymbol failed. - Cannot read properties of undefined (reading 'range')
- Make JSONSchemaService an API
- defaultSnippets not showing following v5.3.0 HOT 2
- Intellisense recommends invalid schema uris for JSON Schema drafts HOT 2
- Unexpected token after updating to 5.3.5 HOT 1
- Validation of uuid format not working
- doHover seems to use the unresolved schema
- Package exports are problematic HOT 2
- insertFinalNewline should default to true
- anyOf error messaging is broken
- code completion breaks when anyOf defines `required` properties. HOT 2
- Regression: Problems loading reference schemaservice
- How to: $ref to external schemas in VSC
- Intellisense is missing JSON Schema versions 2019-09, 2020-12 HOT 3
- Support `title` schema property in completion items
- JSON Schema meta-schemas should not be downloaded
- Validation of uri-reference format does not seem to work well
- "time" format seems to be incorrectly excluding "00:00:00" HOT 1
- `getInfoContribution` is not composable HOT 1
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 vscode-json-languageservice.