Skip to content

Commit e540dd4

Browse files
Added description of a facet
1 parent 08d0fe9 commit e540dd4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

packages/cursorless-org-docs/src/docs/user/languages/components/ScopeSupport.tsx

+8-3
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,25 @@ export function ScopeSupport({ languageId }: Props): JSX.Element {
2929

3030
return (
3131
<>
32+
<h2>Scope facets</h2>
33+
<p>
34+
A scope facet is a specific subset of a scope that Cursorless can
35+
target. For example take the value scope. One facet of value is the
36+
right hand side of a variable assignment. Another facet of value is the
37+
value in a map pair.
38+
</p>
39+
c
3240
<ScopeSupportForLevel
3341
facets={supportedScopes}
3442
title="Supported facets"
3543
subtitle="These facets are supported"
3644
expanded
3745
/>
38-
3946
<ScopeSupportForLevel
4047
facets={supportedLegacyScopes}
4148
title="Supported Legacy facets"
4249
subtitle="These facets are supported with the legacy implementation and should be migrated to the new implementation"
4350
/>
44-
4551
<ScopeSupportForLevel
4652
facets={unsupportedScopes}
4753
title="Unsupported facets"
@@ -55,7 +61,6 @@ export function ScopeSupport({ languageId }: Props): JSX.Element {
5561
</>
5662
}
5763
/>
58-
5964
<ScopeSupportForLevel
6065
facets={unspecifiedScopes}
6166
title="Unspecified facets"

0 commit comments

Comments
 (0)