-
SummaryWhen coding in python, no errors are shown. Code completion works but not errors. Other languages work well Reproduction Stepshttps://asciinema.org/a/h5xRiUB9YeaPjjtq9RPIwleOz (archived in 7 days) Helix log~/.cache/helix/helix.log
PlatformLinux Terminal Emulatorkitty 0.28.1 created by Kovid Goyal Helix Versionhelix 23.05 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Pylsp doesn't have diagnostics out of the box it relies on third party providers for diagnostics see: https://github.com/python-lsp/python-lsp-server#installation if you want to use one that is disabled by default (flake8 instead of pyflakes) you have to manually enable it in your config |
Beta Was this translation helpful? Give feedback.
-
Right, okay thanks! And wouldn't it be better to use something like pylance in that case? |
Beta Was this translation helpful? Give feedback.
-
pylance is a proprietary language server and we would be violation of the license if we used it with helix: https://github.com/microsoft/pylance-release/blob/main/FAQ.md#can-i-load-pylance-in-code--oss |
Beta Was this translation helpful? Give feedback.
-
Thanks! |
Beta Was this translation helpful? Give feedback.
Pylsp doesn't have diagnostics out of the box it relies on third party providers for diagnostics see: https://github.com/python-lsp/python-lsp-server#installation if you want to use one that is disabled by default (flake8 instead of pyflakes) you have to manually enable it in your config