microsoft/python-language-server

After pressing enter, Pylance cannot format the code

zhiyiYo opened this issue · 1 comments

Environment data

  • Language Server version: Pylance v2020.11.0
  • OS and version: Windows_NT x64 10.0.19042
  • Python version (& distribution if applicable, e.g. Anaconda): v2020.10.332292344

Expected behaviour

When I select Microsoft language server, the code can be automatically formatted by pressing enter.
自动格式化

Actual behaviour

When I switched to the Pylance language server, the code could not be formatted by pressing enter.
没有自动格式化

Please file Pylance issues at https://github.com/microsoft/pylance-release/issues. This is not Pylance project. Thanks.