Skip to content

Commit 3206c30

Browse files
committed
Auto focus and select tab size for easy editing
1 parent b827c76 commit 3206c30

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ide/settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ export function openSettings() {
195195
});
196196
dialog.on('shown.bs.modal', () => {
197197
updateUI(settings);
198+
$('#setting_tabSize').focus().select();
198199
});
199200
dialog.on('keydown', (e) => {
200201
if (e.key === 'Enter') {

0 commit comments

Comments
 (0)