如何从IntelliJ IDEA搜索中排除文件扩展名? [英] How to exclude a file extension from IntelliJ IDEA search?

查看:1319
本文介绍了如何从IntelliJ IDEA搜索中排除文件扩展名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从IntelliJ IDEA的在路径中查找对话框中排除特定文件扩展名(由 CTRL + SHIFT + F )?我想排除所有 .css 文件。

Is there a way to exclude particular file extension from the results in IntelliJ IDEA's "Find in Path" dialog (invoked by CTRL + SHIFT + F)? I want to exclude all .css files.

推荐答案

在intellij 16中有一个文件名过滤器部分用于排除扩展使用!*。java 。您也可以提供更详细的模式,例如我使用下面的模式只返回.java文件,除了那些名称以test开头或结尾的文件。
模式:!* test.java,*。java,!Test * .java

In intellij 16 there is a section "File name Filter" to exclude an extension use !*.java. You can give more detailed patterns as well for example I use the pattern below to only return .java files except those with a name starting or ending with test. Pattern: !*test.java,*.java,!Test*.java

< a href =https://i.stack.imgur.com/HuTg1.png>

这篇关于如何从IntelliJ IDEA搜索中排除文件扩展名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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