Skip to content

TypeScript (and emmet) suggestions show up in the wrong order #145877

@jasonwilliams

Description

@jasonwilliams

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.65.2
Commit: c722ca6
Date: 2022-03-10T14:33:49.188Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

When using import statement completions the suggestions which come back are not always in a great order, meaning I need to cycle down a couple of times until i get what I need. This makes the development process a bit degraded compared to others IDEs.

An example is this:
Screenshot 2022-03-23 at 10 44 00

In the image above, i want ContentType but the suggestions I get back are ContentTypeHeaderStories and an emmet suggestion. The one i want is on the 3rd row down.

I don't want to swtich emmet off but I don't think emmet should be prioritised so high above TypeScript suggestions, especially when (in this case) it's being used as a "catch all".

Secondly (and this may be more for @andrewbranch) I would expect the default export ContentTypeHeaderStories to be below ContentType and only be higher when I type ContentTypeH...

Steps to Reproduce:

  1. Clone https://github.com/jasonwilliams/autocomplete-testcase
  2. follow steps in readme

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugjavascriptJavaScript support issuessuggestIntelliSense, Auto CompletetypescriptTypescript support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions