open project in vs code from terminal
// Navigate to your project directory in terminal
// then enter the below command
open -a 'Visual Studio Code' .
// the above will open the whole project folder
// if you wan to only open a single file from the project use
open -a 'Visual Studio Code' fileName.html