Skip to content

Containing token inference doesn't work next to single-character token #200

Description

@pokey

When there are two tokens next to each other and you use a subword modifier, cursorless will assume that you are referring to the token to the right of your cursor. However, if the token to the right of your cursor is a single character, then this will not be what you want. It might make more sense to assume the user is referring to token to the left in this case. For example

fooBar;

If the cursor is before the ;, the command "take first word" doesn't work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions