Title: Question : how to format code ? · Issue #2137 · microsoft/python-language-server · GitHub
Open Graph Title: Question : how to format code ? · Issue #2137 · microsoft/python-language-server
X Title: Question : how to format code ? · Issue #2137 · microsoft/python-language-server
Description: 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 ...
Open Graph Description: 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 mess...
X Description: 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 mess...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/2137
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question : how to format code ?","articleBody":"Hello,\r\n\r\nConfiguration : \r\n- OS : Windows 10\r\n- Microsoft Python Language Server version 0.5.59.0\r\n- python : winpython64 3.9.0\r\n- lsp client : emacs 27.1.2 lsp-python-ms\r\n\r\nWhen typing `C-c l = =`, I receive the message : \r\n```\r\nlsp-format-buffer: Capability not supported by the language server: \"documentFormattingProvider\"\r\n```\r\n\r\nI searched within issues if anyone did report any formatting problem (keyword \"format\") but it returned nothing.\r\n\r\nDoes this returned message means the python-language-server lacks the formatting feature ? Or is it a bug, most probably from my configuration ? \r\n\r\nIf not, could it be feature request to add python code formatting ?\r\n\r\nRegards ","author":{"url":"https://github.com/deb75","@type":"Person","name":"deb75"},"datePublished":"2021-01-08T08:50:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2137/python-language-server/issues/2137"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ba399d0d-c94d-9a2e-55ee-c1ee9e285e66 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E796:8CD9D:6F9057:97B8CA:6A4DD1BD |
| html-safe-nonce | 91c4323d3658fe1c263fb8e161f1f6ca2ea3777c6417ef66ac971b4c54d44a9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzk2OjhDRDlEOjZGOTA1Nzo5N0I4Q0E6NkE0REQxQkQiLCJ2aXNpdG9yX2lkIjoiNzg2MTc1MTMyMTQzMDE4NDM4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 21af4d8666299cb1ee52880c05970a9e6c96f71892fb3b41dde6cf3f51244e37 |
| hovercard-subject-tag | issue:781956192 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/2137/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b3296ad0d0238d6fc3f1aa97a41baa6afdac786789eb825105bb1623f25492a9/microsoft/python-language-server/issues/2137 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b3296ad0d0238d6fc3f1aa97a41baa6afdac786789eb825105bb1623f25492a9/microsoft/python-language-server/issues/2137 |
| og:image:alt | 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 mess... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | deb75 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width