BeamNG / vscode-jbeam-editor

visual studio code extension to edit jbeam files
https://beamng.gmbh
MIT License
21 stars 3 forks source link

cursed json syntax shouldnt be considered normal, maybe highlight in yellow with an option to turn it off #8

Closed Please-Pick-a-Name closed 2 months ago

Please-Pick-a-Name commented 2 months ago

yes im aware the game could handle some cursed syntax, missing comma is the most common but cursed syntax is not normal syntax, they should be avoided

cursed syntax can be confusing, they dont follow/violate rules that sane jbeam/json follows, and it cause un-needed confusion on what is "fine" and what isnt cursed syntax works, but you should probably make them sane, or you are not nice if they are intentional

just highlight cursed syntax, there can be options to leave cursed syntax not highlighted, but i believe ppl need to be aware that some of the syntax they left in are cursed and might not work some day or some situation

tdev commented 2 months ago

Thanks for your feedback, but the jbeam file format is not json for that reason. You can write things in json, but you are not required to.

This is intended and by design as is.