CTRL-Alt-L has stopped working

532 views
Skip to first unread message

timc

unread,
May 8, 2012, 7:45:34 AM5/8/12
to clojured...@googlegroups.com
I just installed the latest update (0.8.0.Stable001). Before, CTRL-Alt-L worked (while editing a file, no reply running). Now it does not.
Any ideas?

Laurent PETIT

unread,
May 8, 2012, 8:27:19 AM5/8/12
to clojured...@googlegroups.com
Hello Tim,

On OS X, it has been "rationalized" to become Cmd+Alt+L (I try to use Cmd as much as possible now on OS X, and fall back to Ctrl instead of Cmd only if there's a conflict).

Note that you can redefine the command if you don't like it.

HTH,

--
Laurent

2012/5/8 timc <TimG...@gmail.com>
I just installed the latest update (0.8.0.Stable001). Before, CTRL-Alt-L worked (while editing a file, no reply running). Now it does not.
Any ideas?

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/XFS5Um_Pl04J.
To post to this group, send email to clojured...@googlegroups.com.
To unsubscribe from this group, send email to clojuredev-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/clojuredev-users?hl=en.

timc

unread,
May 8, 2012, 8:34:02 AM5/8/12
to clojured...@googlegroups.com
Sorry - forgot to say I'm using Windows not Mac.

Laurent PETIT

unread,
May 8, 2012, 8:42:10 AM5/8/12
to clojured...@googlegroups.com
2012/5/8 timc <TimG...@gmail.com>
Sorry - forgot to say I'm using Windows not Mac.

Oh, then this is weird, because Ctrl+Alt+L is still present in the source code for platform Windows.

You can check by yourself, maybe, locate the file plugin.xml in the directory for ccw.core in the plugins/ directory of your Eclipse installation.
Then search for the String "+L" (without quotes) and you should notice a line like :

      <key
            sequence="M1+M3+L"
            contextId="ccw.ui.clojureEditorScope"
            commandId="ccw.ui.edit.text.clojure.load.file"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            platform="win32"/>

win32 stands for Windows
M1 and M3 are Eclipse shortcuts, platform independent, meaning respectively on Windows : Ctrl and Alt
 


On Tuesday, May 8, 2012 12:45:34 PM UTC+1, timc wrote:
I just installed the latest update (0.8.0.Stable001). Before, CTRL-Alt-L worked (while editing a file, no reply running). Now it does not.
Any ideas?

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/_TJF3JTbkCgJ.

timc

unread,
May 8, 2012, 9:09:50 AM5/8/12
to clojured...@googlegroups.com
Yes the things you mention are in the plugin.xml file; they are also all mentioned in the Window>Preferences>General>Keys -- it just doesn't do anything. Neither does the Context menu>Clojure>Loaf file in repl.


On Tuesday, May 8, 2012 12:45:34 PM UTC+1, timc wrote:

Laurent PETIT

unread,
May 8, 2012, 9:13:43 AM5/8/12
to clojured...@googlegroups.com
2012/5/8 timc <TimG...@gmail.com>
Yes the things you mention are in the plugin.xml file; they are also all mentioned in the Window>Preferences>General>Keys -- it just doesn't do anything. Neither does the Context menu>Clojure>Loaf file in repl.


oho, maybe you could then please check the workspace's .metadata/.log file for messages/stack traces ?

Another idea  : are you sure that Clojure support is added for your project ?
 

On Tuesday, May 8, 2012 12:45:34 PM UTC+1, timc wrote:
I just installed the latest update (0.8.0.Stable001). Before, CTRL-Alt-L worked (while editing a file, no reply running). Now it does not.
Any ideas?

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/am2C2caHOvsJ.

Marcus Lindner

unread,
May 8, 2012, 9:20:36 AM5/8/12
to clojured...@googlegroups.com
Do you have other plugins installed, which also use Ctrl+Alt+L, Ctrl+L or Alt+L?
Or create some special shortcuts?

I had such conflicts for other Counterclockwise key combinations in the beginning too.

2012/5/8 Laurent PETIT <lauren...@gmail.com>

Laurent PETIT

unread,
May 8, 2012, 9:24:35 AM5/8/12
to clojured...@googlegroups.com
What is weird is that even via the menus it doesn't seem to be working

2012/5/8 Marcus Lindner <marcus.goldr...@googlemail.com>

timc

unread,
May 8, 2012, 1:14:03 PM5/8/12
to clojured...@googlegroups.com
I have uninstalled several times (once I even manually deleted all the *old* ccw-related plugins and features, etc from the eclipse folder).
Still no joy - CTRL-Alt-L does nothing (neither does the corresponding menu item).

No other plugins use that combination.
Nothing interesting in the .metadata/.log file.

It's quite hard to get back to a setup that includes no trace at all of ccw - I'd like to do that and re-install, but I'm not sure what/where all the fluff is.

Laurent PETIT

unread,
May 8, 2012, 1:29:20 PM5/8/12
to clojured...@googlegroups.com
I'll do a test on a windows config, but basically, if I understand right, it means you cannot anymore start a repl from a specific file ?

Is it when the selection is on a file (not necessarily opened) in the project explorer, or/also when the selection is inside an editor ?

2012/5/8 timc <TimG...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/ThxBDvuK-qgJ.

timc

unread,
May 8, 2012, 4:10:08 PM5/8/12
to clojured...@googlegroups.com
I can run a repl for a specific file, but only via a launch configuration.
But, with the file in the editor, the CTRL-Alt-L method (and the context menu method) do nothing.

Laurent PETIT

unread,
May 8, 2012, 4:19:34 PM5/8/12
to clojured...@googlegroups.com
Oh my! Back to Windows debugging then. 

If the others can speak, is Tim the only Windows user with this problem ?


Le 8 mai 2012 à 22:10, timc <TimG...@gmail.com> a écrit :
I can run a repl for a specific file, but only via a launch configuration.
But, with the file in the editor, the CTRL-Alt-L method (and the context menu method) do nothing.

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/vMudYYWQ5TMJ.

Mark Addleman

unread,
May 8, 2012, 6:09:41 PM5/8/12
to clojured...@googlegroups.com
I run on Windows and have no problem with CTL-ALT-L. 

I wonder if this is a perspective thing?


Marcus Lindner

unread,
May 8, 2012, 11:50:43 PM5/8/12
to clojured...@googlegroups.com
On my system (Windows 7 64-bit) Ctrl+Alt+L makes no problems. It loads the file normaly into the REPL.
But I have a clean system. I hade to install it new and Eclipse is fresh installed too.

gjhut

unread,
May 9, 2012, 4:06:29 AM5/9/12
to clojured...@googlegroups.com
Hello Laurent,

I just upgraded from 0.7.0 to 0.8.0 and have the same problem as Tim, <CTRL>-<ALT>-L doesn't work for me anymore. Key binding exists (checked this with Windows->Preferences, General->Keys).

I can start a REPL with <CTRL>-<ALT>-<Q>,E but trying to load a file with <CTRL>-<ALT>-L then gives these two messages in the eclipse error log:

Cannot handle REPL response: :root-ex{:status ["eval-error"], :ex "class java.lang.RuntimeException", :session "bf0703e4-d09d-48c7-9373-135ad946b2d2", :id "3e1c06ee-c636-4901-89ce-8c1160ce26c1", :root-ex "class java.io.FileNotFoundException"}
Cannot handle REPL response: :ex{:status ["eval-error"], :ex "class java.lang.RuntimeException", :session "bf0703e4-d09d-48c7-9373-135ad946b2d2", :id "3e1c06ee-c636-4901-89ce-8c1160ce26c1", :root-ex "class java.io.FileNotFoundException"}

I am running Eclipse 3.7.2 with only CCW installed, on Windows 64 bit professional. Uninstalling and reinstalling the plugin didn't solve the issue.

When upgrading the first time, I got this message in the logs:

   Artifact not found: http://ccw.cgrand.net/updatesite/features/ccw.feature_0.3.0.STABLE002.jar.

followed by this (note that the editor did did work after the upgrade):

   Unable to create editor ID ccw.clojureeditor: No editor descriptor for id ccw.clojureeditor

When uninstall / reinstalling the plugin these messages didn't appear again, but <CTRL>-<ALT>-L still didn't work.

I didn't try a fresh, Eclipse installation yet, I will try this now.

Thanks, Geert-Jan.


On Tuesday, May 8, 2012 10:19:34 PM UTC+2, laurent.petit wrote:
Oh my! Back to Windows debugging then. 

If the others can speak, is Tim the only Windows user with this problem ?

Le 8 mai 2012 à 22:10, timc <TimG...@gmail.com> a écrit :

I can run a repl for a specific file, but only via a launch configuration.
But, with the file in the editor, the CTRL-Alt-L method (and the context menu method) do nothing.

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/vMudYYWQ5TMJ.
To post to this group, send email to clojuredev-users@googlegroups.com.
To unsubscribe from this group, send email to clojuredev-users+unsubscribe@googlegroups.com.

Laurent PETIT

unread,
May 9, 2012, 4:16:22 AM5/9/12
to clojured...@googlegroups.com
okay, thanks for the detailed report.

Note that Ctrl+Alt+Q+E is for connecting to your Eclipse's embedded nREPL server (yes, with ccw installed one can hack his IDE live, tho there's no real supporting code for easing the task right now).
But the error definitely shows an area where the switch to the new version of nREPL didn't follow.

