-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
I was trying to replace CAPITALIZE_FIRST_WORD
with capitalize_all_words
and said:
bring second through fourth word blue trap to red cap
I got:
> user.cursorless_multiple_target_command(cursorless_move_bring_action, cursorless_move_bring_targets)
Exception: Scope index out of range
And had to ask on Slack for help. From what I understand Cursorless was trying to do something like:
bring second through fourth word blue trap to second through fourth word red cap
And as there was no fourth word in CAPITALIZE_FIRST_WORD
, I got "Scope index out of range".
Things I would have loved to have understood about the error, ideally using the words that I used when specifying it.
- Which scope? (e.g., "word")
- Which index? (e.g., "4" or "fourth")
- Where was the scope being used (e.g, "in the target of a bring/move")
The last I can tell a bit from the stack trace but this would require me to have the Talon log visible.
And even better:
- What was implied or assumed in my command that triggered this error? (e.g., that the scope qualifiers used for the source of the move should also apply to the target)
- What could I do to tell Cursorless that I did not want it to assume this? (e.g., use "token" before "red cap".
Metadata
Metadata
Assignees
Labels
No labels