From 98130e3daad39316cf89c26bb27b7868ccbc5935 Mon Sep 17 00:00:00 2001 From: Andrew Harris Date: Fri, 24 Apr 2026 14:11:26 +0100 Subject: [PATCH 1/4] Add intellisense schemas to .vscode settings file --- .vscode/settings.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..31a8c95 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,24 @@ +{ + "json.schemas": [ + { + "fileMatch": ["**/dataStreams/*.json"], + "url": "https://schemas.squaredup.com/schemas/latest/datastream.schema.json" + }, + { + "fileMatch": ["**/metadata.json"], + "url": "https://schemas.squaredup.com/schemas/latest/metadata.schema.json" + }, + { + "fileMatch": ["**/configValidation.json"], + "url": "https://schemas.squaredup.com/schemas/latest/configValidation.schema.json" + }, + { + "fileMatch": ["**/defaultContent/*.json"], + "url": "https://schemas.squaredup.com/schemas/latest/defaultContent.schema.json" + }, + { + "fileMatch": ["**/ui.json"], + "url": "https://schemas.squaredup.com/schemas/latest/ui.schema.json" + } + ] +} From da1f651db478bc73ec3c79e3ebfd9ec00969d233 Mon Sep 17 00:00:00 2001 From: Andrew Harris Date: Fri, 24 Apr 2026 14:54:48 +0100 Subject: [PATCH 2/4] Ensure default content schema only matches dashboards --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 31a8c95..a106a91 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,7 +13,7 @@ "url": "https://schemas.squaredup.com/schemas/latest/configValidation.schema.json" }, { - "fileMatch": ["**/defaultContent/*.json"], + "fileMatch": ["**/defaultContent/*dash.json"], "url": "https://schemas.squaredup.com/schemas/latest/defaultContent.schema.json" }, { From 7775d050fcc3c7ddc225a3185d452a936cc16212 Mon Sep 17 00:00:00 2001 From: Andrew Harris Date: Fri, 24 Apr 2026 14:56:01 +0100 Subject: [PATCH 3/4] Add additional fiel schemas --- .vscode/settings.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index a106a91..c7517fa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,6 +16,14 @@ "fileMatch": ["**/defaultContent/*dash.json"], "url": "https://schemas.squaredup.com/schemas/latest/defaultContent.schema.json" }, + { + "fileMatch": ["**/defaultContent/**/manifest.json"], + "url": "https://schemas.squaredup.com/schemas/latest/manifest.schema.json" + }, + { + "fileMatch": ["**/defaultContent/scopes.json"], + "url": "https://schemas.squaredup.com/schemas/latest/scopes.schema.json" + }, { "fileMatch": ["**/ui.json"], "url": "https://schemas.squaredup.com/schemas/latest/ui.schema.json" From 71f5cecda4f1f09eed881552e401cad532bd6755 Mon Sep 17 00:00:00 2001 From: Andrew Harris Date: Mon, 27 Apr 2026 13:58:12 +0100 Subject: [PATCH 4/4] Add deep dashboard intellisense file matching --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index c7517fa..f702c61 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,7 +13,7 @@ "url": "https://schemas.squaredup.com/schemas/latest/configValidation.schema.json" }, { - "fileMatch": ["**/defaultContent/*dash.json"], + "fileMatch": ["**/defaultContent/**/*.dash.json"], "url": "https://schemas.squaredup.com/schemas/latest/defaultContent.schema.json" }, {