Pokey Rule

Results 577 comments of Pokey Rule

> > > query language for delimiters > > > > > > Can you elaborate on what you mean by this? What kind of delimiters? > > For, e.g.,...

@Will-Sommers maybe tomorrow let's go through the exercise of writing a language definition? I think we might be able to make some headway in an hour and it should help...

How is that different from what's described in the issue?

Fwiw here is @wenkokke's original proposal: [Cursorless NodeFinder.pdf](https://github.com/cursorless-dev/cursorless/files/8336751/Cursorless.NodeFinder.pdf) And looks like [here](https://github.com/wenkokke/cursorless-vscode/commit/433daa1e68099562bc7a74b7b131e0cc7ab59032) she started putting together a draft implementation

Fwiw the reason that I was leaning away from rooted queries and towards top-level matches was so that we could support "take every key" both with nothing selected, which would...

Ok updated issue description to clarify iteration stuff a bit

Ok I captured our mob programming session in draft PR #620

Yes, that's the idea (see [here](https://github.com/cursorless-dev/cursorless/wiki/Target-overhaul), [here](https://github.com/cursorless-dev/cursorless/wiki/What's-next#programming-language), and [here](https://github.com/cursorless-dev/cursorless/issues/69)), but the issue is that you could end up with subtly different behaviour if we're not careful, because that style of...

Also @wenkokke can we align on naming here? I'm using `@.searchScope` instead of your `@.delimiter`. When I hear the term "delimiter", I assume something like a `(` or `,`. To...

Basically the term refers to the maximal range within the document for which the given scope is the canonical instance of that scope type. So for the `key` scope type,...