mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-19 14:22:19 +01:00
@@ -178,10 +178,11 @@ class LanguageTableRenderer extends Disposable implements IExtensionFeatureTable
|
||||
localize('grammar', "Grammar"),
|
||||
localize('snippets', "Snippets")
|
||||
];
|
||||
const rows: IRowData[][] = languages.sort((a, b) => a.id.localeCompare(b.id))
|
||||
const rows: IRowData[][] = languages.sort((a, b) => (a.id || '').localeCompare(b.id || ''))
|
||||
.map(l => {
|
||||
return [
|
||||
l.id, l.name,
|
||||
l.id,
|
||||
l.name,
|
||||
new MarkdownString().appendMarkdown(`${l.extensions.map(e => `\`${e}\``).join(' ')}`),
|
||||
l.hasGrammar ? '✔︎' : '\u2014',
|
||||
l.hasSnippets ? '✔︎' : '\u2014'
|
||||
|
||||
Reference in New Issue
Block a user