Skip to content

Completion list appears to treat digit/underscore in identifier as a boundary #6134

@chadunit

Description

@chadunit

Completion list invoked after a digit only searches on the characters after the digit, and upon accepting a suggestion it inserts the suggestion after the digit resulting in duplicated characters.

EDIT: Also happens with underscore.

(Note Show completion list after a character is typed is disabled, and completion list is manually summoned via Ctrl+Space.)

vs completion digit

Expected behavior

Completion invoked on UTF8E should search for UTF8E, and entire identifier should be updated when accepting suggestion.

Actual behavior

Completion invoked on UTF8E only searches for E, and accepting the suggestion only applies it to the portion after the digit.

Related information

Visual Studio Community 2017 15.9.4
Visual F# Tools nightly 15.8.20181217.1
.NET Core SDK 2.2.101

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions