How to automate your every day console.log()
Every time I code (javascript especially), I must think of debugging using the holy code, that is console.log()
. It’s impossible for me not to use console.log when coding. Then I think about how to automate this code instead of type it one by one when I need it (almost every time I think).
I tried so many tools, then finally I met clavier+. Before I explain how it works, usually I code using Webstorm IDE/IntelliJ in Windows 10 OS.
Clavier+ is free software that you can download on this site, made by Guillaume Ryder.
The graphical user interface is simple that you can understand when you first see it.
You can see on my screenshot that I add one shortcut Alt + A for console.log(. Because in Webstorm/IntelliJ when you type parentheses, it automatically converts it to (), you can type right away inside console.log().
Conclusion
You can add a shortcut that you want into clavier+ software that you can use to automate your programming. If you have any better idea or practice, leave a comment.