1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 03:57:54 +01:00
tldr/pages/common/code.md
Larry Lu 5cf150a17d code: add compare two files example (#2631)
* code: add compare two files example
2018-12-03 20:48:25 +05:30

362 B

code

Visual Studio Code.

  • 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_folder}}

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

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

  • Compare two files in VS Code:

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