Several improvements have been made when running with the LSP Preview. Many of these rely on changes in the Dart language server so may not be immediately available depending on the Dart/Flutter channel you are using. At the time of writing, they have not yet reached the Flutter stable channel.
TODO
comments now show in the problems list if dart.showTodos
is true
.required
keyword are now inserted when completing a function/method when dart.completeFunctionCalls
is enabled.@required
annotation are now inserted when completing a function/method when dart.completeFunctionCalls
is enabled.setState
from completion no longer inserts two function placeholders.dart.completeFunctionCalls
is enabled.editor.suggest.snippetsPreventQuickSuggestions
has not been disabled.dart.flutterRunAdditionalArgs
and dart.flutterAttachAdditionalArgs
have been added that behave like dart.flutterTestAdditionalArgs
but injecting args into flutter run
and flutter attach
commands run by the debugger respectively.dart.flutterWebRenderer
allows easily setting Flutter’s web renderer at the global (User Settings) level or per-workspace..dart_tool
that contain pubspec.yaml
files will no longer show up in the project list.