Skip to content

Support other word-regex for TextDocument#getWordRangeAt #15724

Closed

Description

We have getWordRangeAtPosition which uses a default or a language specific regular expression for determining what a word is. To enforce a certain behaviour of this method we have seen weirdly bend regexes for word and we should make thing easier by allowing callers to optionally provide a regex when calling this function

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

Metadata

Metadata

Labels

apifeature-request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions