diff --git a/specification.md b/specification.md index 035b2a4..2fafa70 100644 --- a/specification.md +++ b/specification.md @@ -935,6 +935,11 @@ export interface TextDocumentClientCapabilities { * property. The order describes the preferred format of the client. */ documentationFormat?: MarkupKind[]; + + /** + * Client supports the deprecated property on a completion item. + */ + deprecatedSupport?: boolean; } completionItemKind?: { @@ -2490,6 +2495,11 @@ interface CompletionItem { */ documentation?: string | MarkupContent; + /** + * Indicates if this item is deprecated. + */ + deprecated?: boolean; + /** * A string that should be used when comparing this item * with other items. When `falsy` the label is used. @@ -3033,6 +3043,11 @@ interface SymbolInformation { */ kind: number; + /** + * Indicates if this symbol is deprecated. + */ + deprecated?: boolean; + /** * The location of this symbol. The location's range is used by a tool * to reveal the location in the editor. If the symbol is selected in the