Replies: 2 comments 5 replies
-
Microsoft uses JSON schema a lot, that works great imho! |
Beta Was this translation helpful? Give feedback.
-
Microsoft has published documentation on using XML Schema Definitions with intellisense. This is confirmed to work in Visual Studio and Visual Studio Code. Rider has a similar document regarding using XML Schemas in that IDE, for those who prefer that. If we're looking for something along these lines, XML may be the way to go. Most properties here will either be open-ended where the consumer defines their own custom keys and values, or in the case of built-ins, they'll either be booleans, integers, or an enum value. Specifying this in the schema will allow us to get similar intellisense behavior to C# XML documentation. |
Beta Was this translation helpful? Give feedback.
-
One observation with using YAML and JSON for settings is that you miss out on the tooling/code completion experience. I was wondering if it would be possible to have a settings file (maybe .chtml, .csx or .cs) that tooling would recognise and thus be able to give you code completion and syntax highlighting?
I know you can do settings in Program.cs but thinking also for the equivalent of _directory.yml
Beta Was this translation helpful? Give feedback.
All reactions