-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent "Find in Files" results when this plugin is enabled #23
Comments
Found something that looks relevant in my idea.log file
|
Thanks, I’ll take a look! |
Hmm, I’m struggling to recreate this one. I wonder if it could be because previous versions of the plugin (before 0.3.0) used stubs (802df8b) and those may have been indexed. Could you try File > Invalidate Caches and see if it re-occurs after that? |
Gave that a try and still had the issue - however, I had another read through the logs from this morning and found another error that is related: (note: I've removed the actual file path because it's a work project)
Looking at the template file mentioned in the error, it's a very basic template that essentially looks like this:
Seeing the couple of |
Doing a little more playing with this because I noticed I have other files that also start with an Examples where search results are brokenOriginal template
Adding a SilverStripe template comment to top of file
Examples where search results work as expectedAdding an HTML comment to the top of the file
Adding non-SilverStripe template content anywhere in the file
|
I haven’t forgotten about this, I’m just really struggling to track down the cause! |
Hi there,
I noticed today that this plugin appears to be causing inconsistent results for "Find in Files"
By inconsistent results I mean different numbers of results each time I rerun the search - I'd get 25 one time, then 30, then 47, then back to 25...
I initially assumed this was a PhpStorm issue so did some searching around and saw a suggestion plugins could impact "Find in Files" results - so given this is the only non-bundled plugin I have installed in PhpStorm it was the first I tried and the problem went away
I'm running PhpStorm 2021.2.2 (build 212.5284.49) on Ubuntu 20.04 and saw this issue with versions 1.0.2 and 1.0.3 of this plugin enabled.
Let me know if I can provide any more info - I'm not too sure on how to debug idea plugins
The text was updated successfully, but these errors were encountered: