I have just downloaded unity and saw that now it supports Visual studio code, I downloaded it and made it the default editor.
After trying to edit a script, it prompted
I had the same problem with Unity + VS Code combo.
I have found an extension called Unity CodeSnippets
I highly recommend to download it. This is much better than any of other snippets collection for VSCode.