Skip to content

No member completions, and irrelevant value completions, when class property initializer has no semicolon #52212

@DanielRosenwasser

Description

@DanielRosenwasser
interface Interface {
    method(): void;
}

export class Class implements Interface {
    property = "yadda"
    
    /*$*/
}

Expected: We should auto-complete method and class member keywords - and then possibly the usual value completions one would get at the top level scope.
Actual: Usual value completions at the top-level!

image

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueHelp WantedYou can do this

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions