Language formatting for YAML, JSON etc

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 4 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
jeremyg
Posts: 23
Last visit: Mon Mar 18, 2024 6:07 am

Language formatting for YAML, JSON etc

Post by jeremyg »

Seems like PrimalScript doesn't support these kinds of configuration files for formatting. (oddly enough, PrimalPad "kind of" does display them will with collapsible regions, etc) Is there any plan to do so?

If you don't know, YAML is a terrible file format which some cloud tools utilize. There's almost no syntax characters, and whitespace matters.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Language formatting for YAML, JSON etc

Post by Alexander Riedel »

Yeah, I can see the lack of structure :D
I will look into it. What particularly are you looking for? Simply coloring or ... ?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
jeremyg
Posts: 23
Last visit: Mon Mar 18, 2024 6:07 am

Re: Language formatting for YAML, JSON etc

Post by jeremyg »

Yea mostly coloring. It sucks because the indents in YAML is "two spaces", so if normal indent is something different that's probably a feature of the editor as a whole not the language definition.

I'm actually surprised there's no JSON Language in PrimalScript, that's an extremely common format, and it was added in primalpad.
This topic is 4 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.