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.
What are some of your funny accidents or unintentional results from creating your own snippets and shortcuts in code?
Top comments (0)