文章目錄
- VS Code
- 安裝的插件
- C/C++
- CMake
- GitHub Copilot
- Remote-SSH
- 收獲
VS Code
下載鏈接:https://code.visualstudio.com
安裝的插件
C/C++
是什么:C/C++ IntelliSense, debugging, and code browsing.
為什么:初步了解如何在VS Code里使用C++輸出hello,world
怎么做:Introductory Videos for C++ —— Getting started with C++ in 5 minutes
CMake
是什么:A Powerful Software Build System(CMake具體是啥不太清楚,只知道首先寫好源程序后,然后再寫一個CMakeLists.txt,最后build & run)
為什么:跨平臺,省心
怎么做:Step 1: A Basic Starting Point
GitHub Copilot
是什么:GitHub Copilot is an AI pair programmer tool that helps you write code faster and smarter. (玩的開心)
為什么:大模型乃吸收天地精華之物
怎么做:
gpt-4?
Remote-SSH
是什么:Open any folder on a remote machine using SSH and take advantage of VS Code’s full feature set. (連接遠程電腦的工具)
為什么:實際開發中,有些開發場景需要采用本地Remote服務端開發模式
怎么做:
- 使用VSCode插件Remote-SSH連接服務器
- VScode實現本地與遠端同步開發的兩種方式
遇到的困難: - 解決 Vscode連接ssh后,沒有python解釋器問題
無需像pycharm要求本地項目和遠程項目同步,直接在遠程服務器上調試運行。
收獲
- json格式文件:
- JSON文件的詳細介紹,小白零基礎輕松了解JSON文件
- VSCode中 task.json 和 launch.json 的作用和參數解釋以及配置教程