Open VScode with current folder from terminal
This can be achieved with a few steps:
- Activate the “code” command from VScode itself: CMD + SHIFT + P or Ctrl + SHIFT + P
- Type in code and select the option “install “code” command in PATH”
- When you are in the directory of the files you want to open in VS Code, type ”code .” or ”code -n .”
- If nothing happens you will have to quit or restart the current Terminal session running.