tldr/pages/common/code.md
Marco Bonelli ac4094e0ad Refactor: improve consistency of the term "directory".
This commit changes the term "folder" to "directory" in every
instance where the first is used in an example description, but the
second is used in the example code, and vice versa.
2019-02-08 19:43:24 +00:00

419 B

code

Visual Studio Code. Homepage: https://github.com/microsoft/vscode.

  • Open VS Code:

code

  • Open the current directory in VS Code:

code .

  • Open a file or directory in VS Code:

code {{path/to/file_or_directory}}

  • Open a file or directory in the currently open VS Code window:

code --reuse-window {{path/to/file_or_directory}}

  • Compare two files in VS Code:

code -d {{file1}} {{file2}}