gpt4 book ai didi

PhpStorm - 打印出类文件中的方法和变量

转载 作者:行者123 更新时间:2023-12-04 17:33:23 26 4
gpt4 key购买 nike

我在单个文件中有大约 10 个类。我已经很久没有看过他们了。是否有一个 PhpStorm 函数可以让我列出各个文件中列出的方法和属性?

编辑:解决方案是突出显示您感兴趣的所有类,然后使用图表工具。看我下面的回答。

最佳答案

您可以使用 PHPStorm 的结构 View :

Use the Structure pop-up window or the Structure tool window to quickly jump to the desired member of a file in the editor. The Structure views provide quick navigation for all supported file types.



Structure View

You can also use the Structure tool window (Alt+7). This view is flexibly configurable and useful for many tasks, apart from navigation. However, the File Structure pop-up window is the easiest way for quick navigation.



来源 https://www.jetbrains.com/phpstorm/help/navigating-with-structure-views.html

关于PhpStorm - 打印出类文件中的方法和变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34479256/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com