hjson / vscode-hjson

Hjson syntax for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=laktak.hjson
MIT License
22 stars 5 forks source link

...no idea where to start! #9

Open savissimo opened 4 years ago

savissimo commented 4 years ago

I'm sorry for the (semi-)comic title, but I'm really at a loss. I installed the VSCode extensions, and now if I create a .hjson file I can see the syntax highlighting working properly. Good.

However, I have no idea what other features this extension has. For example, is there an auto-compile? Do I have to configure it? Do I have to start it? Is that even possible?

Is this extension just a language definition?

dqsully commented 4 years ago

Yes, this is only a language definition. Is there something else you want the extension to do?

savissimo commented 4 years ago

I've defined a task to compile an Hjson file to a JSON file with the same name - I'm not sure if this could be included in the extension, especially because it would have to be configurable with the path of the executable. But I haven't managed to make it work only when called on a .hjson file.

However, what would be really good would be autobuild: a watcher on .hjson files that compiles them on save.

JackLilhammers commented 3 years ago

This is old, and it's very likely that the author of the post has already found a solution, but for converting between formats there is this extension: https://marketplace.visualstudio.com/items?itemName=petli-full.json-to-yaml-and-more

Jeeppler commented 2 months ago

A useful feature would be formatting.