Skip to content

Underscore does not reliably trigger autocomplete #1

@fongandrew

Description

@fongandrew

_ does not seem to trigger as the trailing character in a class name (it works fine if you type _ in the middle of the class though).

Logging shows that the provideCompletionItems method here is not even called in that scenario:

async provideCompletionItems(
document: vscode.TextDocument,
position: vscode.Position,
): Promise<vscode.CompletionItem[] | undefined> {

This suggests the issue is either in how we're configuring the extension (although _ is listed in the trigger chars, an issue in VSCode itself, or maybe conflicting with some other extension or setting?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions