问题描述
有没有办法在Aptana或Eclipse文件搜索中排除say,图像类型?我想搜索所有不是图像的文件,而不是指定我要搜索的所有文件类型。
尝试在你不想匹配的模式前放一个'!'标记 - 放置
!*。cgi,! * .pm,!*。sql
在文件名模式部分正在做测试工作我正在使用Eclipse 3.4.1(当模式只是*有一个文件的每种类型,具有这种模式,它只返回js和pl文件)。
我害怕这样的模式有点幼稚,只是让任何一个匹配其中的任何东西成功(即一个sql文件匹配!* .cgi),但这似乎不是这样的。
Is there a way to exclude say, image types in Aptana or Eclipse file search? I want to search all files that are not images rather than specifying all the file types that I want to search in.
Try putting an '!' mark in front of the pattern you don't want to match - putting
!*.cgi, !*.pm, !*.sql
in the File name patterns section is doing the job in a test I'm doing with Eclipse 3.4.1 (when the pattern was just * there was a file of each type, with that pattern, it is only returning js and pl files).
I was afraid that it would be a bit naive with the patterns and just allow anything that matched one of them to succeed (ie an sql file would match !*.cgi), but this doesn't seem to be the case.
这篇关于排除Eclipse / Aptana中的文件类型查找文件搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!