Go to File shows and highlights inexact results instead of exact results

Wow, this is annoying:

So, `Repo.php` is exactly in file name SkuInventoryRepo.php, but for some reason it adds `*Report.php` files in the results list, and highlights an inexact match rather than an exact match. Am I missing something here? I think maybe the highlight is just the default selected, but it's still completely counter-intuitive all the way around. The exact matches should be at the top, alphabetized.

6 comments
Comment actions Permalink

This needs more context, can't reproduce without knowing the details:

 

Please check if you're able to reproduce this in a new empty project by recreating the same project structure as in the affected project.  

0
Comment actions Permalink

@Dmitry Tronin

If I'm reading the issue correctly: you have a file named Repo.php -- the exact match. Delete it and try without such file -- you need a file that ends with Repo.php.

OP expects SkuInventoryRepo.php to be highlighted here (as entered text precisely matches the end of the file name)

1
Comment actions Permalink

Ah yes, I see.

Vadiru I was able to reproduce this. Can't find similar reports on our bugtracker so you're welcome to submit one.

0
Comment actions Permalink

If you're able to reproduce it why don't you file the bug report? You've already got the evidence there. My evidence is proprietary company info, so it would be doing work you've already done for me to create test info as well.

Can you just submit your test info on a bug report? I'm not as good at that as you, I'm sure, I may not even word things properly the way you and your devs or QA are used to.

0
Comment actions Permalink

First of all, that's a subjective behavior. I think that showing report.php when looking for repo.php is alright - they sound/written very similarly, I wouldn't personally report this as a bug or a problematic behavior.

Secondly, some users find reporting the bugs themselves more preferable. That way they receive bug report updates directly: e.g. when a developer asks for clarifications or when the bug is fixed & the IDE build with the fix is set.

Anyway, I went ahead and submitted a ticket for you: https://youtrack.jetbrains.com/issue/IDEA-278336. Feel free to vote for or comment it in order to get notified about its updates.  

0
Comment actions Permalink

Thank you for filing it. That should be the default behavior when you reproduce a reported bug here. 

Personally I'm not interested in posting here to try to get someone else to file a bug; if I have time, I will file a bug.

However, often the bug happens when showing proprietary company information, and I'm not always sure if it's a bug because sometimes I just wasn't aware of a setting or something, and someone here pointed it out.

If I find something that I know can't be anything but a bug, I will make an effort to file it. Otherwise I'll post here to make sure it's not a bug.

 

0

Please sign in to leave a comment.