Skip to content

Add preview to completions #1

Description

@FichteFoll

Using \t in the completion string the following text will be displayed as a description right-aligned in the completion popup (example, using the API). I tested it using

{"trigger":"abs\tabs(...)", "contents": "abs(${1:x})"}

and it worked really well.

The reason why I consider this to be really useful is that this way you can easily see which completions come from packages/plugins and which are from the current file and added by ST.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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