When i type some widget and ctrl+space, I choose the one with brackets. But it doesn't write in brackets.
It is big problem for me. It wasnt like that before.
Flutter: 1.22.5
VS Code Version: 1.52.1 (user setup)
Date: 2020-12-16T16:34:46.910Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041
Are you using the LSP Preview? If so, this was only added recently and needs to be enabled with the dart.completeFunctionCalls
setting. There's some info about this in the release notes here:
https://dartcode.org/releases/v3-17/#lsp-complete-function-calls
Please let me know if this doesn't solve the issue!
Hi,
Thanks for helping.
Recently I have the same issue, which is auto-complete doesn't work in vs code.
When I type a function like List.generate
the parameters placeholder used to show, but now it doesn't show.
I have dart.completeFunctionCalls
enabled and dart.enableCompletionCommitCharacters
disabled
Flutter: 1.22.1-0.0.pre.1
VS Code Version: 1.52.1
Flutter Extension Version: 3.18.0
Dart Extension Version: 3.18.0
OS: macOS Catalina 10.15.4
Hi again,
Problem was in my settings.json.
I edited file like this. Now everything is fine.
{
"dart.completeFunctionCalls": true,
"dart.enableCompletionCommitCharacters": false,
"editor.formatOnSave": true,
}
Hi,
Thanks for helping.
Recently I have the same issue, which is auto-complete doesn't work in vs code.
When I type a function likeList.generate
the parameters placeholder used to show, but now it doesn't show.I have
dart.completeFunctionCalls
enabled anddart.enableCompletionCommitCharacters
disabledFlutter: 1.22.1-0.0.pre.1
VS Code Version: 1.52.1
Flutter Extension Version: 3.18.0
Dart Extension Version: 3.18.0
OS: macOS Catalina 10.15.4
Same here.
Flutter: 1.22.5
版本: 1.52.1 (user setup)
提交: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
日期: 2020-12-16T16:34:46.910Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041