Skip to content

Commit c487e61

Browse files
Update lab0-env.md
1 parent 4969338 commit c487e61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lab0-env.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ CompileFlags: # 编译标志部分
134134
- [官方文档](https://clangd.llvm.org/config)
135135
- [我的博客文章](https://zhuanlan.zhihu.com/p/871508940)
136136

137-
### 3.3.2 生成`compile_commands.json`文件
137+
### 3.3.2 生成`compile_commands.json`文件(推荐⭐⭐⭐)
138138
这里首先简单介绍下`compile_commands.json`文件是什么, `compile_commands.json` 文件是一个标准的 JSON 文件,它包含了项目中每个源文件编译时所使用的命令。这个文件通常被 IDE 和 代码分析工具 用来获取项目的编译信息,从而实现以下功能:
139139

140140
- 代码补全和智能提示:通过解析编译命令中的头文件路径和宏定义,工具可以提供更准确的代码补全。
@@ -209,4 +209,4 @@ src/
209209
├── sst/ # SSTable 的读写与管理
210210
├── utils/ # 工具函数与通用组件
211211
├── wal/ # Write Ahead Log管理
212-
```
212+
```

0 commit comments

Comments
 (0)