This extension wraps the word near your cursor and replaces it as an argument for console.log
.
- Optimized for keyboard use
- No selection needed
- Wrap and replace for fast logging
- Doesn't break indent
- Can log variables with and without prefixed text
- Supports custom prefix
The fastest way to log your variables! Type it and press Ctrl+Alt+W
+ W
.
Another way to console.log
your variables is to simply place your mouse cursor on them and then wrap them on the line below with Ctrl+Alt+W
+ Down
or the line above with Ctrl+Alt+W
+ Up
.
Does the keyboard shortcuts seem to complex? Don't worry, they feel way more comfortable than they look. :)
Also, you are free to rebind all keyboard shortcuts as you want in your workspace and user settings files. :)
Replace the word on your cursor or the selected text
Alt+Shift+W
+W
Replace the variable on the mouse cursor
Ctrl+Alt+W
+W
Ctrl+Alt+W
+Ctrl+Alt+W
Ctrl+Shift+Alt+W
+Ctrl+Shift+Alt+W
Insert console.log on the line below
Ctrl+Alt+W
+Down
Ctrl+Alt+W
+Ctrl+Alt+Down
Ctrl+Shift+Alt+W
+Ctrl+Shift+Alt+Down
Insert console.log on the line above
Ctrl+Alt+W
+Up
Ctrl+Alt+W
+Ctrl+Alt+Up
Ctrl+Shift+Alt+W
+Ctrl+Shift+Alt+Up