瀏覽代碼

code: add compare two files example (#2631)

* code: add compare two files example
Larry Lu 6 年之前
父節點
當前提交
5cf150a17d
共有 1 個文件被更改,包括 4 次插入0 次删除
  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}}`