mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
For parts with location and command: give link gesture to location and append command to context menu, add more jsdoc for API, remove dead code, https://github.com/microsoft/vscode/issues/16221#issuecomment-264527520
This commit is contained in:
@@ -1271,7 +1271,8 @@ class InlayHintsAdapter {
|
||||
result.tooltip = part.tooltip && typeConvert.MarkdownString.from(part.tooltip);
|
||||
if (Location.isLocation(part.location)) {
|
||||
result.location = typeConvert.location.from(part.location);
|
||||
} else if (part.command) {
|
||||
}
|
||||
if (part.command) {
|
||||
result.command = this._commands.toInternal(part.command, disposables);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user