Seems like tomorrow will be a loong debugging day ... :-/

2012/5/9 gjhut <geert....@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/IO1FvLY5a5wJ.

To post to this group, send email to clojured...@googlegroups.com.
To unsubscribe from this group, send email to clojuredev-use...@googlegroups.com.

gjhut

unread,
May 9, 2012, 4:34:26 AM5/9/12
to clojured...@googlegroups.com
The good news is that I just did an install of the plugin on a fresh Eclipse, and with that installation it works. So apparently it's only an issue when updating or uninstalling/reinstalling the plugin.

Hope this helps,

Thanks, Geert-Jan.

gjhut

unread,
May 9, 2012, 4:54:41 AM5/9/12
to clojured...@googlegroups.com
And a small update, it's not the fresh eclipse install that solved it, but creating a new workspace. With a new workspace the REPL in both the upgraded as and the newly installed Eclipse installations worked. I keep my projects in a separate directory, so I just imported them again.

So it seems that it's something in the existing workspace configuration that triggers the issue.

Geert-Jan.

Laurent PETIT

unread,
May 9, 2012, 7:24:22 AM5/9/12
to clojured...@googlegroups.com
OK, food for thoughts, thanks !

2012/5/9 gjhut <geert....@gmail.com>
--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/87XW6SVkL6gJ.

