wintercms / vscode-extension

Official Winter CMS VSCode extension
https://marketplace.visualstudio.com/items?itemName=wintercms.winter-cms
MIT License
10 stars 6 forks source link

Update switch.json #19

Closed WebVPF closed 3 months ago

WebVPF commented 3 months ago

Correct structure:

"properties": {
    "properties": {

Examples from other definitions:


Also removed an unnecessary single quote from:

"title": "'On' label'",
AIC-BV commented 3 months ago

@WebVPF is this a mistake?

WebVPF commented 3 months ago

@AIC-BV I've added a description.

before:

{
},
"properties": {
        "on": {

after:

{
},
"properties": {
    "properties": {
        "on": {

After the fix, a tooltip appears for the properties in this definition

AIC-BV commented 3 months ago

Oh I see! 🫣 Nice 🥳

bennothommo commented 3 months ago

Thanks for the work you're putting into this, @WebVPF - much appreciated! :)