File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
data/fixtures/recorded/actions/snippets Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 66 name : wrapWithSnippet
77 snippetDescription :
88 type : custom
9- body : " try {\n\t $1\n } catch (err) {\n\t $0\n }\n "
9+ variableName : try
10+ body : " try {\n\t $try\n } catch (err) {\n\t catch\n }"
1011 scopeTypes :
1112 - {type: statement}
1213 target :
@@ -23,18 +24,17 @@ initialState:
2324finalState :
2425 documentContents : |-
2526 try {
26-
27+ const
2728 } catch (err) {
28-
29- }
30- foo = "bar";
29+ catch
30+ } foo = "bar";
3131 selections :
32- - anchor : {line: 1 , character: 4 }
33- active : {line: 1 , character: 4 }
32+ - anchor : {line: 4 , character: 1 }
33+ active : {line: 4 , character: 1 }
3434 thatMark :
3535 - type : UntypedTarget
3636 contentRange :
3737 start : {line: 0, character: 0}
38- end : {line: 5 , character: 0 }
38+ end : {line: 4 , character: 1 }
3939 isReversed : false
4040 hasExplicitRange : true
You can’t perform that action at this time.
0 commit comments