Can I adjust the “100+ matches in X files” from Intellijs “find in path”

前端 未结 3 781
梦谈多话
梦谈多话 2021-01-31 01:50

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

相关标签:
3条回答
  • 2021-01-31 02:40

    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

    0 讨论(0)
  • 2021-01-31 02:44

    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.

    Preview Occurrentces setting in WebStorm

    0 讨论(0)
  • 2021-01-31 02:53

    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

    0 讨论(0)
提交回复
热议问题