python-lsp / python-lsp-server

Fork of the python-language-server project, maintained by the Spyder IDE team and the community
MIT License
1.9k stars 197 forks source link

Increase indent level after a colon was typed #489

Closed gregorni closed 10 months ago

gregorni commented 10 months ago

Often in Python, when a colon is typed, the next line is indented (e.g. with for, if, def, while, class). It would be cool if the next line after that line would be indented.

ccordoba12 commented 10 months ago

Hey @gregorni, thanks for reporting. That is more of an editing operation than a code completion, formatting or linting one. And the latter ones are the operations this server is in charge of.

So, I recommend you to open this issue in the editor or IDE you use with this server.

gregorni commented 10 months ago

Okay, will do. Thanks for pointing me there!