File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed
cursorless-engine/src/languages
cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/typescript Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ const nodeMatchers: Partial<
161
161
map : mapTypes ,
162
162
list : listTypes ,
163
163
string : [ "string" , "template_string" ] ,
164
+ collectionItem : "jsx_attribute" ,
164
165
collectionKey : trailingMatcher (
165
166
[
166
167
"pair[key]" ,
Original file line number Diff line number Diff line change
1
+ languageId : javascriptreact
2
+ command :
3
+ version : 5
4
+ spokenForm : clear every item
5
+ action : {name: clearAndSetSelection}
6
+ targets :
7
+ - type : primitive
8
+ modifiers :
9
+ - type : everyScope
10
+ scopeType : {type: collectionItem}
11
+ usePrePhraseSnapshot : true
12
+ initialState :
13
+ documentContents : <Button data-testid="Action Button" data-variant="bare"></Button>
14
+ selections :
15
+ - anchor : {line: 0, character: 8}
16
+ active : {line: 0, character: 8}
17
+ marks : {}
18
+ finalState :
19
+ documentContents : <Button ></Button>
20
+ selections :
21
+ - anchor : {line: 0, character: 8}
22
+ active : {line: 0, character: 8}
23
+ - anchor : {line: 0, character: 9}
24
+ active : {line: 0, character: 9}
Original file line number Diff line number Diff line change
1
+ languageId : javascriptreact
2
+ command :
3
+ version : 5
4
+ spokenForm : clear item
5
+ action : {name: clearAndSetSelection}
6
+ targets :
7
+ - type : primitive
8
+ modifiers :
9
+ - type : containingScope
10
+ scopeType : {type: collectionItem}
11
+ usePrePhraseSnapshot : true
12
+ initialState :
13
+ documentContents : <Button data-testid="Action Button" data-variant="bare"></Button>
14
+ selections :
15
+ - anchor : {line: 0, character: 8}
16
+ active : {line: 0, character: 8}
17
+ marks : {}
18
+ finalState :
19
+ documentContents : <Button data-variant="bare"></Button>
20
+ selections :
21
+ - anchor : {line: 0, character: 8}
22
+ active : {line: 0, character: 8}
You can’t perform that action at this time.
0 commit comments