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
workspace_symbol_picker on a gdscript file shows empty rows in the left column. The right column still shows context for each symbol, and I can scroll through the list on the left, but every line is empty. The search appears to work correctly, as the contexts I see on the right all match my search term, it's just that the left side is invisible.
The LSP responses look pretty similar between cpp (which works as expected) and gdscript:
I think this was a regression for DynamicPicker introduced by #3053. When there are no initial options, the table's column widths are all calculated here as 0 so even though the text for the options is still computed correctly, nothing is rendered.
I was thinking we could re-run the widths calculations whenever the options field is set on the picker. It's currently set manually by the DynamicPicker but we could introduce a set_options method for Picker that could recalculate the widths, reset the cursor position, etc.. What do you think, @sudormrfbin?
This will be a problem for any language servers that send an empty list of symbols for the workspace symbols request with an empty query. rust-analyzer doesn't do this but it's pretty common behavior: the spec says you should return all symbols but that is typically prohibitively expensive. I posted #6004 to fix this
Summary
workspace_symbol_picker
on agdscript
file shows empty rows in the left column. The right column still shows context for each symbol, and I can scroll through the list on the left, but every line is empty. The search appears to work correctly, as the contexts I see on the right all match my search term, it's just that the left side is invisible.The LSP responses look pretty similar between
cpp
(which works as expected) andgdscript
:gdscript:
cpp:
The only difference appears to be that
cpp
contains as score, while gdscript does not, and gdscript contains "deprecated", while cpp does not.Reproduction Steps
I tried this:
hx Player.gd
<space>S
I expected this to happen:
Symbols visible in left column of picker.
Instead, this happened:
Symbols invisible in left column of picker, but list is still scrollable and correct context appears on the right.
I tried a few different color schemes, all had the same behavior.
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
st 0.8.5
Helix Version
22.12-256-g3b301a9d
The text was updated successfully, but these errors were encountered: