提交 71efa04f 编写于 作者: S Sandeep Somavarapu

Fix #44725

上级 45e78ce0
......@@ -43,6 +43,7 @@ export interface IGrammar {
export interface IJSONValidation {
fileMatch: string;
url: string;
}
export interface IKeyBinding {
......
......@@ -730,8 +730,15 @@ export class ExtensionEditor extends BaseEditor {
const details = $('details', { open: true, ontoggle: onDetailsToggle },
$('summary', null, localize('JSON Validation', "JSON Validation ({0})", contrib.length)),
$('ul', null, ...contrib.map(v => $('li', null, v.fileMatch)))
);
$('table', null,
$('tr', null,
$('th', null, localize('fileMatch', "File Match")),
$('th', null, localize('schema', "Schema"))
),
...contrib.map(v => $('tr', null,
$('td', null, v.fileMatch),
$('td', null, v.url)
))));
append(container, details);
return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册