Search code examples
eclipseautocompleteclojureparentheses

Cant turn off Clojure parenthesis autocomplete in Eclipse


Im working on a Clojure project using Eclipse, and for some reason it decided that all free will concerning parenthesis should be removed, and now when I type '(' it auto-completes it to '()'. The problem is that is I cannot just have one or the other; trying to delete the ')' character does nothing, and deleting the '(' character deletes both parenthesis. Modifying the Java => editor => typing tab under preferences does nothing,and the Clojure => editor tab has nothing useful. The only way i can successfully make a single '(' character is to copy it and at least another character [i.e. '(a'] and paste it, which is definitely not winning.

Any help would be greatly appreciated -- Thanks!


Solution

  • Probably paredit mode is on. Try Alt-d to turn it off or via the Clojure menu.