Is there an incremental search for emacs in IntelliJ IDEA?

I skip emacs behavior for incremental search. In emacs we can do this:

  • S
  • in the search text, i.e. "button"

The first appearance of the button will be detected. If you keep pressing Cs, the following event will be detected. It seems to me that IntelliJ is close to this, except that you need to press another keystroke for a second search. For me it is annoying. I would rather click the same button for the first as well as subsequent search.

Is this possible in IntelliJ? It works great in Eclipse with the emacs keys.

Edit: I discovered generosity on this. Is there an example of a similar implementation of this function written as a plugin or patch for IntelliJ IDEA?

+4
source share
2 answers

In newer versions of IntelliJ, incremental searches use the arrow keys to navigate up / down search queries. For instance:.

  • Cs (if emacs key binding is used)
  • in search text
  • up / down arrow keys to move up / down using relevant search terms
+2
source

In tracking the IDEA problem filed 2 years ago, there is a request: Emacs-Mode: Incremental Search Again, Ctrl-S, Ctrl-R should be matched after the first search .

As IDEA is now open source , anyone can submit a patch that implements this feature and will be bound to the next version of IDEA.

+3
source

Source: https://habr.com/ru/post/1315713/


All Articles