How to automate your every day console.log()

Ikhwan Noor I
Oct 26, 2020

--

console log picture
console.log(); image source

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.

Clavier+ GUI

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().

Example automation console.log in Webstorm

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.

--

--

No responses yet