To post to this group, send email to clojured...@googlegroups.com.
To unsubscribe from this group, send email to clojuredev-use...@googlegroups.com.

Goldritter

unread,
May 10, 2012, 7:03:15 AM5/10/12
to clojured...@googlegroups.com
Short info.

I updated on an other machine to 0.8.0. This time I had allready an existing workspace with Java and Leiningen projects.
Here the combination Ctrl+Alt+L functions normally. It loads the clj file, starts the REPL and switch to the actual namespace.


Am Dienstag, 8. Mai 2012 13:45:34 UTC+2 schrieb timc:
I just installed the latest update (0.8.0.Stable001). Before, CTRL-Alt-L worked (while editing a file, no reply running). Now it does not.
Any ideas?

Laurent PETIT

unread,
May 18, 2012, 5:31:23 PM5/18/12
to clojured...@googlegroups.com
My guess (in vacations here, so no possibility to try by myself yet), is that it's not related to workspaces, but rather to existing launch configurations.

If you drop your existing launch configurations ( Run > Run Configurations ... > Delete all "Clojure" configurations ), does that solve the problem ?

2012/5/10 Goldritter <marcus.goldr...@googlemail.com>
--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/qD-avRthbX8J.

gjhut

unread,
May 22, 2012, 3:04:31 AM5/22/12
to clojured...@googlegroups.com
Yes, your guess is right... this action solves the problem..

So it is not needed to create a new workspace, but removing the (Run & Debug)  launch configurations should be sufficient.

Thanks, Geert-Jan.
Reply all
Reply to author
Forward
0 new messages