This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Clojure and the fly likes Counter Clockwise Eclipse Plugin and REPL Command Prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Clojure
Bookmark "Counter Clockwise Eclipse Plugin and REPL Command Prompt" Watch "Counter Clockwise Eclipse Plugin and REPL Command Prompt" New topic
Author

Counter Clockwise Eclipse Plugin and REPL Command Prompt

Ned Bakelman
Greenhorn

Joined: Nov 25, 2011
Posts: 12
There was a recent change made to the Counter Clockwise plugin for Eclipse where it is now required to press "Ctrl + Enter" to send a command to the REPL Server in the command window. In the past you just needed to press the "Enter" key.

This drove my crazy for a few days and just wanted to share.

Thanks

Ned

REPL Command Window

Sean Corfield
Ranch Hand

Joined: Feb 09, 2011
Posts: 252
    
    5

I posted this reply in the REPL and Eclipse thread where Ned commented on this but I'll repeat it here as well:

Just so folks know why: the CCW REPL has full structural editing, just like in the main editor - so enter inserts a newline and indents code. Unless you are at the end of a complete top-level form. You used to have to press shift-cmd-x (I think? at least on Mac OS X) to submit code when you were in the middle of a form - the shortcut for execute current form under the cursor when you're in the main editor. ctl-enter is a nicer shortcut key for submitting code and it's more consistent to make enter always behave like the editor and ctl-enter always submit the entire form. This may seem odd if you're not used to the strict structural editing mode - which I set as the default, as do most Clojurians - since this matches paredit in Emacs. Once you get used to paredit / strict structural mode, you'll never go back!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Counter Clockwise Eclipse Plugin and REPL Command Prompt
 
Similar Threads
REPL and Eclipse
External jars and clojure
Installing the Android SDK
How are you using Clojure?
Do anyone have the experience of configuring Emacs for clojure environment?