mirror of
http://bgp.hk.skcks.cn:10086/https://github.com/krahets/hello-algo
synced 2026-04-20 21:00:58 +08:00
* Update giscus scroller. * Refine English docs and landing page * Sync the headings. * Update landing pages. * Update the avatar * Update Acknowledgements * Update landing pages. * Update contributors. * Update * Fix the formula formatting. * Fix the glossary. * Chapter 6. Hashing * Remove Chinese chars. * Fix headings. * Update giscus themes. * fallback to default giscus theme to solve 429 many requests error. * Add borders for callouts. * docs: sync character encoding translations * Update landing page media layout and i18n
3.9 KiB
3.9 KiB
Programming Environment Installation
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.
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.
Installing Language Environments
Python Environment
- Download and install Miniconda3 with Python 3.10 or later.
- 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.
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 }.
Java Environment
- Download and install OpenJDK (version 10 or later).
- Search for
javain the VS Code extension marketplace and install the Extension Pack for Java.
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).
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.
Swift Environment
- Download and install Swift.
- Search for
swiftin the VS Code extension marketplace and install Swift for Visual Studio Code.
JavaScript Environment
- Download and install Node.js.
- (Optional) Search for
Prettierin the VS Code extension marketplace and install the code formatter.
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.
Dart Environment
Rust Environment
- Download and install Rust.
- Search for
rustin the VS Code extension marketplace and install rust-analyzer.

