Skip to content

The default VS Code wordBasedSuggestions setting causes incorrect completions #2943

@sean-mcmanus

Description

@sean-mcmanus

With the default VS Code settings (i.e. editor.wordBasedSuggestions set to "true"), type:

int some_unrelated_variable_with_std_in_the_middle;
namespace std<enter>

Bug: "std" gets annoyingly auto-completed to "some_unrelated_variable_with_std_in_the_middle". We complained to VS Code a year ago (microsoft/vscode#31075), but they didn't provide a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.quick fix

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions