Skip to content

Commit d38895e

Browse files
Merge branch 'main' into removeSwitchSubject
2 parents e637c7f + 26621a8 commit d38895e

File tree

397 files changed

+1168
-828
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

397 files changed

+1168
-828
lines changed

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
".busted": "lua"
2929
},
3030
"files.eol": "\n",
31+
"github.copilot.chat.codeGeneration.instructions": [
32+
{
33+
"file": "./packages/cursorless-org-docs/src/docs/contributing/scope-test-format.md"
34+
}
35+
],
3136
"typescript.enablePromptUseWorkspaceTsdk": true,
3237
"typescript.tsdk": "node_modules/typescript/lib",
3338
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts

data/fixtures/scopes/c/argument/argument.actual.iteration.scope

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
foo(aaa, bbb);
22
---
33

4-
[Range] = 0:4-0:12
4+
[Content] = 0:4-0:12
55
>--------<
66
0| foo(aaa, bbb);
77

data/fixtures/scopes/c/argument/argument.actual.method.iteration.scope

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
foo.bar(aaa, bbb);
22
---
33

4-
[Range] = 0:8-0:16
4+
[Content] = 0:8-0:16
55
>--------<
66
0| foo.bar(aaa, bbb);
77

data/fixtures/scopes/c/argument/argument.formal.iteration.scope

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
void foo(int aaa, int bbb) {}
22
---
33

4-
[Range] = 0:9-0:25
4+
[Content] = 0:9-0:25
55
>----------------<
66
0| void foo(int aaa, int bbb) {}
77

data/fixtures/scopes/c/branch/branch.if.iteration.scope

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ else if (false) {}
33
else {}
44
---
55

6-
[Range] =
6+
[Content] =
77
[Domain] = 0:0-2:7
88
>------------
99
0| if (true) {}

data/fixtures/scopes/c/branch/branch.switchCase.iteration.scope

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ switch (value) {
66
}
77
---
88

9-
[Range] = 0:16-5:0
9+
[Content] = 0:16-5:0
1010
>
1111
0| switch (value) {
1212
1| case 0:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
true ? 0 : 1;
22
---
33

4-
[Range] =
4+
[Content] =
55
[Domain] = 0:0-0:12
66
>------------<
77
0| true ? 0 : 1;

data/fixtures/scopes/c/class/class.iteration.document.scope

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ struct Foo {};
33

44
---
55

6-
[Range] =
6+
[Content] =
77
[Domain] = 0:0-2:0
88
>
99
0|

data/fixtures/scopes/c/className.iteration.document.scope

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ struct Foo {};
33

44
---
55

6-
[Range] =
6+
[Content] =
77
[Domain] = 0:0-2:0
88
>
99
0|

data/fixtures/scopes/c/collectionItem.unenclosed.iteration.scope

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
int foo, bar;
22
---
33

4-
[Range] = 0:4-0:12
4+
[Content] = 0:4-0:12
55
>--------<
66
0| int foo, bar;
77

0 commit comments

Comments
 (0)