Browse Source

code: add compare two files example (#2631)

* code: add compare two files example
Larry Lu 6 years ago
parent
commit
5cf150a17d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/code.md

+ 4 - 0
pages/common/code.md

@@ -17,3 +17,7 @@
 - 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}}`