cursorless
cursorless copied to clipboard
Add support for "next of type" / "previous of type" / "every of type"
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
scopeTypeattribute to targets, instead ofscopeTypeType - [ ] Add stage which is thin wrapper around existing
RelativeScopeStage/OrdinalScopeStagethat gets scope type from target. Could even just integrate it into these stages and makescopeTypeoptional on descriptor to imply it should come from target