From 1fea2a7d35cf2e775bb2750b8bd389011aae80d1 Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Sat, 24 May 2025 09:09:32 +0200 Subject: [PATCH 1/2] Added type resource facets --- packages/common/src/scopeSupportFacets/css.ts | 2 ++ packages/common/src/scopeSupportFacets/html.ts | 2 ++ packages/common/src/scopeSupportFacets/json.ts | 2 ++ packages/common/src/scopeSupportFacets/markdown.ts | 2 ++ packages/common/src/scopeSupportFacets/scm.ts | 2 ++ packages/common/src/scopeSupportFacets/yaml.ts | 2 ++ 6 files changed, 12 insertions(+) diff --git a/packages/common/src/scopeSupportFacets/css.ts b/packages/common/src/scopeSupportFacets/css.ts index fd7d2c7452..314bcad1a4 100644 --- a/packages/common/src/scopeSupportFacets/css.ts +++ b/packages/common/src/scopeSupportFacets/css.ts @@ -159,6 +159,8 @@ export const cssScopeSupport: LanguageScopeSupportFacetMap = { "type.foreach": notApplicable, "type.interface": notApplicable, "type.return": notApplicable, + "type.resource": notApplicable, + "type.resource.iteration": notApplicable, "type.typeArgument.iteration": notApplicable, "type.typeArgument": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/html.ts b/packages/common/src/scopeSupportFacets/html.ts index c87104ff68..0f85f54c6e 100644 --- a/packages/common/src/scopeSupportFacets/html.ts +++ b/packages/common/src/scopeSupportFacets/html.ts @@ -130,6 +130,8 @@ export const htmlScopeSupport: LanguageScopeSupportFacetMap = { "type.foreach": notApplicable, "type.interface": notApplicable, "type.return": notApplicable, + "type.resource": notApplicable, + "type.resource.iteration": notApplicable, "type.typeArgument.iteration": notApplicable, "type.typeArgument": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/json.ts b/packages/common/src/scopeSupportFacets/json.ts index ac62464842..2c31b65265 100644 --- a/packages/common/src/scopeSupportFacets/json.ts +++ b/packages/common/src/scopeSupportFacets/json.ts @@ -155,6 +155,8 @@ export const jsonScopeSupport: LanguageScopeSupportFacetMap = { "type.foreach": notApplicable, "type.interface": notApplicable, "type.return": notApplicable, + "type.resource": notApplicable, + "type.resource.iteration": notApplicable, "type.typeArgument": notApplicable, "type.typeArgument.iteration": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/markdown.ts b/packages/common/src/scopeSupportFacets/markdown.ts index e4a0ce1873..9ef6a7a4da 100644 --- a/packages/common/src/scopeSupportFacets/markdown.ts +++ b/packages/common/src/scopeSupportFacets/markdown.ts @@ -152,6 +152,8 @@ export const markdownScopeSupport: LanguageScopeSupportFacetMap = { "type.foreach": notApplicable, "type.interface": notApplicable, "type.return": notApplicable, + "type.resource": notApplicable, + "type.resource.iteration": notApplicable, "type.typeArgument": notApplicable, "type.typeArgument.iteration": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/scm.ts b/packages/common/src/scopeSupportFacets/scm.ts index 782986963f..dba152020d 100644 --- a/packages/common/src/scopeSupportFacets/scm.ts +++ b/packages/common/src/scopeSupportFacets/scm.ts @@ -150,6 +150,8 @@ export const scmScopeSupport: LanguageScopeSupportFacetMap = { "type.foreach": notApplicable, "type.interface": notApplicable, "type.return": notApplicable, + "type.resource": notApplicable, + "type.resource.iteration": notApplicable, "type.typeArgument": notApplicable, "type.typeArgument.iteration": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/yaml.ts b/packages/common/src/scopeSupportFacets/yaml.ts index 737fc5b416..818f3389f9 100644 --- a/packages/common/src/scopeSupportFacets/yaml.ts +++ b/packages/common/src/scopeSupportFacets/yaml.ts @@ -158,6 +158,8 @@ export const yamlScopeSupport: LanguageScopeSupportFacetMap = { "type.foreach": notApplicable, "type.interface": notApplicable, "type.return": notApplicable, + "type.resource": notApplicable, + "type.resource.iteration": notApplicable, "type.typeArgument": notApplicable, "type.typeArgument.iteration": notApplicable, "type.variable": notApplicable, From e6e30b42c67bbddf7c64d562dc5a5225ae0a61cd Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Sat, 24 May 2025 09:11:08 +0200 Subject: [PATCH 2/2] Reorder --- packages/common/src/scopeSupportFacets/css.ts | 2 +- packages/common/src/scopeSupportFacets/html.ts | 2 +- packages/common/src/scopeSupportFacets/json.ts | 2 +- packages/common/src/scopeSupportFacets/markdown.ts | 2 +- packages/common/src/scopeSupportFacets/scm.ts | 2 +- packages/common/src/scopeSupportFacets/yaml.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/common/src/scopeSupportFacets/css.ts b/packages/common/src/scopeSupportFacets/css.ts index 314bcad1a4..fcfab62bc4 100644 --- a/packages/common/src/scopeSupportFacets/css.ts +++ b/packages/common/src/scopeSupportFacets/css.ts @@ -158,9 +158,9 @@ export const cssScopeSupport: LanguageScopeSupportFacetMap = { "type.field": notApplicable, "type.foreach": notApplicable, "type.interface": notApplicable, - "type.return": notApplicable, "type.resource": notApplicable, "type.resource.iteration": notApplicable, + "type.return": notApplicable, "type.typeArgument.iteration": notApplicable, "type.typeArgument": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/html.ts b/packages/common/src/scopeSupportFacets/html.ts index 0f85f54c6e..e2f403e84c 100644 --- a/packages/common/src/scopeSupportFacets/html.ts +++ b/packages/common/src/scopeSupportFacets/html.ts @@ -129,9 +129,9 @@ export const htmlScopeSupport: LanguageScopeSupportFacetMap = { "type.field": notApplicable, "type.foreach": notApplicable, "type.interface": notApplicable, - "type.return": notApplicable, "type.resource": notApplicable, "type.resource.iteration": notApplicable, + "type.return": notApplicable, "type.typeArgument.iteration": notApplicable, "type.typeArgument": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/json.ts b/packages/common/src/scopeSupportFacets/json.ts index 2c31b65265..258519a628 100644 --- a/packages/common/src/scopeSupportFacets/json.ts +++ b/packages/common/src/scopeSupportFacets/json.ts @@ -154,9 +154,9 @@ export const jsonScopeSupport: LanguageScopeSupportFacetMap = { "type.field.iteration": notApplicable, "type.foreach": notApplicable, "type.interface": notApplicable, - "type.return": notApplicable, "type.resource": notApplicable, "type.resource.iteration": notApplicable, + "type.return": notApplicable, "type.typeArgument": notApplicable, "type.typeArgument.iteration": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/markdown.ts b/packages/common/src/scopeSupportFacets/markdown.ts index 9ef6a7a4da..7dc7078e73 100644 --- a/packages/common/src/scopeSupportFacets/markdown.ts +++ b/packages/common/src/scopeSupportFacets/markdown.ts @@ -151,9 +151,9 @@ export const markdownScopeSupport: LanguageScopeSupportFacetMap = { "type.field.iteration": notApplicable, "type.foreach": notApplicable, "type.interface": notApplicable, - "type.return": notApplicable, "type.resource": notApplicable, "type.resource.iteration": notApplicable, + "type.return": notApplicable, "type.typeArgument": notApplicable, "type.typeArgument.iteration": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/scm.ts b/packages/common/src/scopeSupportFacets/scm.ts index dba152020d..4c2913a82a 100644 --- a/packages/common/src/scopeSupportFacets/scm.ts +++ b/packages/common/src/scopeSupportFacets/scm.ts @@ -149,9 +149,9 @@ export const scmScopeSupport: LanguageScopeSupportFacetMap = { "type.field.iteration": notApplicable, "type.foreach": notApplicable, "type.interface": notApplicable, - "type.return": notApplicable, "type.resource": notApplicable, "type.resource.iteration": notApplicable, + "type.return": notApplicable, "type.typeArgument": notApplicable, "type.typeArgument.iteration": notApplicable, "type.variable": notApplicable, diff --git a/packages/common/src/scopeSupportFacets/yaml.ts b/packages/common/src/scopeSupportFacets/yaml.ts index 818f3389f9..3cb6011bc3 100644 --- a/packages/common/src/scopeSupportFacets/yaml.ts +++ b/packages/common/src/scopeSupportFacets/yaml.ts @@ -157,9 +157,9 @@ export const yamlScopeSupport: LanguageScopeSupportFacetMap = { "type.field.iteration": notApplicable, "type.foreach": notApplicable, "type.interface": notApplicable, - "type.return": notApplicable, "type.resource": notApplicable, "type.resource.iteration": notApplicable, + "type.return": notApplicable, "type.typeArgument": notApplicable, "type.typeArgument.iteration": notApplicable, "type.variable": notApplicable,