question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Don't suggest Code snippets for import statements

See original GitHub issue

Environment 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...

Screen Shot_Import_Code_snippets

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jakebaileycommented, Oct 29, 2020

See: https://github.com/microsoft/vscode-python/blob/main/snippets/python.json

If it were me, I’d be deleting all of these… 😃

0reactions
luabudcommented, Dec 16, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found