Skip to content

Autoimport with code suggestion. #210

Open
@kervanaslan

Description

@kervanaslan

Hi,

When I need help, I press Ctrl + ., and Neovim shows me some suggestions. However, when I type a class name and the namespace for that class is not defined in the using statements, I don't see the class name in the suggestion list.

But when I use :lua vim.lsp.buf.code_action(), it shows a list of possible actions. It finds the class name and offers to add the using statement with its correct namespace.

So, is there a way to get these suggestions inside the IDE, something like Ctrl + .?

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions