It does not work the same way as emacs. Once you get out of incremental search, there is no way to get to the next instance of what you were (incrementally) searching for.
This e-mail and any attachments may be confidential and/or legally privileged. If you have received this email and you are not a named addressee, please inform the sender at Digital Steps Ltd by phone on +44 (0)1483 469 480 or by reply email and then delete the email from your system. If you are not a named addressee you must not use, disclose, distribute, copy, print or rely on this email. Although Digital Steps Ltd routinely screens for viruses, addressees should check this email and any attachments for viruses. Digital Steps Ltd makes no representation or warranty as to the absence of viruses in this email or any attachments.
And as Vinay already said it does not work once you got out of incremental search mode: I start incremental search for 'updateDis', edit some text at the location found. Now I'd like to find the next occurence of 'updateDis'. No way. I'd expect to be able to hit F3 to find the next occurence.
And as Vinay already said it does not work once you
got out of incremental search mode:
I start incremental search for 'updateDis', edit
some text at the location found. Now I'd like to find the next occurence of >'updateDis'. No way. I'd expect to be able to hit F3 to find the next occurence.
+1. This will be usefull. You should write a request for it.
It works fine with me ! I use CTRL-F to find some text, then I can edit some code, and press F3 for the next match...
No problem. Maybe I just don't understand what you need. Dan/
You're quite right. There are a couple of workarounds (use the full search instead of the incremental search, start a new incremental search and type in the same value, etc.) but none is as convenient.
Stephen Kelvin wrote:
And as Vinay already said it does not work once you got out of incremental search mode: I start incremental search for 'updateDis', edit some text at the location found. Now I'd like to find the next occurence of 'updateDis'. No way. I'd expect to be able to hit F3 to find the next occurence.
This e-mail and any attachments may be confidential and/or legally privileged. If you have received this email and you are not a named addressee, please inform the sender at Digital Steps Ltd by phone on +44 (0)1483 469 480 or by reply email and then delete the email from your system. If you are not a named addressee you must not use, disclose, distribute, copy, print or rely on this email. Although Digital Steps Ltd routinely screens for viruses, addressees should check this email and any attachments for viruses. Digital Steps Ltd makes no representation or warranty as to the absence of viruses in this email or any attachments.
In this tracker entry Valentin Kipiatkov supports the idea: http://www.intellij.net/tracker/idea/viewSCR?publicId=13046 "BTW also we should F3/Shift-F3 working after Incremental Search. It's very annoying now that I cannot find the next occurence now when the Incremental Search mode is canceled already."
And as Vinay already said it does not work once you got out of incremental search mode: I start incremental search for 'updateDis', edit some text at the location found. Now I'd like to find the next occurence of 'updateDis'. No way. I'd expect to be able to hit F3 to find the next occurence.
This is true. But what I wanted was the functionality already provided by the up/down arrows (ie, continue the *currently active* incremental search). It would also be nice to have incremental search remember the last search like emacs.
It would be nice if Intellij copied some of Emacs behavior.
If you hit the incremental-search key twice, it should search for the last search term.
I got so used to hitting CTRLS CTRLS to restart the incremental search and goto the next match.
This could be done in addition to making F3 remember the last incremental search term.
Also, once you had a match, hitting CTRLS again would goto the next match. In IntelliJ, I have to hit down arrow or CTRLN.
When you reached the last match, if you tried to goto the next match, Emacs would say "Failing I Search" in the statusbar. If you pressed CTRL+S again, it would wrap to start of the buffer and say "Wrapped I Search" in the statusbar. In IntelliJ you cannot wrap to the start of the buffer.
Also in Emacs you could hit CTRLR to start an incremental reverse search. You could also hit CTRLR while performing a forward incremental search to reverse it.
So, Emacs accomplishes all of IntelliJ's functionality and more with just two keys CTRLS CTRLR whereas IntelliJ needs four keys (Incremental Search, Find Next, Down Arrow, Up Arrow) Intellij Function
Actually, the most annoying thing about the inc search coming from Emacs is that after using CTRL+S to find a match, I would sometimes hit down or up arrow to cancel the search (Sometimes the line you want to modify is not the line where the match occurred). But in Intellij, this moves to the next or previous match. So now, I have learned to always press ESCAPE to cancel the search or use the left or right arrow keys.
Down arrow.
Jon
"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:bgp3bv$2f8$1@is.intellij.net...
>
It does not work the same way as emacs. Once you get out of incremental search, there is no way to get to the next instance of what you were (incrementally) searching for.
I am missing that also. Don't know if there are any tracker requests open for it. If there aren't maybe you'd like to file one?!
Like Jon Steelman said in his reply, you can do this already. The down arrow
moves to the next match and the up arrow moves to the previous match.
Stephen Kelvin wrote:
Vil.
--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/
DisclaimerThis e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.
And as Vinay already said it does not work once you got out of incremental search mode:
I start incremental search for 'updateDis', edit some text at the location found. Now I'd like to find the next occurence of 'updateDis'. No way. I'd expect to be able to hit F3 to find the next occurence.
search mode:
found. Now I'd like to find the next occurence of >'updateDis'. No way. I'd
expect to be able to hit F3 to find the next occurence.
+1. This will be usefull. You should write a request for it.
It works fine with me !
I use CTRL-F to find some text,
then I can edit some code, and press F3 for the next match...
No problem. Maybe I just don't understand what you need.
Dan/
Please care to read the other posts:
This topic is all about INCREMENTAL SEARCH, invoked with Alt-F3, not about regular search.
Barry Kaplan said:
-
"I use alt-f to search incrementally..."
Ok, it's alt-F3, that's why I didn't get it.
Thanks for letting me know, I'll try incremental search now to see how it's like !
Dan/
Ah, I misunderstood. Sorry.
You're quite right. There are a couple of workarounds (use the full search
instead of the incremental search, start a new incremental search and type
in the same value, etc.) but none is as convenient.
Stephen Kelvin wrote:
Vil.
--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/
DisclaimerThis e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.
Ok, there already is a tracker entry for this (off course):
http://www.intellij.net/tracker/idea/viewSCR?publicId=3039
I just added my votes, please do so also, if you'd like to see it implemented.
It's also mentioned as part of
http://www.intellij.net/tracker/idea/viewSCR?publicId=10827
In this tracker entry Valentin Kipiatkov supports the idea:
http://www.intellij.net/tracker/idea/viewSCR?publicId=13046
"BTW also we should F3/Shift-F3 working after Incremental Search. It's very annoying now that I cannot find the next occurence now when the Incremental Search mode is canceled already."
submitted as: 14811
(http://www.intellij.net/tracker/idea/viewSCR?publicId=14811)
Barry Kaplan wrote:
Whoops, missed the last post. I just added a dup. Sorry jetbrains, I'll
add the dups as a comment so you mark the issue.
Barry Kaplan wrote:
>> I use alt-f to search incrementally. But then I want to find the next
>> match. Can that be done?
>>
>> thanks!
>>
This is true. But what I wanted was the functionality
already provided by the up/down arrows (ie, continue the *currently
active* incremental search). It would also be nice to have incremental
search remember the last search like emacs.
Thanks John!
Ok, now it's planned for Aurora.
--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"
"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:bgp3bv$2f8$1@is.intellij.net...
>
>
It would be nice if Intellij copied some of Emacs behavior.
If you hit the incremental-search key twice, it should search for the last search term.
I got so used to hitting CTRLS CTRLS to restart the incremental search and goto the next match.
This could be done in addition to making F3 remember the last incremental search term.
Also, once you had a match, hitting CTRLS again would goto the next match. In IntelliJ, I have to hit down arrow or CTRLN.
When you reached the last match, if you tried to goto the next match, Emacs would say "Failing I Search" in the statusbar. If you pressed CTRL+S again, it would wrap to start of the buffer and say "Wrapped I Search" in the statusbar. In IntelliJ you cannot wrap to the start of the buffer.
Also in Emacs you could hit CTRLR to start an incremental reverse search. You could also hit CTRLR while performing a forward incremental search to reverse it.
So, Emacs accomplishes all of IntelliJ's functionality and more with just two keys CTRLS CTRLR whereas IntelliJ needs four keys (Incremental Search, Find Next, Down Arrow, Up Arrow)
Intellij Function
Actually, the most annoying thing about the inc search coming from Emacs is that after using CTRL+S to find a match, I would sometimes hit down or up arrow to cancel the search (Sometimes the line you want to modify is not the line where the match occurred). But in Intellij, this moves to the next or previous match. So now, I have learned to always press ESCAPE to cancel the search or use the left or right arrow keys.
Hitting the incsearch key twice should definitely bring up the last searched item.