DEV Community

Jaga santagostino
Jaga santagostino

Posted on • Originally published at jagascript.com on

Opening a Folder and File in Vscode from Terminal

vscode

VSCode offers the code command (code-insiders for the beta channel) to open files and folders from terminal

these are some possible usage:code myfilecode a/b/c/d/text.shcode myFolder

what if we want to open a folder and also a file within?

use code path_to_foder --goto path_to_file

Top comments (0)