mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-03 18:43:58 +00:00
hotkey for format SQL code
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
id: 'query.formatCode',
|
id: 'query.formatCode',
|
||||||
category: 'Query',
|
category: 'Query',
|
||||||
name: 'Format code',
|
name: 'Format code',
|
||||||
|
keyText: 'Shift+Alt+F',
|
||||||
testEnabled: () => getCurrentEditor()?.isSqlEditor(),
|
testEnabled: () => getCurrentEditor()?.isSqlEditor(),
|
||||||
onClick: () => getCurrentEditor().formatCode(),
|
onClick: () => getCurrentEditor().formatCode(),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user