File tree Expand file tree Collapse file tree 4 files changed +79
-0
lines changed
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/typescript Expand file tree Collapse file tree 4 files changed +79
-0
lines changed Original file line number Diff line number Diff line change 1+ languageId : typescript
2+ command :
3+ version : 6
4+ spokenForm : change value
5+ action :
6+ name : clearAndSetSelection
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: value}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : |
15+ const { aaa: bbb } = ccc;
16+ selections :
17+ - anchor : {line: 0, character: 8}
18+ active : {line: 0, character: 8}
19+ marks : {}
20+ finalState :
21+ documentContents : |
22+ const { aaa: } = ccc;
23+ selections :
24+ - anchor : {line: 0, character: 13}
25+ active : {line: 0, character: 13}
Original file line number Diff line number Diff line change 1+ languageId : typescript
2+ command :
3+ version : 6
4+ spokenForm : chuck key
5+ action :
6+ name : remove
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: collectionKey}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : " const { aaa: bbb } = ccc;"
15+ selections :
16+ - anchor : {line: 0, character: 9}
17+ active : {line: 0, character: 9}
18+ marks : {}
19+ finalState :
20+ documentContents : const { bbb } = ccc;
21+ selections :
22+ - anchor : {line: 0, character: 8}
23+ active : {line: 0, character: 8}
Original file line number Diff line number Diff line change 1+ languageId : typescript
2+ command :
3+ version : 6
4+ spokenForm : chuck value
5+ action :
6+ name : remove
7+ target :
8+ type : primitive
9+ modifiers :
10+ - type : containingScope
11+ scopeType : {type: value}
12+ usePrePhraseSnapshot : true
13+ initialState :
14+ documentContents : " const { aaa: bbb } = ccc;"
15+ selections :
16+ - anchor : {line: 0, character: 9}
17+ active : {line: 0, character: 9}
18+ marks : {}
19+ finalState :
20+ documentContents : const { aaa } = ccc;
21+ selections :
22+ - anchor : {line: 0, character: 9}
23+ active : {line: 0, character: 9}
Original file line number Diff line number Diff line change 416416 "}" @collectionKey.iteration.end.startOf @value.iteration.end.startOf
417417)
418418
419+ ;; !! const { aaa: bbb } = ccc;
420+ ;; ! ^^^
421+ ;; ! --------
422+ (pair_pattern
423+ key: (_) @collectionKey @collectionKey.trailing.start.endOf @value.leading.start.endOf
424+ value: (_) @value @collectionKey.trailing.end.startOf @value.leading.end.startOf
425+ ) @_.domain
426+
419427;; !! "string"
420428;; !! `string`
421429;; ! ^^^^^^^^
You can’t perform that action at this time.
0 commit comments