16.1 Programming Environment Installation¶
16.1.1 Installing Ide¶
We recommend using the open-source and lightweight VS Code as the local integrated development environment (IDE). Visit the VS Code official website, and download and install the appropriate version of VS Code according to your operating system.
Figure 16-1 Download VS Code from the Official Website
VS Code has a powerful ecosystem of extensions that supports running and debugging most programming languages. For example, after installing the "Python Extension Pack" extension, you can debug Python code. The installation steps are shown in the following figure.
Figure 16-2 Install VS Code Extensions
16.1.2 Installing Language Environments¶
1. Python Environment¶
- Download and install Miniconda3, which requires Python 3.10 or newer.
- Search for
pythonin the VS Code extension marketplace and install the Python Extension Pack. - (Optional) Enter
pip install blackon the command line to install the code formatter.
2. C/c++ Environment¶
- Windows systems need to install MinGW (configuration tutorial); macOS comes with Clang built-in and does not require installation.
- Search for
c++in the VS Code extension marketplace and install the C/C++ Extension Pack. - (Optional) Open the Settings page, search for the
Clang_format_fallback Stylecode formatting option, and set it to{ BasedOnStyle: Microsoft, BreakBeforeBraces: Attach }.
3. Java Environment¶
- Download and install OpenJDK (version must be > JDK 9).
- Search for
javain the VS Code extension marketplace and install the Extension Pack for Java.
4. C# Environment¶
- Download and install .Net 8.0.
- Search for
C# Dev Kitin the VS Code extension marketplace and install C# Dev Kit (configuration tutorial). - You can also use Visual Studio (installation tutorial).
5. Go Environment¶
- Download and install Go.
- Search for
goin the VS Code extension marketplace and install Go. - Press
Ctrl + Shift + Pto open the command palette, typego, selectGo: Install/Update Tools, check all options and install.
6. Swift Environment¶
- Download and install Swift.
- Search for
swiftin the VS Code extension marketplace and install Swift for Visual Studio Code.
7. Javascript Environment¶
- Download and install Node.js.
- (Optional) Search for
Prettierin the VS Code extension marketplace and install the code formatter.
8. Typescript Environment¶
- Follow the same installation steps as the JavaScript environment.
- Install TypeScript Execute (tsx).
- Search for
typescriptin the VS Code extension marketplace and install Pretty TypeScript Errors.
9. Dart Environment¶
10. Rust Environment¶
- Download and install Rust.
- Search for
rustin the VS Code extension marketplace and install rust-analyzer.

