Skip to content

Bindings' long unformatted lines does not work well with RLS #1457

Closed
@LaylBongers

Description

@LaylBongers

Describe the Bug

RLS (and by extension vscode-rust) doesn't like really long lines. It expects the code to be formatted reasonably. This as a result causes some issues. Errors are shown about RLS not being able to tokenize long lines for performance reasons, and tooltips show the entire line, slowing down VSCode in the process:

Code_2019-04-14_19-59-57

Expected Behavior

It would be nice if these bindings were run through rustfmt, or just formatted a bit more friendly to RLS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions