简体   繁体   English

是否可以从IntelliJ的文件对话框中过滤掉文件?

[英]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.

相关问题 忽略IntelliJ中的Java .class文件导航到文件对话框? - Ignore Java .class files in IntelliJ navigate to file dialog? 过滤文件以在Intellij中自动格式化 - Filter files for autoformatting in Intellij 是否可以从IntelliJ中的内容根目录中排除文件? - Is it possible to exclude a file from the content root in IntelliJ? 如何基于IntelliJ Idea中的文件状态过滤文件 - How to filter files based on file status in IntelliJ Idea 是否可以更改 intelliJ/PhpStorm 目录下所有文件的文件关联? - Is it possible to change the file association for all files under a directory in intelliJ/PhpStorm? 在IntelliJ IDEA中,如何在使用TypeScript时从“查找使用情况”结果中过滤出JS文件? - In IntelliJ IDEA, how can you filter JS files out of “Find Usage” results when using TypeScript? 在intellij idea 12中,是否有任何设置可以过滤掉我不想在项目视图中列出的文件? - In intellij idea 12, is there any settings can filter out files that I don't want to list in project view? 如何在 IntelliJ 中使用“在文件中查找”对话框? - How to use Find in Files dialog in IntelliJ? IntelliJ IDEA 在“文件/文件夹选择器”对话框中显示文件的时间太长 - IntelliJ IDEA takes too long to show files in the "file/folder selector" dialog intellij文件模板 - 可以编写脚本吗? - intellij file templates - scripting possible?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM