Quick operation for console.log variables anywhere.
origin | generate | |
---|---|---|
=> |
- ✨ It can be used anywhere.
- 🍭 Quick generate console.log, single variable without Selection.
- 🌭 Multiple continuous variables like deconstruct assignment、params of function with selection.
- 🎉 Quick clear all console.log in the active file.
- 🍖 Quick toggle all console.log's state of comment in the active file.
- 🛠 Option for console variables in an object.
- 🛠 Option for console log variables name.
- Move the cursor near in variable.
- Press
Cmd + Shift + L
(Mac) orCtrl + Shift + L
(Windows). - Next line will be:
console.log({ variable })
- Selected continuous variables or params of function.
- Press
Cmd + Shift + L
(Mac) orCtrl + Shift + L
(Windows). - Next line will be:
console.log({ variable1, variable2 })
- Press
Cmd + Shift + K
(Mac) orCtrl + Shift + K
(Windows).
- Press
Cmd + Shift + J
(Mac) orCtrl + Shift + J
(Windows).
- Type:
Boolean
- Default:
true
Console log variables in an object.
- Type:
Boolean
- Default:
false
Console log variables name.
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "l"],
"commands": [
"quickConsole.createConsoleLog",
"extension.vim_ctrl+["
]
},
{
"before": ["<leader>", "k"],
"commands": ["quickConsole.clearConsoleLog"]
},
{
"before": ["<leader>", "j"],
"commands": ["quickConsole.toggleConsoleLog"]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "l"],
"commands": ["quickConsole.createConsoleLog"]
},
{
"before": ["<leader>", "k"],
"commands": ["quickConsole.clearConsoleLog"]
},
{
"before": ["<leader>", "j"],
"commands": ["quickConsole.toggleConsoleLog"]
}
]
✨ Happy hacking!
MIT