File tree Expand file tree Collapse file tree 2 files changed +38
-5
lines changed
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/typescript Expand file tree Collapse file tree 2 files changed +38
-5
lines changed Original file line number Diff line number Diff line change
1
+ languageId : typescript
2
+ command :
3
+ version : 6
4
+ spokenForm : change next value
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : relativeScope
11
+ scopeType : {type: value}
12
+ offset : 1
13
+ length : 1
14
+ direction : forward
15
+ usePrePhraseSnapshot : true
16
+ initialState :
17
+ documentContents : |-
18
+ const aaa = 0;
19
+ const bbb = 0;
20
+ selections :
21
+ - anchor : {line: 0, character: 0}
22
+ active : {line: 0, character: 0}
23
+ marks : {}
24
+ finalState :
25
+ documentContents : |-
26
+ const aaa = 0;
27
+ const bbb = ;
28
+ selections :
29
+ - anchor : {line: 1, character: 12}
30
+ active : {line: 1, character: 12}
Original file line number Diff line number Diff line change 353
353
354
354
;; Match nodes at field `value` of their parent node, setting leading delimiter
355
355
;; to be the range until the previous named node
356
- (_
357
- (_)? @value.leading.start.endOf
358
- .
359
- value: (_) @value @value.leading.end.startOf
360
- ) @_.domain
356
+ (
357
+ (_
358
+ (_)? @value.leading.start.endOf
359
+ .
360
+ value: (_) @value @value.leading.end.startOf
361
+ ) @_.domain
362
+ (#not-type? @_.domain variable_declarator)
363
+ )
361
364
362
365
;; !! const aaa = {bbb};
363
366
;; ! ^^^
You can’t perform that action at this time.
0 commit comments