Console Haste is a Visual Studio Code extension that adds console.log(...) semantically for JavaScript and TypeScript.
When pressing Alt+C on an empty line, this will insert a console.log('*** $1') snippet.
![Insert a non-prefilled console.log](https://github.com/ThisIsManta/vscode-console-haste/raw/HEAD/docs/insert-empty.gif)
When pressing Alt+C on a JavaScript expression, this will insert the console.log('*** xyz »', xyz) where xyz is an identifier or an expression.
![Insert a single prefilled console.log](https://github.com/ThisIsManta/vscode-console-haste/raw/HEAD/docs/insert-single.gif)
This also works with multiple cursor selection.
![Insert a multiple prefilled console.log](https://github.com/ThisIsManta/vscode-console-haste/raw/HEAD/docs/insert-multiple.gif)
When executing consoleHaste.deleteLog command, this will delete all console.log(...) that appear in all visible text editors.
![Delete all console.log](https://github.com/ThisIsManta/vscode-console-haste/raw/HEAD/docs/delete-all.gif)
| |