Auto-generate most of the schema possibilities for .sublime-settings?
rwols opened this issue · 1 comments
rwols commented
The PackageDev package generates popups with a description of the key for settings files. For example:
Because we're basically doing the same for schema files (for .sublime-settings) manually, I think it would be worthwhile to look into how to automate writing a skeleton schema file for a given .sublime-settings file.
I've skimmed through the code and I think this is the relevant part:
rchl commented
There are nice tools like https://app.quicktype.io/#l=schema to generate schema from JSON but those won't obviously handle comments and attach those as description
to properties.
A possible option is to fork that app and add needed functionality to it.
Or just generate schema using it and manually extend with comments.