Skip to content

Commit d98bf09

Browse files
AndreasArvidssonphillcopre-commit-ci-lite[bot]
authored
Collection item scope provider (#2683)
Fixes #1059 Related #1052 ## 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) - [/] I have not broken the cheatsheet --------- Co-authored-by: Phil Cohen <[email protected]> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 071739d commit d98bf09

File tree

81 files changed

+1693
-1052
lines changed

Some content is hidden

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

81 files changed

+1693
-1052
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
tags: [enhancement]
3+
pullRequest: 2683
4+
---
5+
6+
At long last, collection items have been migrated to our next generation scope framework! This means, within a list of items, you can now use relative navigation (`previous item`), absolute navigation via ordinals (`fifth item`), multiple selection (`two items`, optionally preceded with `previous` or `next`), and lastly, requesting multiple items to be individually selected via `every` (`every two items`)!

data/fixtures/recorded/itemTextual/chuckItem4.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

data/fixtures/recorded/itemTextual/clearEveryItemToken.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

data/fixtures/recorded/itemTextual/clearItem10.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

data/fixtures/recorded/itemTextual/clearItem11.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

data/fixtures/recorded/itemTextual/clearItem13.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

data/fixtures/recorded/itemTextual/clearItem14.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

data/fixtures/recorded/itemTextual/clearItem6.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

data/fixtures/recorded/itemTextual/clearItemDrip.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

data/fixtures/recorded/languages/clojure/chuckItemZip.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ finalState:
2929
documentContents: |-
3030
{
3131
:foo "bar",
32-
;; hello
33-
,
3432
}
3533
selections:
36-
- anchor: {line: 4, character: 1}
37-
active: {line: 4, character: 1}
34+
- anchor: {line: 2, character: 1}
35+
active: {line: 2, character: 1}

0 commit comments

Comments
 (0)