Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Question : how to format code ? #2137

Description

@deb75

Hello,

Configuration :

  • OS : Windows 10
  • Microsoft Python Language Server version 0.5.59.0
  • python : winpython64 3.9.0
  • lsp client : emacs 27.1.2 lsp-python-ms

When typing C-c l = =, I receive the message :

lsp-format-buffer: Capability not supported by the language server: "documentFormattingProvider"

I searched within issues if anyone did report any formatting problem (keyword "format") but it returned nothing.

Does this returned message means the python-language-server lacks the formatting feature ? Or is it a bug, most probably from my configuration ?

If not, could it be feature request to add python code formatting ?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionA question about the LS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions