Pair program with me! profile for carousel at Stack Overflow, Q&A for professional and enthusiast programmers

3/11/2013

Chrome snippet extension

Since I am dedicated chrome developer  tools user ( especially console ), there are cases in which I need to type a long lines of repeating code.
Chrome has a nice snippet feature, which is hidden under settings icon.  To enable it just go to settings button ( in the bottom right corner ), then choose experiments and check the snippets support checkbox.

Now, when you open sources panel, there is a snippet area. Just create new snippet ( right click to open small menu ), enter you code and have fun.

Important note: you may have experimental extensions disabled. If so, just type about:flag in the address bar, and find experimental extensions api, which needs to be enabled.

Here is a screenshot from my snippet with  console panel opened:


Happy Coding

No comments:

Post a Comment