File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
cursorless-engine/src/languages
cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/java Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ const nodeMatchers: Partial<
93
93
type : trailingMatcher ( [
94
94
"generic_type.type_arguments.type_identifier" ,
95
95
"generic_type.type_identifier" ,
96
+ "generic_type.scoped_type_identifier.type_identifier" ,
96
97
"type_identifier" ,
97
98
"local_variable_declaration[type]" ,
98
99
"array_creation_expression[type]" ,
Original file line number Diff line number Diff line change
1
+ languageId : java
2
+ command :
3
+ version : 6
4
+ spokenForm : change type
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: type}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |
15
+ import java.util.Map;
16
+
17
+ public class MyClass {
18
+ public void myFunk() {
19
+ Map.Entry<String, String> e = null;
20
+ }
21
+ }
22
+ selections :
23
+ - anchor : {line: 4, character: 4}
24
+ active : {line: 4, character: 4}
25
+ marks : {}
26
+ finalState :
27
+ documentContents : |
28
+ import java.util.Map;
29
+
30
+ public class MyClass {
31
+ public void myFunk() {
32
+ e = null;
33
+ }
34
+ }
35
+ selections :
36
+ - anchor : {line: 4, character: 4}
37
+ active : {line: 4, character: 4}
You can’t perform that action at this time.
0 commit comments