mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
polish feature renderers (#204821)
This commit is contained in:
committed by
GitHub
parent
fbb7175b4c
commit
c7b85d9d7a
@@ -12,6 +12,7 @@ import { Extensions, IExtensionFeatureTableRenderer, IExtensionFeaturesRegistry,
|
||||
import { IExtensionManifest } from 'vs/platform/extensions/common/extensions';
|
||||
import { Registry } from 'vs/platform/registry/common/platform';
|
||||
import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors';
|
||||
import { MarkdownString } from 'vs/base/common/htmlContent';
|
||||
|
||||
interface IJSONValidationExtensionPoint {
|
||||
fileMatch: string | string[];
|
||||
@@ -109,7 +110,7 @@ class JSONValidationDataRenderer extends Disposable implements IExtensionFeature
|
||||
|
||||
const rows: IRowData[][] = contrib.map(v => {
|
||||
return [
|
||||
{ data: Array.isArray(v.fileMatch) ? v.fileMatch.join(', ') : v.fileMatch, type: 'code' },
|
||||
new MarkdownString().appendMarkdown(`\`${Array.isArray(v.fileMatch) ? v.fileMatch.join(', ') : v.fileMatch}\``),
|
||||
v.url,
|
||||
];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user