Don't suggest Code snippets for import statements
See original GitHub issueEnvironment data
- Language Server version: 2020.10.3
- OS and version: macOS
- Python version: 3.9
Feature description
When writing an import statement, Intellisense currently suggests Code snippets. See screenshot below. IMO it doesn’t make much sense to for example suggest try / except
when writing from typ...
. In those cases I’m looking for a specific module and not exception handling. Same with import typ...

Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
VS Code Intellisense don't suggest snippet at first
I want to use code snippets in VSCode. But when I type, for example, for in javascript file, the Intellisense doesn't suggest snippet ......
Read more >Tips for typing import statements in JavaScript - 2ality
This blog post gives tips for typing import statements more quickly, including a helpful text snippet for Visual Studio Code.
Read more >Auto import | WebStorm Documentation - JetBrains
In JavaScript and TypeScript files, WebStorm automatically adds import statements for modules, classes, components, and any other symbols ...
Read more >CSS, SCSS, and Less support in Visual Studio Code
VS Code also supports User Defined Snippets. Syntax Verification & Linting. There is support for CSS version <= 2.1, Sass version <= 3.2...
Read more >VS Code Snippets: Speed up Coding with Shortcuts
You do not have to limit yourself to the snippets that come with VS Code itself or that come with extensions. Perhaps the...
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 Free
Top 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
See: https://github.com/microsoft/vscode-python/blob/main/snippets/python.json
If it were me, I’d be deleting all of these… 😃
Closing in favour of https://github.com/microsoft/vscode-python/issues/14781.