Pokey Rule

Results 577 comments of Pokey Rule

Ooh nice find. Interesting to see how they've handled ranges

Yep sounds good to me. I think ideally we'll just need to implement a few simple generic custom functions

Just chatted with @AndreasArvidsson and we came up with a nice name for `searchScope`: `enclosure`. I think that captures the idea much more clearly. So for example, in the query...

other possible terms for `enclosure`: - `dominion` - `domain` the notion is that we want to indicate the range within which this scope is the canonical instance of the given...

@AndreasArvidsson Yes and given it's a transformation rather than a mark we can also say "take fine up 5 past down 2"

> @auscompgeek Had a really interesting idea `"take every third funk"` What would that do?

~Proposed shape:~ let's use the thing we have today with modifications; see https://github.com/cursorless-dev/cursorless/issues/13#issuecomment-1254854243 ```typescript interface OrdinalScope { type: "ordinalScope" scopeType: ScopeType; /* The start of the range. If negative, go...

Fwiw this is the version of the type today: https://github.com/cursorless-dev/cursorless/blob/da757c228508561ea344c49d69f9670b303d32ff/src/typings/targetDescriptor.types.ts#L179-L186 Maybe we just add `isRelative` to that and be done with it? Keep in mind that if it is absolute,...

I'm not sure I understand. If `anchor` and `active` are both 1, then it is `"next"`, and if they are both -1 then it is `"previous"`. If you have two...

What do you mean by "current relative index"? Ah when you say "multiple", you mean a continuous range. I thought you meant multiple selections. Yeah it should be as you...