- Rust Programming Cookbook
- Claus Matzinger
- 143字
- 2021-06-24 12:27:40
Installing Visual Studio Code and extensions
In its vanilla version, Visual Studio Code comes with syntax highlighting for many languages. However, for autocompletion or/and checking syntax, an extension is required. The Rust project supplies this extension:
- Open Visual Studio Code.
- Use Ctrl + P (cmd + P on macOS) to open the command-line interface, then type ext install rust-lang.rust to install the extension. The process should look like this:

The extension uses RLS to do static code analysis and provide completion and syntax checking. The extension should install the RLS component automatically, but sometimes it will fail to do this. One solution is to add the following configuration to Visual Studio Code's settings.json file (use Ctrl + P/cmd + P to find it):
{
"rust-client.channel":"stable"
}
Alternatively, rustup will also install RLS with the rustup component add rls command.
推薦閱讀
- Mastering NetBeans
- 新一代通用視頻編碼H.266/VVC:原理、標準與實現
- 兩周自制腳本語言
- 程序員面試筆試寶典
- Java FX應用開發教程
- Podman實戰
- TypeScript圖形渲染實戰:基于WebGL的3D架構與實現
- Unreal Engine 4 Shaders and Effects Cookbook
- Java程序設計入門
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- Frank Kane's Taming Big Data with Apache Spark and Python
- Python函數式編程(第2版)
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- HTML5移動前端開發基礎與實戰(微課版)
- C語言程序設計與應用實驗指導書(第2版)