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,