new json lines command

This commit is contained in:
Jan Prochazka
2022-02-13 10:47:50 +01:00
parent 62f3c2bb3d
commit b8584db48f
2 changed files with 17 additions and 5 deletions

View File

@@ -259,6 +259,21 @@ registerCommand({
},
});
registerCommand({
id: 'new.jsonl',
category: 'New',
icon: 'img archive',
name: 'JSON Lines',
menuName: 'New JSON lines file',
onClick: () => {
openNewTab({
title: 'Lines #',
icon: 'img archive',
tabComponent: 'JsonLinesEditorTab',
});
},
});
registerCommand({
id: 'new.sqliteDatabase',
category: 'New',