Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

...no idea where to start! #9

Open
savissimo opened this issue Mar 31, 2020 · 4 comments
Open

...no idea where to start! #9

savissimo opened this issue Mar 31, 2020 · 4 comments

Comments

@savissimo
Copy link

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
Copy link
Member

dqsully commented Mar 31, 2020

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

@savissimo
Copy link
Author

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
Copy link

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
Copy link

Jeeppler commented Aug 5, 2024

A useful feature would be formatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants