Skip to content

Commit 2ec36b9

Browse files
Merge branch 'main' into scopeVisualizerDocs
2 parents 873054f + 96f6c83 commit 2ec36b9

Some content is hidden

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

60 files changed

+165
-218
lines changed

cursorless-talon/src/spoken_forms.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ def handle_new_values(csv_name: str, values: list[SpokenFormEntry]):
156156
],
157157
extra_allowed_values=[
158158
"private.fieldAccess",
159-
"private.switchStatementSubject",
160159
"textFragment",
161160
"disqualifyDelimiter",
162161
"pairDelimiter",

data/fixtures/recorded/languages/cpp/clearSubject.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: cpp
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: true
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |
1815
int main() {

data/fixtures/recorded/languages/cpp/clearSubject2.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: cpp
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: false
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |
1815
int main() {

data/fixtures/recorded/languages/java/clearSubject.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: java
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: true
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |
1815
class Aaa {

data/fixtures/recorded/languages/java/clearSubject2.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: java
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: true
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |
1815
class Aaa {

data/fixtures/recorded/languages/python/clearSubject.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: python
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: true
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |
1815
match 0:

data/fixtures/recorded/languages/rust/changeSubject.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: rust
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: true
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |
1815
match user {

data/fixtures/recorded/languages/scala/clearSubject.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: scala
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: true
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |
1815
def matchTest(x: Int): String = x match {

data/fixtures/recorded/languages/typescript/clearSubject.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: typescript
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: true
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |-
1815
switch(aaa) {

data/fixtures/recorded/languages/typescript/clearSubject2.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
languageId: typescript
22
command:
33
version: 6
4-
spokenForm: change subject
4+
spokenForm: change value
55
action:
66
name: clearAndSetSelection
77
target:
88
type: primitive
99
modifiers:
1010
- type: containingScope
11-
scopeType: {type: private.switchStatementSubject}
11+
scopeType: {type: value}
1212
usePrePhraseSnapshot: true
13-
spokenFormError: >-
14-
simple scope type type with id private.switchStatementSubject; this is a
15-
private spoken form currently only for internal experimentation
1613
initialState:
1714
documentContents: |-
1815
switch(aaa + 1) {

0 commit comments

Comments
 (0)