Skip to content

Commit 24b5197

Browse files
Exclude parameterized from name scope (#2781)
Fixes #1209 ## 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 6b8cea8 commit 24b5197

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
export type Aaa = Bbb<Ccc>;
2+
---
3+
4+
[Content] = 0:12-0:15
5+
>---<
6+
0| export type Aaa = Bbb<Ccc>;
7+
8+
[Removal] = 0:12-0:16
9+
>----<
10+
0| export type Aaa = Bbb<Ccc>;
11+
12+
[Leading delimiter] = 0:11-0:12
13+
>-<
14+
0| export type Aaa = Bbb<Ccc>;
15+
16+
[Trailing delimiter] = 0:15-0:16
17+
>-<
18+
0| export type Aaa = Bbb<Ccc>;
19+
20+
[Domain] = 0:0-0:27
21+
>---------------------------<
22+
0| export type Aaa = Bbb<Ccc>;
23+
24+
[Insertion delimiter] = " "

queries/javascript.core.scm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
abstract_method_signature
1919
public_field_definition
2020
field_definition
21+
generic_type
2122
)
2223
)
2324

0 commit comments

Comments
 (0)