processing / processing-experimental

Experimental Mode for the PDE
72 stars 25 forks source link

cntrl-click to jump to method definition #11

Closed shiffman closed 10 years ago

shiffman commented 11 years ago

I'm finding this a bit awkward on Mac OSX since "cntrl-click" is also used for right-click. So if I try to right-click, I am immediately taken away. Eclipse uses F3 (not that I love that). What other choices do we have?

Manindra29 commented 11 years ago

Cmd + Click should work too? I remember adding that..

shiffman commented 11 years ago

ah, yes, it does! I think we even had this conversation before, sorry. Cmd + click is also brining up the right-click menu for me, maybe we should try shift-click?

Manindra29 commented 11 years ago

Why is Cmd+Click bringing up the right click menu?! Wasn't ctrl + click the default for right click? Is this behaviour specific to your system or a default Mac thing? I wasn't seeing this on my 10.8 VM.

shiffman commented 11 years ago

Oops, sorry, yes, maybe this is something weird with my system. I'll check on a couple different machines and let you know.

Manindra29 commented 11 years ago

Yeah, I'd have sorted this one out, but I can only test things to a certain extent with the OS X VM. Don't have a mac.. :(

Manindra29 commented 11 years ago

Did you check back? Is it working now?

shiffman commented 11 years ago

I can't explain it, but only in processing on two different 10.8 machines, I am getting right-click for both cntrl and cmd (in Java mode as well). The rest of the OS, cntrl-only. @benfry do you know if this is a Processing behavior?

atduskgreg commented 10 years ago

Both ctrl+click and cmd+click bring up the contextual popup menu for me on OSX 10.8+. And the menu gets stuck floating in space when the focus point changes.

screen shot 2013-09-25 at 10 00 12 am

knupel commented 10 years ago

OS 10.7.5 Ok, I understand now what you want ! Ok for me CMD + clic left = clic right

Manindra29 commented 10 years ago

And what behaviour do you see when you Cmd + Left Click on any variable name in the regular Java mode? I need to find out if this is a Processing behaviour or PDE X behaviour. Afaik, on Mac, Ctrl + Left Click acts as Right click.

knupel commented 10 years ago

On Java mode and Mac 10.7.5

Ctrl + Click Left = Cmd + Click Left = Click Right but don't need to click on variable, same behaviour if I click on empty area of the sketch.

capture decran 2013-09-26 a 23 34 08

Manindra29 commented 10 years ago

This seems like in a bug in the JEditTextArea component, and not something on PDE X's side. I opened an issue in the main repo. Waiting for comments from @benfry.

Manindra29 commented 10 years ago

Now fixed for the next Processing release. See https://github.com/processing/processing/issues/2103