Visual Studio Code - Code Snippets
Recently, I watched some Ruby on Rails live-stream and I found out that there is nice feature in VSCode that I didn’t know.
It’s possible to build custom code snippets and use them with only a few keystrokes. This is great productivity improvement.
I added two snippets for Rspec code skeleton and simple Ruby class with two predefined methods, like this:
Code -> Preferences -> User Snippets -> ruby.json