与Eclipse关于"Call Hierarchy"和"Find Reference"功能比较

"Call Hierarchy"功能比较

Eclipse的"Call Hierarchy"可以查看一个Java方法或类成员变量的调用树(caller和callee两个方向)。
IntelliJ IDEA中可以在主菜单中选择Navigate | Call Hierarchy命令查看一个Java方法调用树(caller和callee两个方向),但是不像Eclipse那样可以查看类成员变量的调用树。
IntelliJ IDEA中可以在主菜单中选择Analyze | Dataflow from/to Here两个命令查看表达式、变量和方法参数的传递关系树。
Eclipse的"Call Hierarchy"命令的功能,在IntelliJ IDEA中被划分到了三个命令,增加了一点点记忆成本,不过IntelliJ IDEA中的处理范围更广,相对功能更强一些。

"Find Reference"功能比较

Eclipse的"Find Reference"可以查看一个Java类、方法或变量的直接使用情况。
IntelliJ IDEA的"Find Usage"具有相同的功能。在我的体验中,IntelliJ IDEA中的功能更强一些,可以分析Sping配置文件中对Java类或方法的使用情况。

Reference


转载于:https://www.cnblogs.com/jpfss/p/9436132.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
How can FR2 help? Just select one or more asset in Project panel and FR2 will show you: - Exactly what's being included in each scene or in each prefab. Remember that one redundant reference may resulted in asset being duplicated in each assetbundles and increase AssetBundle build sizes (Animation / Texture / Audio duplication) or degrade performance (Material duplication - increase drawcalls) - Which assets referenced to and make selected assets included in the build. This will help you confident that intermediate project assets will not be included in final build - Duplicated assets you may accidentally copy over and over. Using FR2 you can then redidrect all those references to a single copy of your choice and safely delete other duplications (usage count of those assets should now be 0) - See all assets not being referenced by any other asset so you can delete them all without worrying about breaking any references. - GUID Tools Advanced tool where you can see GUID of each asset and redirect references from one asset to another You can use this to redirect all references to TextureA (using TextureA) to TextureB, the same applied for shader, materials, mesh... Beware that replace references is very powerful yet dangerous operation you'd better don't use it if you don't understand how GUID works in Unity Other Features - Full C# source code - Top notch support 24/7 - Blazing fast - built for HUGE PROJECTS - Support with Unity 4.3+ and Unity 5.x - Quickly disable FR2 when not in used (zeroing performance cost) - Display usage count in project panel so you know which asset being used and how many times it's being used - Find script dependencies (experimental, C# only) - Export assets with references

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值