Commit Graph

148 Commits

Author SHA1 Message Date
Pokey Rule
9aee6837cf
Update README.md (#2121)
## 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)
- [-] I have not broken the cheatsheet
2023-12-12 02:41:11 +00:00
Andreas Arvidsson
b25a14ebbf
Added break line action (#2103)
`"break air"`

## Checklist

- [x] 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>
2023-12-07 16:44:43 +00:00
Andreas Arvidsson
740e3efede
Added join lines action (#1901)
`"join air"`
`"join block air"`

Fixes #50

## Checklist

- [x] 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>
2023-12-06 16:52:32 +00:00
Pokey Rule
7a51850e1a
keyboard: Use parser for key sequences (#2051)
## Checklist

- [x] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [-] 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)
(keeping this somewhat under wraps while we experiment
- [x] I have not broken the cheatsheet
- [-] Refactor delete mapping to just issue token for delete action
- [x] Extract partial parameters
- [-] Add railroad to docs?
2023-12-05 15:27:34 +00:00
Andreas Arvidsson
197bb16247
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>
2023-12-05 14:11:10 +00:00
Pokey Rule
08cd7a1ff2
Support mapping from key to VSCode command in Cursorless keyboard mode (#2026)
- Fixes #1963

## Checklist

- [x] 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)
- [-] I have not broken the cheatsheet
2023-11-24 12:46:02 +00:00
Pokey Rule
7efcbfd91d
bump typescript => 5.2.2 (#1979)
## Checklist

- [-] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [-] 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
- [x] Check source maps are working for extension
- [x] Check source maps are working in test files
- [x] Don't depend on esbuild in all packages?
- [x] Try running vsix from CI locally
- [-] Use two .. for update recorded tests script

---------

Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
2023-11-13 13:30:21 +00:00
Andreas Arvidsson
6b45a523ce
Added insertions scope for insert snippet action (#1879)
`snip funk after air`

## Checklist

- [x] 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
- [x] Add changelog file

---------

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2023-11-07 18:55:56 +00:00
Pokey Rule
12602354aa
Cursorless scope side bar (#1942)
- Depends on https://github.com/cursorless-dev/cursorless/pull/1941
- Depends on #1946

## Checklist

- [-] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
(see comment below)
- [x] Add descriptions to section headings (eg present, not present,
etc)
- [x] File issue about using lang icons for lang-specific scopes
- [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
- [x] File issue for showing scopes touching, as well as equal to,
selection
- [x] Checkboxes from original #1663
2023-10-30 16:50:48 +00:00
David Vo
ddcf86ddb6
docs/contributing: Recommend Corepack over direct pnpm (#1969) 2023-10-27 11:33:58 +00:00
Andreas Arvidsson
71ccbdd393
Updated hat shapes (#1868)
* Updated hat shape svg for increased area
* svg all now have the same size and proportions which means that we
don't have to do as much tweaking in typescript
* hats have an increased default height

main

![image](https://github.com/cursorless-dev/cursorless/assets/3511326/86a9a80b-fbd4-477f-8c6f-082adbc7f4dd)

pr1868

![image](https://github.com/cursorless-dev/cursorless/assets/3511326/5431585d-e722-4645-982a-536d0a0d3b18)

matt 2.1

![image](https://github.com/cursorless-dev/cursorless/assets/3511326/4708606d-4228-4863-91db-54d56c684741)

matt 2.3

![image](https://github.com/cursorless-dev/cursorless/assets/3511326/edd19b7f-4f11-4c8d-a2fe-369ce290f280)


pr1868 vs 2.1 vs 2.3

![image](https://github.com/cursorless-dev/cursorless/assets/3511326/e681962c-9166-4983-9fc3-c8b0e3b29a2c)

![image](https://github.com/cursorless-dev/cursorless/assets/3511326/ed33ff22-f08d-4d02-8234-a4f664da7ffd)

![image](https://github.com/cursorless-dev/cursorless/assets/3511326/f5512cb7-291b-4ffe-9ff3-3a2a7eb47a22)



## Checklist

- [x] Do a pass through looking at the hat sorting to see if we want to
reorder them
- [x] Check that the order of hats in constants is same as order in
package.json
- [ ] Send message to users indicating that if they have used the
individual hat adjustments setting, they may want to reset it and start
over because things have changed
- [/] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [/] 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)
- [/] I have not broken the cheatsheet

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Phil Cohen <phillip@phillip.io>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2023-10-24 10:13:00 +00:00
Pokey Rule
0fe8395078
Update hatAssignment.md (#1966)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-10-24 09:36:42 +00:00
PiIsFour
0fbe51aa80
Add "scout" and "scout all" to the docs (#1957)
I saw this issue #1417 and thought that is something I can help add to
the doc. Hope this is what was intended and let me know if I'm doing
something wrong.

## 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)
- [ ] I have not broken the cheatsheet
2023-10-18 16:01:40 +00:00
Pokey Rule
b667bdb2fc
Clarify customization doc (#1948)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-10-13 11:27:04 +00:00
Aaron Adams
5c069e39e7
Clarify extension dependency instructions for adding a new language (#1903)
Following a discussion on Slack between Andreas and River about the
Elixir PR tests failing, it seems like the docs needed to be updated to
clarify how to add an extension dependency when adding support for a
language type that vscode isn't natively aware of.

## 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)
- [ ] I have not broken the cheatsheet

---------

Co-authored-by: fidgetingbits <fidgetingbits@memeoid.cx>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2023-09-28 14:29:23 +00:00
Pokey Rule
128933aec0
knausj => community (#1914)
Also tweaked unicode docs slightly while I was there

## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-09-28 10:31:22 +00:00
Aaron Adams
11f9de79d2
Fix delimiters typo (#1915)
## 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)
- [-] I have not broken the cheatsheet

Co-authored-by: fidgetingbits <fidgetingbits@memeoid.cx>
2023-09-28 09:53:16 +00:00
Pokey Rule
7369ceaa0d
Fix "from" section in docs (#1906)
It got orphaned from its parent in a recent commit



## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-09-21 11:26:25 +00:00
Andreas Arvidsson
d0f01ef3aa
Added text insertion action to Cursorless public api (#1875)
Fixes #1754

## Checklist

- [x] 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)
- [/] I have not broken the cheatsheet

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2023-09-10 19:10:33 +00:00
Pokey Rule
5789094879
Update docs on iteration range (#1881)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-09-10 09:13:40 +00:00
Josh Bleecher Snyder
1df6f0255e
fix typos (#1856)
My OCD finds them mildly distracting.



## Checklist

- [/] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [/] 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)
- [/] I have not broken the cheatsheet
2023-09-06 04:17:11 +00:00
Pokey Rule
bf24769e3f
Fix spoken form in 0.28.0.md (#1842)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-09-03 09:39:09 +00:00
Pokey Rule
52d3eca62b
Release 0.28.0 (#1818)
- Rebranding 0.27.0 as 0.28.0 due to botched release process; see
https://github.com/cursorless-dev/cursorless/pull/1801#issuecomment-1682628127
- To be merged 1 week after
https://github.com/cursorless-dev/cursorless/pull/1801

## Checklist

- [-] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [-] 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)
- [-] I have not broken the cheatsheet
2023-09-01 13:53:24 +00:00
Jacob Egner
7a1eac9cc2
doc "drink" and "pour" can do more than lines (#1772)
fix #1766

---------

Co-authored-by: Jacob Egner <JacobEgner@example.com>
2023-08-27 18:32:18 +00:00
Pokey Rule
f17bdf2f27
Add Cursorless scope visualizer video (#1826)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-08-23 23:52:30 +00:00
Pokey Rule
1d4fe7a678
Release 0.27.0 (#1794)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [x] Add link to josh videos
- [x] Highlight some issues form shortlist, and link to it
- [x] Highlight some issues from longlist, and link to it (esp
cursorless everywhere stuff; maybe draw from what's next stuff on 2022
summary)
- [x] Add images
- [ ] Write some destination docs?
- [ ] Write docs for other things I had to handwave?
- [ ] Record scope visualizer video?
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-08-17 08:40:44 +00:00
Josh Bleecher Snyder
c2e9c00241
move subset regular expressions to a separate file (#1690)
This enables us to ask git not to [track changes to that file.

And while we're here, support multiple regular expressions.



## 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)
- [/] I have not broken the cheatsheet

---------

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
2023-08-14 13:52:43 +00:00
Jacob Egner
63ea8e9076
#643, document "give" (#1771)
fix #643

---------

Co-authored-by: Jacob Egner <JacobEgner@example.com>
2023-08-14 07:33:17 +00:00
Pokey Rule
6d85977cf7
Add --update arg to init-launch-sandbox (#1760)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-08-10 15:59:34 +00:00
Pokey Rule
abc515d1c5
Stop publishing API docs (#1750)
- Fixes #1749
- Will do a `pnpm remove` on all our typedoc dependencies once #1745 is
merged so we don't get massive merge conflicts on our `pnpm.lock` 😅
- Our website deploy has gone from more than 12 minutes to 1 min 20 sec
🙌

## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-08-08 16:24:29 +00:00
Jacob Egner
a84b635d25
add "just" section to reference page (#1707)
- Fixes https://github.com/cursorless-dev/cursorless/issues/1537

---------

Co-authored-by: Jacob Egner <JacobEgner@example.com>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2023-08-07 16:53:56 +00:00
Andreas Arvidsson
41e0c268bb
Added destination and v6 api to Talon (#1717)
Depends on https://github.com/cursorless-dev/cursorless/pull/1637

- Fixes #725
- Partially addresses #1440
- Fixes #1319 

## 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] Update cheatsheet spoken form defaults
- [x] Manually test the various snippet terms
- [x] Manually test the snippet apis
- [ ] I have not broken the cheatsheet

---------

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2023-08-06 14:57:15 +00:00
Jacob Egner
868ff28982
document short paint (#1698)
For #839 and #1549.

Added a section about "short paint" in main reference page. Improved
explanation in cheatsheet.

## 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: Jacob Egner <JacobEgner@example.com>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2023-08-02 16:25:43 +00:00
Pokey Rule
3879ffd781
Remove reference to kebab (#1710)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-07-31 17:08:24 +00:00
Andreas Arvidsson
80bacd9d2e
Update README.md (#1677)
"bound" => "bounds"



## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-07-23 17:18:45 +00:00
Pokey Rule
77a3b5557c
Add the scope visualizer (#1653)
- Depends on https://github.com/cursorless-dev/cursorless/pull/1651
- Depends on https://github.com/cursorless-dev/cursorless/pull/1652
- Depends on https://github.com/cursorless-dev/cursorless/pull/1649
- Depends on https://github.com/cursorless-dev/cursorless/pull/1644
## Checklist

- [x] Add image to doc page
- [x] File issue to migrate all our vscode references to use new thin
wrapper
- [x] File issue about reworking removal highlight range to return
generalised range, and not using line range for line target content
range
- [x] Investigate cheatsheet performance issue
- [x] Migrate todos from #1523 
- [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 added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [x] I have not broken the cheatsheet
- [x] Compute border colors from background color?

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2023-07-18 19:55:55 +00:00
Pokey Rule
640abe902b
Remove old snippet instructions (#1589)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-07-06 19:36:16 +00:00
Pokey Rule
95f605b5d5
Make it easier to have unit tests in VSCode packages (#1541)
Introduces a new convention for tests that end with `.vscode.test.ts`
must run within VSCode; other tests can be run as unit tests outside of
VSCode. This makes it easier to add unit tests within packages such as
`cursorless-vscode`. Just because a package is designed to be used with
VSCode doesn't mean that all of its tests should have to be run within a
VSCode context. It might (and should!) have support code that consists
of pure functions with no dependencies.

- Required by #1523 

## Checklist

- [x] 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
2023-06-19 22:03:23 +00:00
Jacob Egner
1786978218
fix README typos (#1536)
Add missing quote in ``"identifier`. For the second one where I delete `
[blue] air and [green] bat`, at at first I thought it was just junk, but
maybe you wanted to have a note about how it differs from the list item
above.

## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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
2023-06-17 07:24:43 +00:00
Pokey Rule
2fd72d55a0
Support "from" action to set instance reference target (#1498)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-05-26 13:07:01 +00:00
Pokey Rule
6a9779f6f9
fix instance typo (#1503)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-05-26 11:40:29 +00:00
Pokey Rule
0ff8b931d8
Support "instance" pseudo-scope (#1497)
- Implements the "instance" pseudo-scope. It functions grammatical kind
of like a scope, but hoists over ranges and uses its input in its own
way.
- Fixes #29
- Depends on https://github.com/cursorless-dev/cursorless/pull/1496
- See #1490 for some discussion of how we got to this implementation

## Checklist

- [x] Handle word scopes
- [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] Merge with #1496 ?
- [x] check performance on gigantic file
- [x] Come up with story around repeater noises. Maybe interact with
some new knausj quick actions interface, where "instance" establishes
that the "forward" quick action will perform action on additional target
- [x] Document how to add one more selection somewhere: "take that and
next instance that"
- [x] Capture writing from #1490
- [x] "first three instances"
- [x] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [x] Handle narrowing range by selection
- [x] I have not broken the cheatsheet
2023-05-26 10:42:29 +00:00
Pokey Rule
29056a76f5
Clean up runCommand (#1486)
## Checklist

- [x] 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
2023-05-19 16:18:09 +00:00
Andreas Arvidsson
0f25f01e6e
Use proper code blocks to get copy button for necessary commands (#1464)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-05-16 09:41:31 +00:00
Pokey Rule
9f79e1cb2c
Support "every line air past bat" (#1462)
We also support fancier constructs like the following:

- "every line block air past bat"
- "every line air past block bat"
- "every line past bat"
- "every line past block bat"

The approach is to detect ranges of the form `"every <scope> <target>
past <target>"` and to turn them into a special range target, distinct
from `"continuous"` or `"slice"`. We remove the `"every <scope>"`
modifier as well because that's done after we construct the range.

The reason we need a special range target is that exclusion needs to be
smart to handle scopes whose domain is larger than their content range

We also add slight special casing for line targets so that when you're
at the beginning / end of a line, that line is considered part of the
range

## Checklist

- [x] Only expand to containing scope if the given end is excluded, eg
expand end target if "until". Might need to tweak construction of ranges
so that each side is responsible for exclusion to make "every token
until line bat" work, because otherwise it gets downgraded so we won't
actually skip the right thing. eg try "every token air past state bat"
if "bat" is in the middle of the statement.
- [x] Add tests for above examples
- [x] Handle case where one side is not in a scope
- [x] Handle case where one side is in a scope but you don't want it to
jump to parent (eg "take every state past bat" when we're inside a
function but between statements)
- [x] Add test for "every line air until bat"
- [x] 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
2023-05-15 14:44:35 +00:00
Pokey Rule
3e92ee67df
Support adding languages using only queries (#1449)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-05-11 16:08:53 +00:00
Pokey Rule
5d6fbc280d
Fix spoken form in readme (#1429)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-04-16 15:15:25 +00:00
Pokey Rule
e37762f6ca
Merge cursorless-vscode-core into cursorless-vscode (#1421)
- Depends on #1393

## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet
2023-04-14 22:03:16 +00:00
Pokey Rule
570f16230e
Add recorded test formatter to pre-commit (#1423)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2023-04-14 12:15:11 +00:00
Pokey Rule
22fc39a1b4
Add documentation for "phones" (#1411)
## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] 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)
- [ ] I have not broken the cheatsheet

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-11 10:29:53 +00:00