最新消息:20210917 已从crifan.com换到crifan.org

【部分解决】VSCode查看函数调用关系函数堆栈

VSCode crifan 11047浏览 0评论

某人提到SourceInsight 4.0中有个好用的功能:

relation

可以显示 函数调用关系

去看看VSCode中是否有,相关插件实现此功能?

vscode function call relation

Add the function relationship call graph function · Issue #51306 · microsoft/vscode

Issues · microsoft/vscode-cpptools

Is there a way to get a call graph for certain c++ function in Visual Studio? – Stack Overflow

python – Call Hierarchy in Visual Studio Code – Stack Overflow

此处试了试:

VSCode中的:选中函数 右键 Find All Reference

可以找到函数被调用的地方:

算是实现了部分的功能。

Visual Studio Code show call hierarchy – Stack Overflow

How to show uses of function in Visual Studio Code? – Stack Overflow

Code Graph – Visual Studio Marketplace

去看看,找不到:

才注意到:这个插件是VS的,不是VSCode的

Class view, call hierarchy, object browser, code definition window – Visual Studio | Microsoft Docs

【总结】

结论:

VSCode中 relation:不完全支持 部分支持 用Find All Reference

microsoft/vscode-tips-and-tricks: Collection of helpful tips and tricks for VS Code.

Shift+F12以弹框显示:

转载请注明:在路上 » 【部分解决】VSCode查看函数调用关系函数堆栈

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
94 queries in 0.185 seconds, using 23.35MB memory