Skip to content

Commit 197bb16

Browse files
The change spoken form of word scope to sub (#2089)
Fixes #1918 ## Checklist - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [x] 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) - [x] I have not broken the cheatsheet --------- Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
1 parent 698559e commit 197bb16

File tree

74 files changed

+79
-79
lines changed

Some content is hidden

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

74 files changed

+79
-79
lines changed

cursorless-talon/src/spoken_forms.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
"environment": "environment",
155155
"command": "command",
156156
"char": "character",
157-
"word": "word",
157+
"sub": "word",
158158
"token": "token",
159159
"identifier": "identifier",
160160
"line": "line",

docs/user/README.md

Lines changed: 6 additions & 6 deletions

packages/cursorless-engine/src/spokenForms/defaultSpokenFormMapCore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const defaultSpokenFormMapCore: DefaultSpokenFormMapDefinition = {
8484
command: "command",
8585
// Text-based scope types
8686
character: "char",
87-
word: "word",
87+
word: "sub",
8888
token: "token",
8989
identifier: "identifier",
9090
line: "line",

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/containingScope/clearWord.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: plaintext
22
command:
3-
spokenForm: change word
3+
spokenForm: change sub
44
version: 3
55
targets:
66
- type: primitive

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/containingScope/clearWord2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: plaintext
22
command:
3-
spokenForm: change word
3+
spokenForm: change sub
44
version: 3
55
targets:
66
- type: primitive

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/implicitExpansion/chuckSecondWordThat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: plaintext
22
command:
3-
spokenForm: chuck second word that
3+
spokenForm: chuck second sub that
44
version: 2
55
targets:
66
- type: primitive

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/implicitExpansion/clearFirstCarSecondWordHarp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: plaintext
22
command:
3-
spokenForm: change first char second word harp
3+
spokenForm: change first char second sub harp
44
version: 2
55
targets:
66
- type: primitive

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/implicitExpansion/clearFirstWordPastTrap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: plaintext
22
command:
3-
spokenForm: change first word past trap
3+
spokenForm: change first sub past trap
44
version: 2
55
targets:
66
- type: range

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/implicitExpansion/clearFirstWordThat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: plaintext
22
command:
3-
spokenForm: change first word that
3+
spokenForm: change first sub that
44
version: 3
55
targets:
66
- type: primitive

packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/implicitExpansion/clearLeadingSecondWord.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
languageId: plaintext
22
command:
3-
spokenForm: change leading second word
3+
spokenForm: change leading second sub
44
version: 2
55
targets:
66
- type: primitive

0 commit comments

Comments
 (0)