Note that there are some explanatory texts on larger screens.

plurals
  1. POIs there a way to emulate ReSharper's "extend selection" feature in Vim?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. COAmazing how nobody answering here recognized the need for a proper (partial) parser. Resharper ovbiously implements this (great) feature on top of a logical model of the code: the Code DOM. This is also what enables the refactorings to work on the selections made. Without proper parser you'd select 'things' but not proper (sub)expressions. The latter would be useful, but not currently supported in Vim _That is. unless you count Lisp support: `vabababo2k` is perfect for lisp_ :)
      singulars
    2. CO@sehe: You are, of course, completely right. I've been thinking about this problem off and on ever since I asked the question here (seems like a long time ago!) and realized that even if I somehow manage to create this feature, it will only work for a specific language, or a family of languages. Too bad, isn't it? :)
      singulars
    3. COI've been pondering this myself too. I'd be happy with a 90% solution (I can do refactorings pretty swift in Vim manually for now). However a 'usable' subexpression-matching-selection-expander is really my no.1 dream feature. I'm convinced that is is very possible to come up with a parser that will DoTheRightThing for C#, Java, C++ and C; The only sticky edge cases I expect are C# vs. C++0x lambdas. So I'd probably leave those out for a while (and make sure it's pluggable). I'm still deciding what to use, as I kind of loath vim script. I lean towards python, but am weary of excluding userbases
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload