-
-
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
1f57754
commit 7eda891
Showing
13 changed files
with
256 additions
and
40 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
47 changes: 47 additions & 0 deletions
47
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/java/changeType2.yml
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,47 @@ | ||
languageId: java | ||
command: | ||
version: 6 | ||
spokenForm: change type | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: containingScope | ||
scopeType: {type: type} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: |- | ||
public class MyClass { | ||
private MyClass () { | ||
Map<String, String> map = new HashMap<String, String>(); | ||
List<String> list = new ArrayList<String>(); | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 2, character: 12} | ||
active: {line: 2, character: 12} | ||
- anchor: {line: 3, character: 12} | ||
active: {line: 3, character: 12} | ||
- anchor: {line: 2, character: 42} | ||
active: {line: 2, character: 42} | ||
- anchor: {line: 3, character: 36} | ||
active: {line: 3, character: 36} | ||
marks: {} | ||
finalState: | ||
documentContents: |- | ||
public class MyClass { | ||
private MyClass () { | ||
map = new (); | ||
list = new (); | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 2, character: 12} | ||
active: {line: 2, character: 12} | ||
- anchor: {line: 2, character: 23} | ||
active: {line: 2, character: 23} | ||
- anchor: {line: 3, character: 12} | ||
active: {line: 3, character: 12} | ||
- anchor: {line: 3, character: 24} | ||
active: {line: 3, character: 24} |
39 changes: 39 additions & 0 deletions
39
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/java/changeType3.yml
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,39 @@ | ||
languageId: java | ||
command: | ||
version: 6 | ||
spokenForm: change type | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: containingScope | ||
scopeType: {type: type} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: |- | ||
public class MyClass { | ||
private MyClass () { | ||
Map<String, String> map = new HashMap<String, String>(); | ||
List<String> list = new ArrayList<String>(); | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 2, character: 32} | ||
active: {line: 2, character: 32} | ||
- anchor: {line: 3, character: 25} | ||
active: {line: 3, character: 25} | ||
marks: {} | ||
finalState: | ||
documentContents: |- | ||
public class MyClass { | ||
private MyClass () { | ||
map = new HashMap<String, String>(); | ||
list = new ArrayList<String>(); | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 2, character: 12} | ||
active: {line: 2, character: 12} | ||
- anchor: {line: 3, character: 12} | ||
active: {line: 3, character: 12} |
33 changes: 33 additions & 0 deletions
33
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/java/changeType4.yml
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,33 @@ | ||
languageId: java | ||
command: | ||
version: 6 | ||
spokenForm: change type | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: containingScope | ||
scopeType: {type: type} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: |- | ||
public class MyClass { | ||
private MyClass (String hello) { | ||
int[] values = new int[5]; | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 2, character: 27} | ||
active: {line: 2, character: 27} | ||
marks: {} | ||
finalState: | ||
documentContents: |- | ||
public class MyClass { | ||
private MyClass (String hello) { | ||
int[] values = new [5]; | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 2, character: 27} | ||
active: {line: 2, character: 27} |
33 changes: 33 additions & 0 deletions
33
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/java/changeType5.yml
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,33 @@ | ||
languageId: java | ||
command: | ||
version: 6 | ||
spokenForm: change type | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: containingScope | ||
scopeType: {type: type} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: |- | ||
public class MyClass { | ||
public void myFunk() { | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 2, character: 8} | ||
active: {line: 2, character: 8} | ||
marks: {} | ||
finalState: | ||
documentContents: |- | ||
public class MyClass { | ||
public myFunk() { | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 1, character: 11} | ||
active: {line: 1, character: 11} |
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
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
33 changes: 33 additions & 0 deletions
33
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/java/takeType4.yml
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,33 @@ | ||
languageId: java | ||
command: | ||
version: 6 | ||
spokenForm: take type | ||
action: | ||
name: setSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: containingScope | ||
scopeType: {type: type} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: |- | ||
public class MyClass { | ||
public void myFunk(int value) { | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 1, character: 30} | ||
active: {line: 1, character: 30} | ||
marks: {} | ||
finalState: | ||
documentContents: |- | ||
public class MyClass { | ||
public void myFunk(int value) { | ||
} | ||
} | ||
selections: | ||
- anchor: {line: 1, character: 23} | ||
active: {line: 1, character: 26} |
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