Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CompletionItemLabel

A structured label for a completion item.

Hierarchy

  • CompletionItemLabel

索引

Properties

Properties

label

label: string

The label of this completion item.

By default this is also the text that is inserted when this completion is selected.

Optional detail

detail: string

An optional string which is rendered less prominently directly after label, without any spacing. Should be used for function signatures or type annotations.

Optional description

description: string

An optional string which is rendered less prominently after CompletionItemLabel.detail. Should be used for fully qualified names or file path.

VS Code 插件开发中文文档 | VS Code 中文文档 | 官网文档

Generated by TypeDoc