Skip to content

Commit 34a1f3f

Browse files
committed
Add test
1 parent 83a8294 commit 34a1f3f

File tree

1 file changed

+31
-0
lines changed
  • src/test/suite/fixtures/recorded/actions

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
languageId: typescript
2+
command:
3+
version: 1
4+
spokenForm: snip if
5+
action: insertSnippet
6+
targets:
7+
- {type: primitive, isImplicit: true}
8+
extraArgs: [ifStatement]
9+
initialState:
10+
documentContents: |-
11+
function whatever() {
12+
13+
}
14+
selections:
15+
- anchor: {line: 1, character: 4}
16+
active: {line: 1, character: 4}
17+
marks: {}
18+
finalState:
19+
documentContents: |-
20+
function whatever() {
21+
if () {
22+
23+
}
24+
}
25+
selections:
26+
- anchor: {line: 1, character: 8}
27+
active: {line: 1, character: 8}
28+
thatMark:
29+
- anchor: {line: 1, character: 4}
30+
active: {line: 3, character: 5}
31+
fullTargets: [{type: primitive, mark: {type: cursor}, selectionType: token, position: contents, insideOutsideType: inside, modifier: {type: identity}, isImplicit: true}]

0 commit comments

Comments
 (0)