You should initialize your project with scarb init or if you want to using testing tool snforge init. After that you can type code . to open visual studio in your current dir
scarb init
snforge init
code .