remembering-and-troubleshooting-vcode-editor

2019-10-26T12:36:37.000Z
Tags: remembering vcode programming productive

Started using vcode for all my coding projects. I like it a lot, especially some of the features it has, like the terminal console which I use a lot to compile and run commands while I am editing files. However a while back I working on my blog and there was some header code that I was copying and pasting often, so I decided to turn it into a code snippet in vcode. After I got it all working I left it along. Basically I can create a new blog entry in md, and type blog + tab

This will execute my blog md code snippet with the header ect. However it took me a while to remember how to execute the snippet. It turned out the snippet was disabled for some reason. After digging deeper I found that I needed to add some editor settings for my md files. By typing cmd + shift + p it brings up a drop down menu in vcode, and simply look for Preferences: Configure Language Specific Settings... then I chose markdown. From there I added the following:

"editor.snippetSuggestions": "top",
"editor.quickSuggestions": {
    "other": true,
}

and when I now created a new md file and typed blog + tab it ones again inserted my snippet.

Last Updated: 10/26/2019, 1:20:25 PM