Skip to content

Weird display of help for big Rust structs #12636

Open
@workingjubilee

Description

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

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions