現已釋出!閱讀關於 11 月新增功能和修復的內容。

Visual Studio Code 入門

在本教程中,我們將帶你瞭解如何設定 Visual Studio Code,並概述其基本功能。

我們推薦的下一個影片:Visual Studio Code 中的程式碼編輯

從列表中選擇另一個影片:入門影片

影片大綱

  • 下載並安裝 VS Code。
  • 開啟資料夾
    • 檔案 > 開啟資料夾 (Ctrl+K Ctrl+O)
  • 檔案資源管理器
    • 檢視 > 資源管理器 (⇧⌘E (Windows, Linux Ctrl+Shift+E))
  • 搜尋檢視
    • 檢視 > 搜尋 (⇧⌘F (Windows, Linux Ctrl+Shift+F))
  • 原始碼管理
    • 檢視 > 原始碼管理 (SCM) (⌃⇧G (Windows, Linux Ctrl+Shift+G))
  • 執行和除錯
    • 檢視 > 執行 (⇧⌘D (Windows, Linux Ctrl+Shift+D))
  • 擴充套件檢視
    • 檢視 > 擴充套件 (⇧⌘X (Windows, Linux Ctrl+Shift+X))
  • 開啟命令面板。
    • 檢視 > 命令面板... (⇧⌘P (Windows, Linux Ctrl+Shift+P))
  • 輸出面板
    • 檢視 > 輸出 (⇧⌘U (Windows Ctrl+Shift+U, Linux Ctrl+K Ctrl+H))
  • 除錯控制檯
    • 檢視 > 除錯控制檯 (⇧⌘Y (Windows, Linux Ctrl+Shift+Y))
  • 問題面板
    • 檢視 > 問題 (⇧⌘M (Windows, Linux Ctrl+Shift+M))
  • 整合終端
    • 檢視 > 終端 (⌃` (Windows, Linux Ctrl+`))
  • 建立新檔案
    • 檔案 > 新建檔案 (⌘N (Windows, Linux Ctrl+N))
  • 儲存檔案
    • 檔案 > 儲存 (⌘S (Windows, Linux Ctrl+S))
  • 自動儲存
    • 檔案 > 自動儲存
  • 執行
    • 執行 > 啟動除錯 (F5)
  • 程式語言擴充套件
    • Python - IntelliSense、程式碼檢查、除錯、程式碼格式化、重構等。
    • Live Preview - 託管本地伺服器以預覽網頁。
  • 縮放
    • 縮小 (⌘- (Windows, Linux Ctrl+-))
    • 放大 (⌘= (Windows, Linux Ctrl+=))
  • 使用顏色主題自定義編輯器。
    • 檔案 > 首選項 > 主題 > 顏色主題 (⌘K ⌘T (Windows, Linux Ctrl+K Ctrl+T))

下一個影片

  • 使用者介面 - 檢視 VS Code 的文件。
  • 設定概述 - 關於 VS Code 入門的文件,包括特定於平臺的設定。
  • IntelliSense - VS Code 在你輸入時提供智慧程式碼補全。
© . This site is unofficial and not affiliated with Microsoft.