vscode C/C++ 語法檢查


vscode 似乎對 C/C++ 並不自帶語法檢查功能。

因此需要安裝vscode的插件C/C++ Clang Command Adapter 和軟件 Clang

步驟如下:

  1. 安裝插件 C/C++ Clang Command Adapter

  2. 安裝軟件 Clang
    2.1 點擊鏈接:http://clang.llvm.org/
    2.2 點擊左側 Download 選項

    2.3 Download LLVM 11.0.0(版本號) -> Pre-Built Binaries -> Windows(64-bit)

    2.4 將 LLVMbin目錄所在路徑添加入環境變量 Path

    2.5 重啟 vscode


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM