-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-add parenthesis to callable completions #37
Comments
I have the same problem. |
For what it's worth, the expected behavior at the moment is for this to not work; anything under |
This happens when "python.languageServer" is set to anything other than Jedi. People also encountered this problem here: microsoft/vscode-python#12786 |
To give an update, this has been spec'd out (under a more descriptive name than "brackets"), but isn't yet implemented. |
This issue has been fixed in version 2020.8.2, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202082-20-august-2020 You can enable this by setting: {
"python.analysis.completeFunctionParens": true
} If you were already using |
For my case, using VS code for Flutter/Dart, I resolved this error by disabling the Preview LSP (Language Server preview) which I had earlier enabled to remedy another VS Code error - Data analyser stopped working. |
referring to this issue, has it been fixed ? because it's not working for me with Pylance, thanks. #180 (comment) |
See #3831. Should be fixed in the prerelease bits. |
The text was updated successfully, but these errors were encountered: