DEV Community

Stephen Chiang
Stephen Chiang

Posted on

3 1

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?

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more