Skip to content

Commit b10091c

Browse files
authored
Several enhancements and bug fixes (krahets#981)
* Update the installation section. * Fix storage_pyramid.png * Update the landing page. * Update index.md * Add download buttons to the landing page. * Update the button style. * Update .gitignore
1 parent 723af99 commit b10091c

File tree

16 files changed

+215
-120
lines changed

16 files changed

+215
-120
lines changed

.gitignore

-5
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,3 @@
1515

1616
# test script
1717
test.sh
18-
19-
# overrides
20-
overrides/partials/*
21-
!overrides/partials/content.html
22-
!overrides/partials/footer.html
Loading
Loading

docs/chapter_appendix/installation.md

+25-17
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,57 @@
11
# 编程环境安装
22

3-
### VSCode
3+
## 安装 IDE
44

5-
本书推荐使用开源、轻量的 VSCode 作为本地 IDE ,下载并安装 [VSCode](https://code.visualstudio.com/)
5+
推荐使用开源、轻量的 VSCode 作为本地集成开发环境(IDE)。访问 [VSCode 官网](https://code.visualstudio.com/),根据操作系统选择相应版本的 VSCode 进行下载和安装
66

7-
### Java 环境
7+
![从官网下载 VSCode](installation.assets/vscode_installation.png)
88

9-
1. 下载并安装 [OpenJDK](https://jdk.java.net/18/)(版本需满足 > JDK 9)。
10-
2. 在 VSCode 的插件市场中搜索 `java` ,安装 Extension Pack for Java 。
9+
VSCode 拥有强大的扩展包生态系统,支持大多数编程语言的运行和调试。以 Python 为例,安装“Python Extension Pack”扩展包之后,即可进行 Python 代码调试。安装步骤如下图所示。
1110

12-
### C/C++ 环境
11+
![安装 VSCode 扩展包](installation.assets/vscode_extension_installation.png)
1312

14-
1. Windows 系统需要安装 [MinGW](https://sourceforge.net/projects/mingw-w64/files/)[配置教程](https://blog.csdn.net/qq_33698226/article/details/129031241));MacOS 自带 Clang ,无须安装。
15-
2. 在 VSCode 的插件市场中搜索 `c++` ,安装 C/C++ Extension Pack 。
16-
3. (可选)打开 Settings 页面,搜索 `Clang_format_fallback Style` 代码格式化选项,设置为 `{ BasedOnStyle: Microsoft, BreakBeforeBraces: Attach }`
13+
## 安装语言环境
1714

1815
### Python 环境
1916

2017
1. 下载并安装 [Miniconda3](https://docs.conda.io/en/latest/miniconda.html) ,需要 Python 3.10 或更新版本。
2118
2. 在 VSCode 的插件市场中搜索 `python` ,安装 Python Extension Pack 。
2219
3. (可选)在命令行输入 `pip install black` ,安装代码格式化工具。
2320

24-
### Go 环境
21+
### C/C++ 环境
2522

26-
1. 下载并安装 [go](https://go.dev/dl/)
27-
2. 在 VSCode 的插件市场中搜索 `go` ,安装 Go
28-
3. 按快捷键 `Ctrl + Shift + P` 呼出命令栏,输入 go ,选择 `Go: Install/Update Tools` ,全部勾选并安装即可
23+
1. Windows 系统需要安装 [MinGW](https://sourceforge.net/projects/mingw-w64/files/)[配置教程](https://blog.csdn.net/qq_33698226/article/details/129031241));MacOS 自带 Clang ,无须安装
24+
2. 在 VSCode 的插件市场中搜索 `c++` ,安装 C/C++ Extension Pack
25+
3. (可选)打开 Settings 页面,搜索 `Clang_format_fallback Style` 代码格式化选项,设置为 `{ BasedOnStyle: Microsoft, BreakBeforeBraces: Attach }`
2926

30-
### JavaScript 环境
27+
### Java 环境
3128

32-
1. 下载并安装 [node.js](https://nodejs.org/en/)
33-
2. 在 VSCode 的插件市场中搜索 `javascript` ,安装 JavaScript (ES6) code snippets 。
34-
3. (可选)在 VSCode 的插件市场中搜索 `Prettier` ,安装代码格式化工具。
29+
1. 下载并安装 [OpenJDK](https://jdk.java.net/18/)(版本需满足 > JDK 9)。
30+
2. 在 VSCode 的插件市场中搜索 `java` ,安装 Extension Pack for Java 。
3531

3632
### C# 环境
3733

3834
1. 下载并安装 [.Net 8.0](https://dotnet.microsoft.com/en-us/download)
3935
2. 在 VSCode 的插件市场中搜索 `C# Dev Kit` ,安装 C# Dev Kit ([配置教程](https://code.visualstudio.com/docs/csharp/get-started))。
4036
3. 也可使用 Visual Studio([安装教程](https://learn.microsoft.com/zh-cn/visualstudio/install/install-visual-studio?view=vs-2022))。
4137

38+
### Go 环境
39+
40+
1. 下载并安装 [go](https://go.dev/dl/)
41+
2. 在 VSCode 的插件市场中搜索 `go` ,安装 Go 。
42+
3. 按快捷键 `Ctrl + Shift + P` 呼出命令栏,输入 go ,选择 `Go: Install/Update Tools` ,全部勾选并安装即可。
43+
4244
### Swift 环境
4345

4446
1. 下载并安装 [Swift](https://www.swift.org/download/)
4547
2. 在 VSCode 的插件市场中搜索 `swift` ,安装 [Swift for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang)
4648

49+
### JavaScript 环境
50+
51+
1. 下载并安装 [node.js](https://nodejs.org/en/)
52+
2. 在 VSCode 的插件市场中搜索 `javascript` ,安装 JavaScript (ES6) code snippets 。
53+
3. (可选)在 VSCode 的插件市场中搜索 `Prettier` ,安装代码格式化工具。
54+
4755
### Dart 环境
4856

4957
1. 下载并安装 [Dart](https://dart.dev/get-dart)
Loading
+1-1
Loading
+1-1
Loading

docs/index.assets/btn_read_online.svg

+1-1
Loading

0 commit comments

Comments
 (0)