3

In IntelliJ IDEA, is it possible to limit search to files that exclude a certain extension? For example, I want to search for VirtualService among all non-yaml files. Do I need a regex to achieve this?

enter image description here

Thank you for reading.

Gerard de Visser
  • 7,590
  • 9
  • 50
  • 58
user674669
  • 10,681
  • 15
  • 72
  • 105

2 Answers2

0

unfortunately this is not possible because there is no RegEx support.

SL5net
  • 2,282
  • 4
  • 28
  • 44
0

In file path it is possible to exclude several file extensions, for example:

!*yml, !*yaml

This will exclude all .yml and .yaml file from search results.

Gerard de Visser
  • 7,590
  • 9
  • 50
  • 58