KEMBAR78
Clarify usage of {{value}} and cursor position after completion · Issue #82 · microsoft/language-server-protocol · GitHub
Skip to content

Clarify usage of {{value}} and cursor position after completion #82

@mickaelistria

Description

@mickaelistria

In #81, I learned that {{}} can be used in a completion item to indicate where cursor should be placed. The protocol documentation doesn't mention that. Can it please be added? Also some related questions:

  • Does this apply to any TextEdit or only completion ones?
  • Is this something that is configured?
  • Would it make sense to avoid this workaround and have the TextEdit also contain an (optional) recommendation of a cursor position?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions