Skip to content

Check if generation possible for current cursor position #132

@mlthlschr

Description

@mlthlschr

Hi,

I am thinking about combining neogen with the lsp code actions. For that, I would like to check if it is possible to generate a comment at the current cursor position. If there is, I would like to display an option like "Generate comment" in the code action window.

I checked the API and it looks like right now it is only possible to trigger the generation, even if it is not at the cursor position. Is that correct?

Would be great if there was a way to check that. In case thats not available and not planned I offer help with implementation, if needed.

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