Here is example of what I want to do:
I used Ctrl+Shift+T in WebStorm but now I\'m stuck with finding the equal shortcut at
You can install the Auto Insert Semicolon extension.
Work fine for me.Shortcut: alt+enter
I think you will need to set up a macro for that, it isn't built-in. See vscode macro extension.
And this in your settings:
"macros": {
"insert semicolon and goto next line": [
"cursorLineEnd",
{
"command": "type",
"args": {
"text": ";"
}
},
"editor.action.insertLineAfter"
]
}
Set up a keybinding for that:
{
"key": "ctrl+shift+;",
"command": "macros.insert semicolon and goto next line"
},
I had the same issue and I solved with the shortcut Ctrl+Enter