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.

Code completion doesn't trigger automatically for import snippets

See original GitHub issue

Currently on Flutter 1.6.7 the dev branch, and working with the dart-code plugin in vscode gives me fairly unresponsive import auto-completions. What I mean by this prior to the update, I could start to type import 'material' and it would suggest import 'package:flutter/material.dart' and this would work for most imports. For core dart libraries, I would type say convert and it would suggest dart:convert etc. Now, I have to type in much more of the package to get the auto-completion. With libraries like dart:convert or dart:isolate; I am often finding myself having to type in the complete import statement and some times I don’t even receive auto-completion suggestions.

This feels like it is related to #1723 in someways. Almost like the fix for that issue caused there to be less suggestions.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Jun 4, 2019

Yep, the fix seems to have made it to master (currently v1.7.1-pre.52) and I can’t reproduce your issue there. For now the options are either to run on master until it makes it to dev, or try switching to a channel with an older build (like beta or stable).

If you still have issues on those, let me know and I’ll dig further. Thanks!

0reactions
DanTupcommented, Jun 5, 2019

Looks like the fix rolled into dev yesterday (v1.7.1), I can’t repro on dev anymore 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

VScode doesn't autocomplete variables in custom snippets
So anywhere you want to be able to use auto-complete for variables, you just add $0 to that spot when you create the...
Read more >
IntelliSense in Visual Studio Code
You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.)...
Read more >
Code completion | PyCharm Documentation - JetBrains
Start typing a code construct and press Ctrl+Shift+Enter . PyCharm automatically completes the construct and adds the required punctuation. The ...
Read more >
Code completion not working in 10.2 | Apple Developer Forums
Only solution that seems to work is to move the current file into the main folder from any of the sub-folders. Auto code...
Read more >
Auto-completion - Notepad++ User Manual
Different from function and word completion which can be triggered automatically after 1 (or X) keystroke(s), Path completion needs to be triggered manually,...
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