File tree Expand file tree Collapse file tree 10 files changed +208
-0
lines changed
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages Expand file tree Collapse file tree 10 files changed +208
-0
lines changed Original file line number Diff line number Diff line change
1
+ languageId : javascript
2
+ command :
3
+ version : 6
4
+ spokenForm : change name
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: name}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : for (const aaa of bbb) {}
15
+ selections :
16
+ - anchor : {line: 0, character: 0}
17
+ active : {line: 0, character: 0}
18
+ marks : {}
19
+ finalState :
20
+ documentContents : for (const of bbb) {}
21
+ selections :
22
+ - anchor : {line: 0, character: 11}
23
+ active : {line: 0, character: 11}
Original file line number Diff line number Diff line change
1
+ languageId : javascript
2
+ command :
3
+ version : 6
4
+ spokenForm : change name
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: name}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : for (const aaa of bbb) {}
15
+ selections :
16
+ - anchor : {line: 0, character: 24}
17
+ active : {line: 0, character: 24}
18
+ marks : {}
19
+ thrownError : {name: NoContainingScopeError}
Original file line number Diff line number Diff line change
1
+ languageId : javascript
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 : for (const aaa of bbb) {}
15
+ selections :
16
+ - anchor : {line: 0, character: 0}
17
+ active : {line: 0, character: 0}
18
+ marks : {}
19
+ finalState :
20
+ documentContents : for (const aaa of ) {}
21
+ selections :
22
+ - anchor : {line: 0, character: 18}
23
+ active : {line: 0, character: 18}
Original file line number Diff line number Diff line change
1
+ languageId : javascript
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 : for (const aaa of bbb) {}
15
+ selections :
16
+ - anchor : {line: 0, character: 24}
17
+ active : {line: 0, character: 24}
18
+ marks : {}
19
+ thrownError : {name: NoContainingScopeError}
Original file line number Diff line number Diff line change
1
+ languageId : python
2
+ command :
3
+ version : 6
4
+ spokenForm : change name
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: name}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |-
15
+ for aaa in bbb:
16
+ pass
17
+ selections :
18
+ - anchor : {line: 0, character: 0}
19
+ active : {line: 0, character: 0}
20
+ marks : {}
21
+ finalState :
22
+ documentContents : |-
23
+ for in bbb:
24
+ pass
25
+ selections :
26
+ - anchor : {line: 0, character: 4}
27
+ active : {line: 0, character: 4}
Original file line number Diff line number Diff line change
1
+ languageId : python
2
+ command :
3
+ version : 6
4
+ spokenForm : change name
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: name}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |-
15
+ for aaa in bbb:
16
+ pass
17
+ selections :
18
+ - anchor : {line: 1, character: 4}
19
+ active : {line: 1, character: 4}
20
+ marks : {}
21
+ thrownError : {name: NoContainingScopeError}
Original file line number Diff line number Diff line change
1
+ languageId : python
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
+ for aaa in bbb:
16
+ pass
17
+ selections :
18
+ - anchor : {line: 0, character: 0}
19
+ active : {line: 0, character: 0}
20
+ marks : {}
21
+ finalState :
22
+ documentContents : |-
23
+ for aaa in :
24
+ pass
25
+ selections :
26
+ - anchor : {line: 0, character: 11}
27
+ active : {line: 0, character: 11}
Original file line number Diff line number Diff line change
1
+ languageId : python
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
+ for aaa in bbb:
16
+ pass
17
+ selections :
18
+ - anchor : {line: 1, character: 4}
19
+ active : {line: 1, character: 4}
20
+ marks : {}
21
+ thrownError : {name: NoContainingScopeError}
Original file line number Diff line number Diff line change 310
310
(_) @value
311
311
) @_.domain
312
312
313
+ ; ; name:
314
+ ; ;!! for (const aaa of bbb) {}
315
+ ; ;! ^^^
316
+ ; ;! ----------------------
317
+ ; ; value:
318
+ ; ;!! for (const aaa of bbb) {}
319
+ ; ;! ^^^
320
+ ; ;! ----------------------
321
+ (for_in_statement
322
+ left: (_) @name
323
+ right: (_) @value
324
+ " )" @_.domain.end.endOf
325
+ ) @_.domain.start.startOf
326
+
313
327
[
314
328
(program)
315
329
(formal_parameters)
Original file line number Diff line number Diff line change 140
140
(_) @value
141
141
) @_.domain
142
142
143
+ ; ; value:
144
+ ; ;!! for aaa in bbb:
145
+ ; ;! ^^^
146
+ ; ;! ---------------
147
+ ; ; name:
148
+ ; ;!! for aaa in bbb:
149
+ ; ;! ^^^
150
+ ; ;! ---------------
151
+ (for_statement
152
+ left: (_) @name
153
+ right: (_) @value
154
+ " :" @_.domain.end
155
+ ) @_.domain.start.startOf
156
+
143
157
(comment) @comment @textFragment
144
158
145
159
(string
You can’t perform that action at this time.
0 commit comments