mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Fix standard string hovers no longer appearing
This commit is contained in:
@@ -15,7 +15,6 @@ import { ThemeIcon, MarkdownString as MarkdownStringType } from 'vs/workbench/ap
|
||||
import { MarkdownString } from 'vs/workbench/api/common/extHostTypeConverters';
|
||||
import { ExtensionIdentifier } from 'vs/platform/extensions/common/extensions';
|
||||
import { MarshalledId } from 'vs/base/common/marshalling';
|
||||
import { IMarkdownString } from 'vs/base/common/htmlContent';
|
||||
import { isString } from 'vs/base/common/types';
|
||||
|
||||
export interface IExtHostTimeline extends ExtHostTimelineShape {
|
||||
@@ -146,11 +145,11 @@ export class ExtHostTimeline implements IExtHostTimeline {
|
||||
}
|
||||
}
|
||||
|
||||
let detail: IMarkdownString | string | undefined;
|
||||
let detail;
|
||||
if (MarkdownStringType.isMarkdownString(props.detail)) {
|
||||
detail = MarkdownString.from(props.detail);
|
||||
}
|
||||
else if (isString(detail)) {
|
||||
else if (isString(props.detail)) {
|
||||
detail = props.detail;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user