Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse keyboard shortcut to object in project explorer

pokrakam
Active Contributor
0 Kudos

In Eclipse it's possible to switch the synchronization between the project explorer and the active object on and off. I usually have it off, but often I want to navigate to an object I'm working on to see some related objects.

It's easy enough to just click the synchronization on and off to get the project explorer in sync and stay where it is. But I'd really like a keyboard shortcut to just do a one-time navigation on demand. It's a small thing I know, but something I do many times a day...

So far I've been unable to find a keyboard shortcut in the plethora of config dialogs. Is there such a thing?

1 ACCEPTED SOLUTION

UweFetzer_se38
Active Contributor

There's no direct shortcut, but you can use a workaround:

Context menu in editor -> "show in" (<alt>+<shift>+w) -> "Project Explorer"

(additional advantage: it's much faster)

4 REPLIES 4

UweFetzer_se38
Active Contributor

There's no direct shortcut, but you can use a workaround:

Context menu in editor -> "show in" (<alt>+<shift>+w) -> "Project Explorer"

(additional advantage: it's much faster)

0 Kudos

That gets me there with just the keyboard, good enough. Thanks!

0 Kudos

Yeah, I use this a lot, it's very helpful!

pokrakam
Active Contributor
0 Kudos

Argh, the show in project explorer trick only works in code-based objects. In form based objects such as data elements or Web Dynpro components, alt-shift-w opens the menu but choosing project explorer does nothing.

Unfortunately that's one of my more frequent use cases. Ctrl-shift-a only allows you to open a Web Dynpro component, with which you can't do much. To get to the controllers or views you need to use the project explorer. This is exactly where I'd love to press a key and have the WD component appear on the left so I can navigate to the views.

TBH, I still find the whole Web Dynpro in Eclipse experience clumsy at best. I like it in principle but in practice it's frustrating and buggy, and I find myself reverting to SapGUI and only working in Eclipse for the pure coding parts.