Search everywhere - files - Searching for relative path leads to correct result showing up at bottom



I've had an issue with Intellj IDEA where it seems like the most relevant result to the query I enter appears at the bottom of the list instead of at the top.

For example, if I search for `path/to/file.tsx` the first result that I often see is `path/to/file_test.tsx` then it'll show several files that have similar paths or filenames, and then I will see `path/to/file.tsx` at the bottom of the list

Is there a way to change the settings such that the most relevant file appears at the top of the search results?




This is on 

IntelliJ IDEA 2021.1.3 (Ultimate Edition)
Build #IU-211.7628.21, built on June 30, 2021
Runtime version: 11.0.11+9-b1341.60 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.1
GC: ParNew, ConcurrentMarkSweep
Memory: 8083M
Cores: 16
Non-Bundled Plugins: com.toan2.yapf (1.2), org.intellij.scala (2021.1.22), Pythonid (211.7628.24), (2021.
Kotlin: 211-1.4.32-release-IJ7628.19


Thanks in advance!


There were some related changes recently, if I remember correctly. Please try the latest release version:

In case it still doesn't work as expected, please file an issue at with a small sample project to reproduce.


YES! It's finally working as expected. Thank you for the info


Please sign in to leave a comment.