Photo by Emma Matthews Digital Content Production on Unsplash

Three Custom Snippets I Use Every Time I Write Code

What is a snippet?

A Friendly Console.log()

a simple way to save some keystrokes

Adding A Custom Snippet to VSCode:

To Save Time Writing Custom Snippets…

How to Use Snippets in the editor:

console.log snippet in action

#2: A More Advanced Console.log()

A slightly more descriptive console.log
sample of more advanced console.log

#3: Fetch

a simple fetch request snippet in JSON

So, How Great are snippets?

Happy Hacking!

Contact Me

--

--

Full- Stack Software Engineer with a former life in high-end restaurant management. Currently working in React JS and Ruby on Rails.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Robert K.

Full- Stack Software Engineer with a former life in high-end restaurant management. Currently working in React JS and Ruby on Rails.