Skip to content

autcomplete for module names is not working #430

@AhmadMayo

Description

@AhmadMayo

Describe the bug
When I try to import any package, the editor doesn't suggest anything except "*.svelte" as the package name. Surprisingly when I type the name of any package, the intellisense works correctly for the exported variables and types.

To Reproduce

  1. Use svelte template
  2. Open App.svelte
  3. Type import x from"" and tap ctrl+space - or whatever open the suggestions list - when the cursor is between the quotes of the module name.

Expected behavior
VSCode displays the names of the installed packages

Screenshots
Screenshot from 2020-08-05 20-00-17
Screenshot from 2020-08-05 20-00-53
Screenshot from 2020-08-05 20-09-57
Screenshot from 2020-08-05 20-12-42

System (please complete the following information):

  • OS: Ubuntu 20.04
  • IDE: VSCode
  • Plugin/Package: "Svelte for VSCode"

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions