Skip to content

$0 in extract function assist #7793

@weigangd

Description

@weigangd

Hello, I am using nvim + LanguageClient-neovim and I have no plugin for snippet support. When I use the "extract function assist" code action, the generated function always has the name $0fun_name. The same happens with nvim-lsp. If I understand #2518 and #4117 correctly, snippet-completion should be disabled automatically if the client does not support snippets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-assistsE-easyE-has-instructionsIssue has some instructions and pointers to code to get startedS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions