sbldehanhan
V2EX  ›  C++

阅读代码需要什么工具吗?

  •  
  •   sbldehanhan · Aug 9, 2023 · 4307 views
    This topic created in 1188 days ago, the information mentioned may be changed or developed.

    像 source insight 这种东西真的有用吗?

    14 replies  •  2023-08-10 09:51:49 +08:00
    didikee
    didikee
    Aug 9, 2023
    1
    我刚开始学习的时候用了,在查系统源码时比较方便。
    zengxs
    zengxs
    Aug 9, 2023
    2
    source insight 这东西也太古早了,现在可以考虑用 sourcegraph
    cnbatch
    cnbatch
    Aug 9, 2023❤️2
    3
    我在公司内会用 Visual Studio 企业版的 Code Maps 辅助阅读。中文名叫做“代码图”。
    https://learn.microsoft.com/en-us/visualstudio/modeling/map-dependencies-across-your-solutions
    https://learn.microsoft.com/zh-cn/visualstudio/modeling/map-dependencies-across-your-solutions

    在家的话……家用电脑从来不看公司内容,都是只看别人的开源项目,我懒得看那么细致。Unix 使用 grep + find ,Windows PowerShell 使用 select-string ,查清楚调用关系就算了。
    thinkm
    thinkm
    Aug 9, 2023
    4
    主 C++,用 source insight 习惯了,也感觉很方便 没有换工具的想法
    yngzij
    yngzij
    Aug 9, 2023
    5
    source insight 我买了,看 C++还是不错的,子窗口函数详情,但是 golang ,python 之类的就不太好用了。
    ruanimal
    ruanimal
    Aug 9, 2023
    6
    understand 和 source insight 类似,不过现在应该是都用 vscode 了吧
    sbldehanhan
    sbldehanhan
    OP
    Aug 9, 2023
    7
    @ruanimal #6 VSCode 不能生成函数调用关系图和类图。我想要这两个功能。
    zzz22333
    zzz22333
    Aug 9, 2023
    8
    source insight 用不习惯,同想找一个可以看函数调用关系图和类图的工具
    PowerDi
    PowerDi
    Aug 9, 2023
    9
    @sbldehanhan 有解决方案了吗
    NessajCN
    NessajCN
    Aug 9, 2023
    10
    @sbldehanhan 都有啊....
    rioshikelong121
    rioshikelong121
    Aug 9, 2023
    11
    vscode 有什么插件可以辅助代码阅读么。
    zhiyu1998
    zhiyu1998
    Aug 9, 2023
    12
    ChatGPT code interpret
    mahaoqu
    mahaoqu
    Aug 10, 2023
    13
    codebrowser.dev 读 C++还是挺好的
    sbldehanhan
    sbldehanhan
    OP
    Aug 10, 2023
    14
    @NessajCN #10 是插件吗?有推介的吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1017 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 19:10 · PVG 03:10 · LAX 11:10 · JFK 14:10
    ♥ Do have faith in what you're doing.