[英]Is it possible to filter out files from the file dialog in IntelliJ?
My specific use case is with an Android project, but this isn't Android specific. 我的特定用例是一个Android项目,但这不是特定于Android的。 I have an IntelliJ-IDEA project with several Android modules which have been localized. 我有一个IntelliJ-IDEA项目,其中包含几个已本地化的Android模块。 If I want to open the file strings.xml
, I will pretty much always want the non-localized one (in res/values
rather than res/values-fr
or whatever). 如果我想打开文件strings.xml
,我几乎总是要使用非本地化的文件(以res/values
而不是res/values-fr
或其他形式)。 But when I hit <ctrl><shift><n>
and type strings.xml
, it shows all the 30-zillion localized files and in fact shows them before the non-localized one. 但是,当我按下<ctrl><shift><n>
并键入strings.xml
,它将显示所有30亿个本地化文件,并且实际上在非本地化文件之前显示它们。 I would like to figure out a way to give IntelliJ a hint as to which one I would want, or a way to filter out files from that dialog. 我想找出一种方法,向IntelliJ提示我要哪个,或者从该对话框中筛选出文件的方法。 Any ideas? 有任何想法吗?
Seems there is a kind of workaround with directory exclusion 似乎有一种针对目录排除的解决方法
http://devnet.jetbrains.com/thread/283525 http://devnet.jetbrains.com/thread/283525
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.