You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done a small research that led the decision to pick YAML.
The criteria I was looking for is that the configuration is language is that it must has a Dart library, not difficult to write, and is self-documented. The self documented part is basically what schema is for.
As someone whose edit their configuration file everyday, I find it's often annoying to go back and forth to check a manual for some program just to change a value in the configuration file, hence why I need it to be self-documented.
Alacritty seems to be the only program I use to support schema out of the box, their schema is listed on https://www.schemastore.org/json/ which picked up by my extension. I might consider adding my schema there if there is a possibility.
Here is comparison of popular configuration languages based on my limited time of researching them:
While JSON comes for free in Dart. I find YAML is better suited since it's also compatible with JSON. Opening the possibility to use YAML/JSON based on user's preferences.
If there is any suggestion for a better language, leave a comment so I might consider it. Do keep in mind I will only keep one language at a time to be supported.
The text was updated successfully, but these errors were encountered:
I have done a small research that led the decision to pick YAML.
The criteria I was looking for is that the configuration is language is that it must has a Dart library, not difficult to write, and is self-documented. The self documented part is basically what schema is for.
As someone whose edit their configuration file everyday, I find it's often annoying to go back and forth to check a manual for some program just to change a value in the configuration file, hence why I need it to be self-documented.
Alacritty seems to be the only program I use to support schema out of the box, their schema is listed on https://www.schemastore.org/json/ which picked up by my extension. I might consider adding my schema there if there is a possibility.
Here is comparison of popular configuration languages based on my limited time of researching them:
* IntelliJ TOML plugin doesn't seems to support JSON Schema. However there are schema support for VS Code and coc.nvim.
While JSON comes for free in Dart. I find YAML is better suited since it's also compatible with JSON. Opening the possibility to use YAML/JSON based on user's preferences.
If there is any suggestion for a better language, leave a comment so I might consider it. Do keep in mind I will only keep one language at a time to be supported.
The text was updated successfully, but these errors were encountered: