Skip to content

Commit 75605c0

Browse files
Merge branch 'main' into main
2 parents 85a3c3f + 4e83c80 commit 75605c0

File tree

661 files changed

+9144
-7806
lines changed

Some content is hidden

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

661 files changed

+9144
-7806
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.18.0
1+
v24.4.0

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
".busted": "lua"
2929
},
3030
"files.eol": "\n",
31+
"github.copilot.chat.codeGeneration.instructions": [
32+
{
33+
"file": "./packages/cursorless-org-docs/src/docs/contributing/scope-test-format.md"
34+
}
35+
],
3136
"typescript.enablePromptUseWorkspaceTsdk": true,
3237
"typescript.tsdk": "node_modules/typescript/lib",
3338
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts

changelog/2023-09-addedDestinationAndScopeTypeToInsertSnippetAction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ tags: [enhancement, talon]
33
pullRequest: 1879
44
---
55

6-
- Added `destination: CursorlessDestination` and `scope_type: Optional[Union[str, list[str]]]` arguments to the public Talon api action `user.cursorless_insert_snippet`. See the [talon-side api docs](https://www.cursorless.org/docs/user/customization/#public-talon-actions) for more.
6+
- Added `destination: CursorlessDestination` and `scope_type: Optional[Union[str, list[str]]]` arguments to the public Talon api action `user.cursorless_insert_snippet`. See the [talon-side api docs](https://www.cursorless.org/docs/user/customization#public-talon-actions) for more.

changelog/2023-09-addedInsertPythonAction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ pullRequest: 1875
44
mergeDate: 2023-09-10
55
---
66

7-
- Added `cursorless_insert` action to the public Talon api. This api enables you to define custom grammars for Cursorless text insertion. See the [talon-side api docs](https://www.cursorless.org/docs/user/customization/#public-talon-actions) for more
7+
- Added `cursorless_insert` action to the public Talon api. This api enables you to define custom grammars for Cursorless text insertion. See the [talon-side api docs](https://www.cursorless.org/docs/user/customization#public-talon-actions) for more
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
tags: [documentation]
3+
pullRequest: 3016
4+
---
5+
6+
- Visualize scope tests in docs. Visualizes scope fixtures on [cursorless.org/docs/user/languages](https://www.cursorless.org/docs/user/languages).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Cursorless is now monorepo 🙌. This document now lives at https://www.cursorless.org/docs/user/customization/.
1+
Cursorless is now monorepo 🙌. This document now lives at https://www.cursorless.org/docs/user/customization.

cursorless-talon/src/marks/lines_number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class CustomizableTerm:
1919

2020

2121
# NOTE: Please do not change these dicts. Use the CSVs for customization.
22-
# See https://www.cursorless.org/docs/user/customization/
22+
# See https://www.cursorless.org/docs/user/customization
2323
directions = [
2424
CustomizableTerm("lineNumberModulo100", "modulo100", lambda number: number - 1),
2525
CustomizableTerm("lineNumberRelativeUp", "relative", lambda number: -number),

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/customRegex/clearWhite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ command:
1212
usePrePhraseSnapshot: true
1313
spokenFormError: >-
1414
custom regex with id \p{Zs}+; please see
15-
https://www.cursorless.org/docs/user/customization/ for more information
15+
https://www.cursorless.org/docs/user/customization for more information
1616
initialState:
1717
documentContents: "\" \""
1818
selections:

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() {

0 commit comments

Comments
 (0)