TypeshadeCompletionItem
이 페이지에서

TypeshadeCompletionItem

인터페이스, 편집기 분류

Completion item exposed by the Typeshade language layer.

import type { TypeshadeCompletionItem } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

interface TypeshadeCompletionItem {
readonly label: string;
readonly kind: 'keyword' | 'type' | 'function' | 'attribute' | 'value';
readonly detail: string;
readonly insertText?: string;
}

인스턴스 속성

label읽기 전용 string

Text shown for the completion item.

kind읽기 전용 'keyword' | 'type' | 'function' | 'attribute' | 'value'

Category used to pick an editor icon and grouping.

detail읽기 전용 string

Short human-readable description shown alongside the label.

insertText선택 사항읽기 전용 string

Snippet text to insert, when it differs from label.

소스

src/language-service.ts, 66행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고