flutterdartvisual-studio-code

Intellisense not triggering in VSCode for Dart/Flutter


In the last week or two IntelliSense has just stopped automatically triggering for the flutter project that I'm working on. If I hit cmd+space the IntelliSense menu will pop up with the correct items given the context. But it just does not show by itself

I don't remember changing any settings but it's super annoying and I'm looking for a way to get back to the old behavior.

An example, when in the constructor of a widget, IntelliSense will not pop up for named parameters.

Or simply being on a new line and start typing a few characters, nothing pops up, even though there are valid IntelliSense items.


Solution

  • Somewhere along the road my workspace setting was created with just this line in it:

    "editor.quickSuggestions": false,
    

    Which obviously caused quick suggestions to stop showing. This was not in the general vscode settings so I didn't even notice it.

    No idea how this was added.