Customizing Find Tool Window

Answered

I come from Eclipse and find IntelliJ platform's search facility confusing. If I do a search in path, the search dialog box is straightforward. The preview editor in the dialog box highlights matching text and I can edit the source file, too. So far so good.

But I found out that when search results are 100+, the dialog box truncates the results. It does not inform a novice like me that I don't have the full result set. Now, I switch to the Find Tool window to see it all. Here I don't have the ease with which I could have previewed and edited the results. I can open source files from the Find Tool window but the matching text is not highlighted within the source file. Instead, the caret is placed within the occurrence.

Now, I need to do a couple of customizations to fit my workflow.

1. How can I get the editor to highlight the matching text within the source file?

2. I'd like to force the source files opened from the Find Tool to open in the same tab, unless when edited. Much like the behavior in Eclipse.

3. As an alternative, I can activate the preview within the Find Tool window but the placement is awkward. Can I move the preview pane within the Find Tool window so that the window is split horizontally instead of the vertical split?

0
3 comments
Avatar
Permanently deleted user

In the meantime, I'd suggest the IDEA team remove the 100 result limitation in the Find in Path dialog box. I could live without the Find Tool window if I had full results in the dialog box. I think this would be a quicker fix than all the problems associated with the Find Tool window.

0
Avatar
Permanently deleted user

The limit is controlled by registry key ide.usages.page.size

(Press Ctrl+Alt+Shift+/ (Command instead of Ctrl in case of macos) and select "Registry" from the menu that appears.)

Or you can specify the limit in VMoptions (Menu Help >> Edit Custom VM options...) like

-Dide.usages.page.size=12345

and then restart IDE

1

Please sign in to leave a comment.