oddtux

oddtux

V2EX 第 449275 号会员,加入于 2019-10-26 11:17:48 +08:00
oddtux 最近回复了
2020-03-27 12:25:54 +08:00
回复了 nevin47 创建的主题 Linux 请教一下,阅读 Linux Kernel 最快的解决方案(@Windows)是啥呢?
@nevin47
文件名的关系, windows 下很麻烦的, 还是 linux 下看吧. 双系统, 虚拟机, WSL2 都行的.
sublime, vscode, atom 都有 clangd 的扩展, 不一定用 clion
2020-03-27 00:41:40 +08:00
回复了 nevin47 创建的主题 Linux 请教一下,阅读 Linux Kernel 最快的解决方案(@Windows)是啥呢?
这都 0202 年了, 还有那么多人用祖传的 ctags.
SourceInsight 确实是 windows 下可用的*不编译*的最好方案了。

但绝对不是目前最舒服的解决方案了。
我现在是这么看内核代码的( Linux 平台),
1. 编个 bzImage, 然后执行 scripts/gen_compile_commands.py 生成 compile_commands.json 这个文件
2. 安装 clang
3. vscode + clangd 插件

(备注: 不喜欢 clang 或者安装困难可以用 ccls, 关键是要有 compile_commands.json
哪里有问题可以回复我,有时间会帮忙看 )
2020-01-14 17:49:04 +08:00
回复了 ebishi 创建的主题 程序员 帮我大家!我有一些问题想在 Boost Note 上讨论所有程序员!
@ebishi I will try Boost Note.
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5313 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 08:19 · PVG 16:19 · LAX 01:19 · JFK 04:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.