- 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.
推薦閱讀
- Learning Scala Programming
- Bootstrap Site Blueprints Volume II
- SOA實踐
- 羅克韋爾ControlLogix系統應用技術
- Animate CC二維動畫設計與制作(微課版)
- Visual Basic程序設計教程
- 零基礎學MQL:基于EA的自動化交易編程
- Learning ArcGIS Pro
- 鋒利的SQL(第2版)
- Python機器學習算法與實戰
- 零基礎輕松學SQL Server 2016
- Managing Microsoft Hybrid Clouds
- App Inventor 2 Essentials
- Android Sensor Programming By Example
- Visual Basic程序設計基礎