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.

Duplicated suggestions

See original GitHub issue

Describe the bug My code Suggestions/AutoComplete/IntelliSense are showing twice for each suggested definition. For now, I’m still debugging what is going on to see if it’s not a side effect of any other extension.

To Reproduce Steps to reproduce the behavior:

  1. After installing the Flutter extension
  2. Go to any Dart file in any definition and press the keyboard shortcut to show code suggestions
  3. See the duplicated suggestions

Expected behavior Show only one suggestion per type/method.

Screenshots image

Versions:

  • VS Code version: 1.62.3
  • Dart extension version: 3.28.0
  • Dart/Flutter SDK version: 3.28.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
DanTupcommented, Nov 19, 2021

You could set dart.useLsp: false in your VS Code user settings to disable LSP (where the bug is), but you may lose a few features and have slightly worse performance, as LSP is where all the new work is going (the non-LSP code will be dropped soon).

0reactions
DanTupcommented, Nov 19, 2021

(Closing this as a dupe, but feel free to ping here with comments/questions!)

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug] Duplicated suggestions, typehints, docs etc. #3027
Open both. Switch from Python file to the Notebook and back. After some seconds the typhints, autocomplete suggestions, etc. are duplicated.
Read more >
Vscode showing duplicate suggestions, How to fix? - Reddit
r/vscode - Vscode showing duplicate suggestions, How to fix? ... First thing to try is disabling extensions. November stable release added ...
Read more >
Analyze duplicates | IntelliJ IDEA Documentation - JetBrains
IntelliJ IDEA helps you find repetitive blocks of code in a certain set of files by means of the Duplicated code fragment inspection....
Read more >
Duplicate suggestions on VSCode - Pylance - Stack Overflow
When I highlight something while editing I get duplicated suggestions from highlighting and also in dropdown suggestions.
Read more >
room location suggestion duplicated - Microsoft Community
Hi All, I need some help please. We renamed some meeting rooms (all attributes have been updated) and now are seeing duplicates of...
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