Skip to content

Commit 964a55c

Browse files
authored
Finish adding scope support facet skeletons (#2370)
## Checklist - [x] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [-] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [-] I have not broken the cheatsheet
1 parent 0336f30 commit 964a55c

30 files changed

+276
-196
lines changed

data/fixtures/recorded/languages/css/changeComment.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

data/fixtures/recorded/languages/php/changeComment.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

data/fixtures/recorded/languages/scm/clearState2.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

data/fixtures/recorded/languages/scss/changeComment.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

data/fixtures/recorded/languages/scss/changeComment2.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

data/fixtures/scopes/json/map.scope

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{"aaa": 0}
2+
---
3+
4+
[Content] =
5+
[Removal] =
6+
[Domain] = 0:0-0:10
7+
>----------<
8+
0| {"aaa": 0}
9+
10+
[Insertion delimiter] = " "

data/fixtures/scopes/jsonc/index.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"imports": ["json"]
3+
}

data/fixtures/scopes/jsonl/index.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"imports": ["json"]
3+
}

data/fixtures/scopes/jsonl/map.scope

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{"aaa": 0}
2+
{"bbb": 0}
3+
---
4+
5+
[#1 Content] =
6+
[#1 Removal] =
7+
[#1 Domain] = 0:0-0:10
8+
>----------<
9+
0| {"aaa": 0}
10+
11+
[#1 Insertion delimiter] = " "
12+
13+
14+
[#2 Content] =
15+
[#2 Removal] =
16+
[#2 Domain] = 1:0-1:10
17+
>----------<
18+
1| {"bbb": 0}
19+
20+
[#2 Insertion delimiter] = " "
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
/* Hello world! */
3+
?>
4+
---
5+
6+
[Content] =
7+
[Domain] = 1:4-1:22
8+
>------------------<
9+
1| /* Hello world! */
10+
11+
[Removal] = 1:0-1:22
12+
>----------------------<
13+
1| /* Hello world! */
14+
15+
[Leading delimiter] = 1:0-1:4
16+
>----<
17+
1| /* Hello world! */
18+
19+
[Insertion delimiter] = "\n"

0 commit comments

Comments
 (0)