mirror of
https://github.com/krahets/hello-algo.git
synced 2026-02-12 23:25:44 +08:00
* Review the EN heading format. * Fix pythontutor headings. * Fix pythontutor headings. * bug fixes * Fix headings in **/summary.md * Revisit the CN-to-EN translation for Python code using Claude-4.5 * Revisit the CN-to-EN translation for Java code using Claude-4.5 * Revisit the CN-to-EN translation for Cpp code using Claude-4.5. * Fix the dictionary. * Fix cpp code translation for the multipart strings. * Translate Go code to English. * Update workflows to test EN code. * Add EN translation for C. * Add EN translation for CSharp. * Add EN translation for Swift. * Trigger the CI check. * Revert. * Update en/hash_map.md * Add the EN version of Dart code. * Add the EN version of Kotlin code. * Add missing code files. * Add the EN version of JavaScript code. * Add the EN version of TypeScript code. * Fix the workflows. * Add the EN version of Ruby code. * Add the EN version of Rust code. * Update the CI check for the English version code. * Update Python CI check. * Fix cmakelists for en/C code. * Fix Ruby comments
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, 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.
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 must be > JDK 9).
- 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.

