cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

Add support for "next of type" / "previous of type" / "every of type"

Open pokey opened this issue 3 years ago • 0 comments

This stage will inspect the incoming target to get its scope type, then apply "every" / "next" / whatever using that scope type. Not sure of spoken form, but will be useful for https://github.com/cursorless-dev/cursorless/issues/991.

  • [ ] Add proper scopeType attribute to targets, instead of scopeTypeType
  • [ ] Add stage which is thin wrapper around existing RelativeScopeStage / OrdinalScopeStage that gets scope type from target. Could even just integrate it into these stages and make scopeType optional on descriptor to imply it should come from target

pokey avatar Oct 02 '22 13:10 pokey