mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +00:00
add doc for padding-left/right, add doc for inlay hint kind but also remove InlayHintKind#other, https://github.com/microsoft/vscode/issues/16221
This commit is contained in:
@@ -86,12 +86,12 @@ class TypeScriptInlayHintsProvider extends Disposable implements vscode.InlayHin
|
||||
}
|
||||
}
|
||||
|
||||
function fromProtocolInlayHintKind(kind: Proto.InlayHintKind): vscode.InlayHintKind {
|
||||
function fromProtocolInlayHintKind(kind: Proto.InlayHintKind): vscode.InlayHintKind | undefined {
|
||||
switch (kind) {
|
||||
case 'Parameter': return vscode.InlayHintKind.Parameter;
|
||||
case 'Type': return vscode.InlayHintKind.Type;
|
||||
case 'Enum': return vscode.InlayHintKind.Other;
|
||||
default: return vscode.InlayHintKind.Other;
|
||||
case 'Enum': return undefined;
|
||||
default: return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user