Is it possible to change the max value of shown results in the "find in path" feature in intellij?
I sometimes wished that I would see more results. of course I would need to scroll much more, but that's what I want. Can I change that number 100 to like 200, 1000 or even maybe endless?
Update: 2021-05-06
Thanks to "Dmitry Jemerov" from JetBrains/IntelliJ for a update on this old topic.
Dmitry says
"In 2021.2 the limit is configurable in Settings | Advanced Settings | Maximum number of results to show in Find In Path/Show Usages preview"
If you don't have that version then the below still applies.
Update: 2018-08-20
https://youtrack.jetbrains.com/issue/IDEA-157855
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206164739--More-than-100-matches-in-search
Thanks to "Andrey Dernov" from JetBrains/IntelliJ for answer.
Andrey said:
You can set ide.usages.page.size - IntelliJ Registry option. (Help | Find Action... type Registry and set the value in dialog):
This has helped me a lot for large project refactoring.
IntelliJ Idea Registry Screenshot
IntelliJ Idea Find in Path Screenshot
Edit: This answer is outdated. You can now set the parameter ide.usages.page.size
to increase the number of displayed findings. See RoryGS' answer for details.
Old answer:
Currently you only have the option to hit the Open in Find Window button (in the bottom right). But there is an open issue for IntelliJ to change this limit: https://youtrack.jetbrains.com/issue/IDEA-16377 https://youtrack.jetbrains.com/issue/IDEA-157855
My guess is that you want to see more than 100 matches in the preview so that you can easily skim through the search results, including the context of the lines before and after each occurrence. You can get the same effect, with more than 100 matches, by turning on the Preview Occurrences mode after finding all results by clicking Open in Find Window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With