Skip to content

Filter unnecessary type suggestions in completion list #15750

@mjbvz

Description

@mjbvz

From microsoft/vscode#26340

Problem
When working in JavaScript files, we currently show the same suggestions as we do in TypeScript files. These suggestions include many interfaces and types that JavaScript users usually do not care about:

screen shot 2017-05-10 at 3 41 39 pm

Proposed Fix
Suggestions for interfaces and types should only be returned in JavaScript contexts where they are actually useful, such as inside JSDoc

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions