OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.44k stars 2.4k forks source link

Integrate with VS configuration schema intellisense #16481

Open sebastienros opened 3 months ago

sebastienros commented 3 months ago

There is a new feature in VS that can compose json schema from all the referenced packages. What it would allow is to have our module packages to contain their own json schema sections, and they would appear as documented when editing the appsettings.json file.

Example: https://youtu.be/SrmSizuEv58?t=14433

hishamco commented 3 months ago

I already saw it in another video but forgot to post it. It would be nice to add such this for recipes

Piedone commented 3 months ago

Releated: https://github.com/OrchardCMS/OrchardCore/issues/1866.

MichaelPetrinolis commented 3 months ago

And then we could easily integrate those JSON schemas with Monaco editor, where used.

sebastienros commented 3 months ago

Hint: https://github.com/dotnet/aspire/blob/8afad966d1034ea6e21d99ea63e269e1795df723/src/Components/Common/Package.targets#L3

github-actions[bot] commented 3 months ago

We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).

This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.