VS Code snippet leads to funny, unintentional results. \_(ツ)_/

chiangs

Stephen Chiang

Posted on October 31, 2019

VS Code snippet leads to funny, unintentional results. \_(ツ)_/

A long time ago I decided to create a snippet where if in VS Code I type: :shrug I get ¯\_(ツ)_/¯.

It isn't the most useful snippet, but fun nonetheless.

Lately my autocomplete for CSS has been giving me this snippet every time I hit enter after I start a CSS property.

So my CSS file is littered with these guys because I hit enter or tab for the autocomplete without checking which snippet it's referring to leading to some self-chuckling results.

Alt Text

What are some of your funny accidents or unintentional results from creating your own snippets and shortcuts in code?

💖 💪 🙅 🚩
chiangs
Stephen Chiang

Posted on October 31, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related