autcomplete for module names is not working
See original GitHub issueDescribe 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
- Use svelte template
- Open App.svelte
- 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
System (please complete the following information):
- OS: Ubuntu 20.04
- IDE: VSCode
- Plugin/Package: “Svelte for VSCode”
Additional context None
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Installing django-autocomplete-light examples - Stack Overflow
ImportError: No module named autocomplete_light.example_apps.non_admin_add_another. I see that the module is referenced in settings.py:
Read more >Looking for definitive way to enable ALL QGIS module access ...
I'm having trouble importing and getting code inspection/autocompletion working for all the PyQGIS modules I need to do scripting in VS Code ...
Read more >Autocomplete and all the hints not working. No module named ...
I use three interpreters (Py27, Py33, Pypy) - all of them have this issue, but for different packages. For example if I type:...
Read more >No module named autocomplete_light - django 1.9.2 ... - GitHub
Solution: pin 'django-autocomplete-light>=2.0,<3.0' in requirements. 1
Read more >Fix Python Relative Imports and Auto-completion in VSCode
In this video, you will learn how to properly handle Python relative imports without extending the sys.path. Additionally, you will learn ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dummdidumm I removed node_modules and package-lock.json in my project, reinstalled, restarted svelte server and now it works. May be your fix did solve it after all. Thank you very much for your time
It’s probably related to the number of installed packages. I’ll try to create a repo where I could reproduce the issue, but I will not be able to do it before tuesday