过滤Eclipse的“打开呼叫层次结构”到我公司/项目 [英] Filter Eclipse's "Open Call Hierarchy" to just my company/project

查看:209
本文介绍了过滤Eclipse的“打开呼叫层次结构”到我公司/项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最喜欢的Eclipse功能之一就是打开一个来电/被叫

One of my favorite features of Eclipse is the ability to open a caller/callee hierarchy of a method.

默认情况下,该视图显示来自/不在我的代码库之外的类的调用...我通常不会关心。

By default, the view shows calls to/from classes that are outside of my codebase... which I don't usually care about.

有一个选项来过滤 out 我不想要的特定包名称,但我需要做相反的除了 在这里使用适当的正则表达式来匹配除了以 com.mycompany开头的所有字符串。

There is an option to filter out specific package names I don't want, but I need to do the opposite... to filter out all packages except the one I want. What is the appropriate regex to use here to "match all strings except those that start with com.mycompany.?"

推荐答案

似乎过滤器调用对过滤器模式使用了glob语法,而不是正则表达式。您不能指定应该匹配glob模式的东西。对不起。

It appears that "Filter Calls" uses glob syntax for filter patterns, not regular expressions. You can't specify something that should not match with glob patterns. Sorry.

这篇关于过滤Eclipse的“打开呼叫层次结构”到我公司/项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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