Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird display of help for big Rust structs #12636

Open
workingjubilee opened this issue Jan 22, 2025 · 0 comments
Open

Weird display of help for big Rust structs #12636

workingjubilee opened this issue Jan 22, 2025 · 0 comments
Labels
C-bug Category: This is a bug

Comments

@workingjubilee
Copy link

Summary

When trying to add field usages to an initializer of a big Rust struct, the inline help is... er... unhelpful? And renders oddly, to boot.

Reproduction Steps

I just kind of hit i with the cursor over a struct and I get this:

Screenshot of Helix trying to cram an an absolutely mammoth struct definition into a small overlay on the viewport on Helix without any line wrapping or anything

This actually will display over the autocomplete, and unhelpful "that field doesn't exist" errors will also display:

Screenshot of the absolutely mammoth struct definition obscuring the autocomplete as I try to type in the existing field "endian", starting with the first 3 letters "end"

Helix log

Uh, I... uh... this excerpted version is almost 9MiB, so github won't let me really paste it in and post, so have an upload instead:
lol.md

Platform

Linux

Terminal Emulator

Konsole Version 24.12.1

Installation Method

pacman -Syu helix

Helix Version

helix 25.01.1

@workingjubilee workingjubilee added the C-bug Category: This is a bug label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

1 participant