-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5ebef6
commit 4496739
Showing
9 changed files
with
307 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 103 additions & 0 deletions
103
packages/cursorless-vscode-e2e/src/suite/fixtures/scopes/javascript/branch.if.scope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
if (true) { | ||
|
||
} | ||
else if (false) { | ||
|
||
} | ||
else { | ||
|
||
} | ||
--- | ||
|
||
[#1 Content] = | ||
[#1 Domain] = 0:0-2:1 | ||
0| if (true) { | ||
>----------- | ||
1| | ||
|
||
2| } | ||
-< | ||
3| else if (false) { | ||
|
||
4| | ||
|
||
5| } | ||
|
||
6| else { | ||
|
||
7| | ||
|
||
8| } | ||
|
||
|
||
[#1 Removal] = 0:0-3:5 | ||
0| if (true) { | ||
>----------- | ||
1| | ||
|
||
2| } | ||
- | ||
3| else if (false) { | ||
-----< | ||
4| | ||
|
||
5| } | ||
|
||
6| else { | ||
|
||
7| | ||
|
||
8| } | ||
|
||
|
||
[#1 Insertion delimiter] = "\n" | ||
|
||
|
||
[#2 Content] = | ||
[#2 Removal] = | ||
[#2 Domain] = 3:0-5:1 | ||
0| if (true) { | ||
|
||
1| | ||
|
||
2| } | ||
|
||
3| else if (false) { | ||
>----------------- | ||
4| | ||
|
||
5| } | ||
-< | ||
6| else { | ||
|
||
7| | ||
|
||
8| } | ||
|
||
|
||
[#2 Insertion delimiter] = "\n" | ||
|
||
|
||
[#3 Content] = | ||
[#3 Removal] = | ||
[#3 Domain] = 6:0-8:1 | ||
0| if (true) { | ||
|
||
1| | ||
|
||
2| } | ||
|
||
3| else if (false) { | ||
|
||
4| | ||
|
||
5| } | ||
|
||
6| else { | ||
>------ | ||
7| | ||
|
||
8| } | ||
-< | ||
|
||
[#3 Insertion delimiter] = "\n" |
31 changes: 31 additions & 0 deletions
31
packages/cursorless-vscode-e2e/src/suite/fixtures/scopes/javascript/branch.switchCase.scope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
switch (value) { | ||
case 0: { } | ||
} | ||
--- | ||
|
||
[Content] = | ||
[Domain] = 1:2-1:13 | ||
0| switch (value) { | ||
|
||
1| case 0: { } | ||
>-----------< | ||
2| } | ||
|
||
|
||
[Removal] = 1:0-1:13 | ||
0| switch (value) { | ||
|
||
1| case 0: { } | ||
>-------------< | ||
2| } | ||
|
||
|
||
[Leading delimiter] = 1:0-1:2 | ||
0| switch (value) { | ||
|
||
1| case 0: { } | ||
>--< | ||
2| } | ||
|
||
|
||
[Insertion delimiter] = "\n" |
84 changes: 84 additions & 0 deletions
84
packages/cursorless-vscode-e2e/src/suite/fixtures/scopes/javascript/branch.try.scope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
try { | ||
|
||
} | ||
catch(error) { | ||
|
||
} | ||
finally { | ||
|
||
} | ||
--- | ||
|
||
[#1 Content] = | ||
[#1 Removal] = | ||
[#1 Domain] = 0:0-2:1 | ||
0| try { | ||
>----- | ||
1| | ||
|
||
2| } | ||
-< | ||
3| catch(error) { | ||
|
||
4| | ||
|
||
5| } | ||
|
||
6| finally { | ||
|
||
7| | ||
|
||
8| } | ||
|
||
|
||
[#1 Insertion delimiter] = "\n" | ||
|
||
|
||
[#2 Content] = | ||
[#2 Removal] = | ||
[#2 Domain] = 3:0-5:1 | ||
0| try { | ||
|
||
1| | ||
|
||
2| } | ||
|
||
3| catch(error) { | ||
>-------------- | ||
4| | ||
|
||
5| } | ||
-< | ||
6| finally { | ||
|
||
7| | ||
|
||
8| } | ||
|
||
|
||
[#2 Insertion delimiter] = "\n" | ||
|
||
|
||
[#3 Content] = | ||
[#3 Removal] = | ||
[#3 Domain] = 6:0-8:1 | ||
0| try { | ||
|
||
1| | ||
|
||
2| } | ||
|
||
3| catch(error) { | ||
|
||
4| | ||
|
||
5| } | ||
|
||
6| finally { | ||
>--------- | ||
7| | ||
|
||
8| } | ||
-< | ||
|
||
[#3 Insertion delimiter] = "\n" |
File renamed without changes.
Oops, something went wrong.