Incorrect parentheses matching behavior with vrapper (vim) plugin.

21 views
Skip to first unread message

Currell Berry

unread,
Sep 13, 2013, 11:28:13 PM9/13/13
to clojured...@googlegroups.com
Hello,

I am just getting started with counterclockwise in eclipse, and clojure in general. 

Counterclockwise matches parentheses in a strange way when used side by side with the vrapper vim-emulation plugin for eclipse.   It tries to match the parentheses BEFORE the cursor, but, since vrapper morphs the eclipse cursor into a vim-style block cursor, it actually becomes impossible to match parentheses at the end of the line unless you insert a space there yourself.  This is not a problem with java or other languages I've worked in in eclipse with vrapper.

Attached is a crop from a screenshot using eclipse 4.3 kepler on ubuntu 13.04 with counterclockwise 0.20.0 (beta).  This problem was also present with counterclockwise 0.12 (stable).

(This matching is logical)


(This one is not really, IMHO.  Additionally, I can't move the cursor any farther right, so I can't match the paren before defn).


I have been working in vim with clojure, and there the matching works as I would expect.



It appears that counterclockwise is trying to provide similar paren matching behavior to emacs here ( I tried it there too ).

This behavior doesn't really work with vrapper ( and perhaps other plugins which provide emulated block cursors ).  Is there a way to revert to standard eclipse parentheses matching in counterclockwise? If not, is this something that could be added/hacked on to it?  Should I file a bug report for this?  I might be able to implement this if you guys were interested.

Thanks,

Laurent PETIT

unread,
Sep 16, 2013, 4:14:29 PM9/16/13
to counterclockwise



2013/9/14 Currell Berry <currel...@gmail.com>
Hello,

yes, you should file an issue for this, please. Your analysis is interesting, and I will take it into account.

Cheers

 

Thanks,

--
You received this message because you are subscribed to the Google Groups "counterclockwise" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojuredev-dev...@googlegroups.com.
To post to this group, send email to clojured...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojuredev-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages