Page 1 of 1

Language formatting for YAML, JSON etc

Posted: Fri Aug 02, 2019 11:53 am
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.

Re: Language formatting for YAML, JSON etc

Posted: Fri Aug 02, 2019 12:14 pm
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 ... ?

Re: Language formatting for YAML, JSON etc

Posted: Fri Aug 02, 2019 1:14 pm
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.