Configuration Format #1
Replies: 6 comments 9 replies
-
JSON5 + JSON Schema
Example Config{
keybinds: {
// Open up a UI that lets the user quickly go through their open windows.
enumerateWindows: "Super+Tab",
}
} |
Beta Was this translation helpful? Give feedback.
-
use properties files (they're smaller and also resemble unix more ig) |
Beta Was this translation helpful? Give feedback.
-
A Brainf**k executable that outputs the data. Seriously tho, I am in support for good old simple .conf and avoid anything to do with any languages like .properties (often associated with java) .json (javascript) etc... |
Beta Was this translation helpful? Give feedback.
-
imo I think json or alike are good for config files but they contain massive overhead like the {...} formatting, so me personally, id go with either .yaml format: category:
subcategory:
- key: value or the .ini format: [category]
key: value |
Beta Was this translation helpful? Give feedback.
-
Might be too much out of there, but what about toml? |
Beta Was this translation helpful? Give feedback.
-
Maybe in INI? https://en.wikipedia.org/wiki/INI_file |
Beta Was this translation helpful? Give feedback.
-
So, currently I'm writing some of the configuration system for the compositor and I want your opinions (🧅s) on file formats.
Some criteria:
Anyway, have at it. I'll suggest some ideas to get the ball rolling.
Beta Was this translation helpful? Give feedback.
All reactions