Two questions about find.

Answered

Hello,

    I have started to use IntelliJ recently, and I have two questions about "find".

    1. When I'm searching for a string, I'm used to select text, hit ctrl+c followed by ctrl+f then ctrl+v. But in IntelliJ, the currently selected text is automatically pasted into the find bar. When this is triggered the first time, the pasted content become selected, so a redundant paste replace the same text, which is okay. But when I try to do this without closing the find bar, the pasted content is not selected, so paste will concat the string, searching abc become abcabc. Ironically, hitting ctrl+f with no selected content will make the current find content selected, so I can just ctrl+v.

    So the question is , is there at least a way to disable the auto-paste function? 

    2. When the search hit the last match, pressing enter will show "abc not found, press to search from the top" (which shows after a one second delay, yeah), and I have to press again the search from top. IntelliJ is already laggy enough and I don't need a function to pretend it's lagging. Is there any setting to disable this? Just automatically search from top without having to press that extra enter. 

 

 

2
2 comments
Avatar
Permanently deleted user

Agree with Yunanchang, #1 is very annoying

Issue is next: most editors starts "search by file" with empty input field. So, you paste selection as always and now there are 2 of them! so, you have to delete one. 
So, its not natural behaviour which cannot be even switched off.

0

Please sign in to leave a comment.