File tree 3 files changed +64
-1
lines changed
data/fixtures/recorded/languages/kotlin
3 files changed +64
-1
lines changed Original file line number Diff line number Diff line change
1
+ languageId : kotlin
2
+ command :
3
+ version : 7
4
+ spokenForm : change call
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: functionCall}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |-
15
+ fun main() {
16
+ val s = "test"
17
+ val l = with (s) { length }
18
+ println(l)
19
+ }
20
+ selections :
21
+ - anchor : {line: 2, character: 14}
22
+ active : {line: 2, character: 14}
23
+ marks : {}
24
+ finalState :
25
+ documentContents : |-
26
+ fun main() {
27
+ val s = "test"
28
+ val l =
29
+ println(l)
30
+ }
31
+ selections :
32
+ - anchor : {line: 2, character: 12}
33
+ active : {line: 2, character: 12}
Original file line number Diff line number Diff line change
1
+ languageId : kotlin
2
+ command :
3
+ version : 7
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
+ fun main() {
16
+ val n = null
17
+ println(n)
18
+ }
19
+ selections :
20
+ - anchor : {line: 1, character: 8}
21
+ active : {line: 1, character: 8}
22
+ marks : {}
23
+ finalState :
24
+ documentContents : |-
25
+ fun main() {
26
+ val n =
27
+ println(n)
28
+ }
29
+ selections :
30
+ - anchor : {line: 1, character: 12}
31
+ active : {line: 1, character: 12}
Original file line number Diff line number Diff line change 509
509
(annotated_lambda) @argumentOrParameter
510
510
)
511
511
512
- ; ; Note: trailing lambda mixed with regular arguments doesn't work due to bad tree sitter parse.
513
512
(call_expression
514
513
(call_suffix) @argumentOrParameter.iteration
515
514
) @argumentOrParameter.iteration.domain
You can’t perform that action at this time.
0 commit comments