Skip to content

LspCodeAction only shows commands on the current line #1626

@user202729

Description

@user202729

I'm using clangd, and one of its feature is to show "Included header ... is not used directly (fixes available)" warning messages.

However, :LspCodeAction only work when the cursor is on the line that contains the warning.

Consider updating the README, which currently contains

Gets a list of possible commands that can be applied to a file so it can be fixed (quick fix)

I think "the current line" is better match than "a file". Although I don't know if this is specific to clangd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions