You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helix crashes when I click the down arrow on a suggestion for completion of Python code using pylsp as a language server. My error only happens if I have a split window and try importing content from the second window into the first one. More details are explained in the reproduction steps section.
Reproduction Steps
To replicate the error, follow the steps below:
# create two python files
touch one.py two.py
# fill second file with placeholder functionsecho"def some_test():\n\treturn\n\ndef some_other_test():\n\treturn">> two.py
# set python 3.12.2 as your local python version with pyenv
pyenv local 3.12.2
# install poetry for current python version
pip install poetry==1.8.3
# initilize a poetry project
poetry init --name=test --python=3.12.2 --no-interaction
# install a language server
poetry add "python-lsp-server[all]" --group=debug
## set pylsp as default lsp for python in languages.toml## open empty file
hx one.py
From this point, just split the view with the second file (two.py)
write the following in one.py and wait for completion suggestions: from two import som
At this point, two suggestions will be shown in the screen:
If you press the down arrow, the helix crashes.
Curious fact: If I don't open the second file (the same one I am refering in the import in first window) in a split view, this crash doesn't happen.
Helix log
~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines
My helix.log have no data regarding the error I get, all logs available are non-related to this issue.
The only log I have is the one thrown when error occur in the terminal:
Summary
Helix crashes when I click the down arrow on a suggestion for completion of Python code using pylsp as a language server. My error only happens if I have a split window and try importing content from the second window into the first one. More details are explained in the reproduction steps section.
Reproduction Steps
To replicate the error, follow the steps below:
from two import som
At this point, two suggestions will be shown in the screen:
If you press the down arrow, the helix crashes.
Curious fact: If I don't open the second file (the same one I am refering in the import in first window) in a split view, this crash doesn't happen.
Helix log
~/.cache/helix/helix.log
My helix.log have no data regarding the error I get, all logs available are non-related to this issue.
The only log I have is the one thrown when error occur in the terminal:
Platform
macOs M2
Terminal Emulator
item Build 3.5.4
Installation Method
source
Helix Version
helix v24.07 079f544
The text was updated successfully, but these errors were encountered: