|
1 | 1 | import type { LanguageScopeSupportFacetMap } from "./scopeSupportFacets.types"; |
2 | 2 | import { ScopeSupportFacetLevel } from "./scopeSupportFacets.types"; |
3 | 3 |
|
4 | | -const { supported, notApplicable } = ScopeSupportFacetLevel; |
| 4 | +const { supported, unsupported, notApplicable } = ScopeSupportFacetLevel; |
5 | 5 |
|
6 | 6 | export const csharpScopeSupport: LanguageScopeSupportFacetMap = { |
7 | 7 | switchStatementSubject: supported, |
@@ -116,22 +116,40 @@ export const csharpScopeSupport: LanguageScopeSupportFacetMap = { |
116 | 116 |
|
117 | 117 | "string.singleLine": supported, |
118 | 118 | "string.multiLine": supported, |
| 119 | + |
119 | 120 | "textFragment.string.singleLine": supported, |
120 | 121 | "textFragment.string.multiLine": supported, |
| 122 | + "textFragment.comment.line": supported, |
| 123 | + "textFragment.comment.block": supported, |
| 124 | + |
| 125 | + // Unsupported |
| 126 | + |
| 127 | + "interior.class": unsupported, |
| 128 | + "interior.function": unsupported, |
| 129 | + "interior.if": unsupported, |
| 130 | + "interior.lambda": unsupported, |
| 131 | + "interior.loop": unsupported, |
| 132 | + "interior.switchCase": unsupported, |
| 133 | + "interior.ternary": unsupported, |
| 134 | + "interior.try": unsupported, |
121 | 135 |
|
122 | 136 | // Not applicable |
123 | 137 |
|
124 | 138 | "collectionItem.unenclosed.iteration": notApplicable, |
125 | 139 | "collectionItem.unenclosed": notApplicable, |
126 | 140 | "functionName.iteration.block": notApplicable, |
127 | 141 | "functionName.iteration.document": notApplicable, |
| 142 | + "interior.cell": notApplicable, |
| 143 | + "interior.command": notApplicable, |
128 | 144 | "interior.element": notApplicable, |
| 145 | + "interior.resource": notApplicable, |
129 | 146 | "key.attribute": notApplicable, |
130 | | - "name.argument.actual": notApplicable, |
131 | 147 | "name.argument.actual.iteration": notApplicable, |
132 | | - "name.variable.pattern": notApplicable, |
133 | | - "name.resource": notApplicable, |
| 148 | + "name.argument.actual": notApplicable, |
| 149 | + "name.assignment.pattern": notApplicable, |
134 | 150 | "name.resource.iteration": notApplicable, |
| 151 | + "name.resource": notApplicable, |
| 152 | + "name.variable.pattern": notApplicable, |
135 | 153 | "namedFunction.iteration.block": notApplicable, |
136 | 154 | "namedFunction.iteration.document": notApplicable, |
137 | 155 | "section.iteration.document": notApplicable, |
|
0 commit comments