incremental search exit broken in IDEA10?

I have used incremental search successfully for quite a while up through IDEA 9.  But in IDEA 10 (build IU-99.32 and earlier), this is what happens:
o start incremental search
o find search item
o attempt to turn off incremental search with right/left cursor key or <escape> as in previous versions
o incremental search will not turn off:  
   -- cursor up/down will only repeat search
   -- Enter key will create a new line BUT
   -- all other key presses are "swallowed" -- I type keys but nothing appears and nothing changes in the system state, for both text entry and control keys.

Is there a new way to exit incremental search in IDEA 10?
(Logs:  There is nothing in idea.log for the period of time I experienced this and the threadDump directories are also empty.)

6 comments
Comment actions Permalink

Edit: Sorry, never mind, I misread it, you already tried the escape key.

0
Comment actions Permalink

Ctrl-Enter

On 29.12.2010 19:36, John Broglio wrote:

I have used incremental search successfully for quite a while up through IDEA 9.  But in IDEA 10 (build IU-99.32 and earlier), this is what happens:
o start incremental search
o find search item
o attempt to turn off incremental search with right/left cursor key or<escape>  as in previous versions
o incremental search will not turn off:
    -- cursor up/down will only repeat search
    -- Enter key will create a new line BUT
    -- all other key presses are "swallowed" -- I type keys but nothing appears and nothing changes in the system state, for both text entry and control keys.

>

Is there a new way to exit incremental search in IDEA 10?
(Logs:  There is nothing in idea.log for the period of time I experienced this and the threadDump directories are also empty.)

>

---
Original message URL: http://devnet.jetbrains.net/message/5282042#5282042


0
Comment actions Permalink

Ctrl-Enter does not work for me.  This is VERY frustrating.

It is even worse than I thought at first.  After using the incremental search, even after the search bubble goes away and nothing is highlighted, it can co-opt the Down binding, so that neither Ctrl-N, which I have bound to Down, or even the down arrow, moves the lines down any more.  Instead, it moves the cursor forward one character.  Same for Up or Ctrl-P (Previous).

This has brought my development to a standstill.  I have been incrementally searching and moving up down with Ctrl-[NP] for 30 years, the last 10 of which have been in IDEA.

What is your Ctrl-Enter bound to?  I would love it to just be Esc or Esc-Esc like before (or movement).

Or best, would be Ctrl-G.  Is there an "abort" to bind to, in order to leave the incremental search mode?

Thanks.

0
Comment actions Permalink

Ok, found what I think is a consistent absurd work-around.

Here are my bindings so you know what I am doing:

Ctrl-S - Incremental search
Ctrl-N - Down
Ctrl-P - Up
Ctrl-A - Move Caret to Line Start

If I do an incremental search, it stays in that mode until I hit Ctrl-S again.  Then the highlighting goes away.  However, if at that point I hit Ctrl-N or Ctrl-P, I move forward, back single characters instead of going down/up one line.

However, if directly after the second Ctrl-S, de-highlighting the search, I hit Ctrl-A, then both the Ctrl-N/Ctrl-P, Up/Down Arrows seem to work fine again.

So, for now, the solution seems to be:

1.) Hit Ctrl-S (or whatever you have bound to 'Incemental Search') to leave incremental search mode
2.) Hit Ctrl-A (or whatever you have bound to 'Move Caret to Line Start')

     You should now be able to hit Up/Down Arrow and Ctrl-N/P to move up and down lines in the edtior.

     If it still doesn't work, try hitting Ctrl-S again enough times to go in and out of incremental search mode again, and then Ctrl-A and see if that fixes it.

Intellij Guys - PLEASE FIX.

For me, easist is to give us either a general 'abort' from any 'mode' that we can bind to a key (I would make mine Cntl-G), or get the ESC to effectively abort the mode and return the bindings for Up/Down back to their original usage.

Thanks.

0
Comment actions Permalink

Please fix it !
Search bubble goes away after typing a first character. Sometimes it doesn't come up at all.
I have to continue to use version 9.
Windows 7 64

0

Please sign in to leave a comment.