Skip to content

Assists which always generate a snippet regardless of snippet capability #17332

@DropDemBits

Description

@DropDemBits

These assists always generate a snippet regardless of if the LSP client does or doesn't support the snippet text edit capability:

They unfortunately weren't captured in the initial batch of migrations to the new structured snippet API as they didn't use {insert,replace}_snippet, which is what I used to figure out which assists needed migrating.

Note that because the structured snippet API (add_{tabstop,placeholder}_*) relies on syntax nodes, they must also be migrated away from using insert and replace.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions