PhpStorm-在类文件中打印方法和变量 [英] PhpStorm - print out methods and variables in class files

查看:255
本文介绍了PhpStorm-在类文件中打印方法和变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在单独的文件中有大约10个班级.我已经好久没有看他们了.是否有PhpStorm函数可以让我列出各个文件中列出的方法和属性?

I have about 10 classes all in individual files. I have not looked at them for ages. Is there a PhpStorm function that would allow me to list the methods and attributes listed in the individual files?

解决方案是突出显示您感兴趣的所有类,然后使用图表工具.请在下面查看我的答案.

The solution is to highlight all the classes you are interested in and then use the diagram tool. See my answer below.

推荐答案

最终发现了我想要的东西.

Finally discovered what I was looking for.

在项目"视图中突出显示您感兴趣的所有类.右键单击图"->显示图"(或Ctrl + Alt + Shift + U).

Highlight all the classes you are interested in in Project view. Right click Diagrams->Show Diagrams (or Ctrl+Alt+Shift+U).

在屏幕上排列图.

选择浅色背景(按Ctrl Backtick),选择5:外观"(不是主题).

Select light colored background (Ctrl Backtick) select 5: Look and Feel (not theme).

右键单击图并进行打印预览.选择全尺寸图.单击确定,然后进行页面调整.我在11 x 17的纸上打印了8个班级,并且处于"help-my-bad-memory-heaven"状态.正是我想要的.

Right click on diagram and do a print preview. Select Graph for full size. Click OK and make page adjustments. I printed out my 8 classes on an 11 x 17 sheet and I am in "help-my-bad-memory-heaven". Just what I was looking for.

希望是有用的.

这篇关于PhpStorm-在类文件中打印方法和变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