File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed
data/fixtures/recorded/actions/snippets Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 66 name : insertSnippet
77 snippetDescription :
88 type : custom
9- body : " $name($parameterList) {\n\t $body\n }"
9+ body : " function $name($parameterList) {\n\t $body\n }"
1010 scopeTypes :
1111 - {type: statement}
1212 destination :
@@ -25,12 +25,12 @@ initialState:
2525finalState :
2626 documentContents : |-
2727 const foo = "bar";
28- () {
28+ function () {
2929
3030 }
3131 selections :
32- - anchor : {line: 1, character: 0 }
33- active : {line: 1, character: 0 }
32+ - anchor : {line: 1, character: 9 }
33+ active : {line: 1, character: 9 }
3434 thatMark :
3535 - type : UntypedTarget
3636 contentRange :
Original file line number Diff line number Diff line change 88 type : custom
99 body : " $name($parameterList) {\n\t $body\n }"
1010 scopeTypes :
11+ - {type: namedFunction}
1112 - {type: statement}
1213 destination :
1314 type : primitive
@@ -34,17 +35,18 @@ finalState:
3435 bbb() {
3536
3637 }
38+
3739 () {
3840
3941 }
4042 }
4143 selections :
42- - anchor : {line: 4 , character: 4}
43- active : {line: 4 , character: 4}
44+ - anchor : {line: 5 , character: 4}
45+ active : {line: 5 , character: 4}
4446 thatMark :
4547 - type : UntypedTarget
4648 contentRange :
47- start : {line: 4 , character: 4}
48- end : {line: 6 , character: 5}
49+ start : {line: 5 , character: 4}
50+ end : {line: 7 , character: 5}
4951 isReversed : false
5052 hasExplicitRange : true
Original file line number Diff line number Diff line change 66 name : insertSnippet
77 snippetDescription :
88 type : custom
9- body : " function $name($parameterList) {\n\t $body\n }"
9+ body : " $name($parameterList) {\n\t $body\n }"
1010 scopeTypes :
1111 - {type: namedFunction}
1212 - {type: statement}
@@ -32,7 +32,7 @@ initialState:
3232finalState :
3333 documentContents : |-
3434 class Aaa {
35- function () {
35+ () {
3636
3737 }
3838
@@ -41,8 +41,8 @@ finalState:
4141 }
4242 }
4343 selections :
44- - anchor : {line: 1, character: 13 }
45- active : {line: 1, character: 13 }
44+ - anchor : {line: 1, character: 4 }
45+ active : {line: 1, character: 4 }
4646 thatMark :
4747 - type : UntypedTarget
4848 contentRange :
You can’t perform that action at this time.
0 commit comments