Eclipse Open Type: Restrict to open project

Andrew Latham

I frequently use the Eclipse "Open Type" dialog to quickly jump to classes. The problem is, as I work on more and more projects in parallel, i.e. tackling different bugs in the same source code, the dialog sorts multiple copies of the same class in different projects by how frequently they've been opened, which means that I have to look around for my current project and make sure to open that type. It's annoying, and often I forget to do it and find myself working on a class in a different project.

Is there a way to restrict the Open Type dialog to only show types from the project I am currently working in?

E-Riz

If "current project" changes infrequently enough, you can use the Working Set selector in the Open Type dialog. It's easy to change the Working Set to match your current context.

enter image description here

Another option is to close the projects you're not currently working with, which eliminates them from consideration in lots of places in the Eclipse UI.

If, however, what you consider "current project" changes very frequently (like every few minutes) then neither of these options is very practical.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Eclipse open all files in project

From Dev

Unable to open a newly created Maven project in eclipse

From Dev

How to open existing C++ project with Eclipse?

From Dev

How can I open this Spring project in Eclipse?

From Dev

eclipse plugin: check selected project is closed or open

From Dev

Imitating Eclipse's "Open Project" UI Functionality

From Dev

How to open a Gradle wrapped project in eclipse

From Dev

eclipse shows only "open projects" in project explorer

From Dev

Eclipse Re-Open once closed project

From Dev

Open Eclipse view programmatically in plugin-project

From Dev

How can I open this Spring project in Eclipse?

From Dev

Eclipse's "Open Project" takes forever

From Dev

In Eclipse, how do I limit the Open Type shortcut to only show source files in my current project

From Dev

Eclipse extension point for Open Resource/Open Type dialogs

From Dev

Unknown type name in open source project

From Dev

Algotrader open source project not recognized as java project in eclipse

From Dev

How to exclude some project/path in Eclipse Open Resource result list?

From Dev

Eclipse keyboard shortcut to open build path of current project?

From Dev

Eclipse error message while trying to open and RSE project

From Dev

How can I re-open a Maven project in Eclipse?

From Dev

Double clicking a resource in Eclipse Project Explorer does not open the second file

From Dev

"cannot open git-upload-pack" - Cloning project in Eclipse IDE

From Dev

Eclipse - change order for Open Declaration / Implementation / Return Type

From Dev

What is .xproj file and how to open this project type in Visual Studio 2012?

From Dev

Open JDK crashing eclipse

From Dev

Unable to open eclipse marketplace

From Dev

Open Files in Eclipse?

From Dev

Eclipse failing to open

From Dev

Error during open the eclipse

Related Related

  1. 1

    Eclipse open all files in project

  2. 2

    Unable to open a newly created Maven project in eclipse

  3. 3

    How to open existing C++ project with Eclipse?

  4. 4

    How can I open this Spring project in Eclipse?

  5. 5

    eclipse plugin: check selected project is closed or open

  6. 6

    Imitating Eclipse's "Open Project" UI Functionality

  7. 7

    How to open a Gradle wrapped project in eclipse

  8. 8

    eclipse shows only "open projects" in project explorer

  9. 9

    Eclipse Re-Open once closed project

  10. 10

    Open Eclipse view programmatically in plugin-project

  11. 11

    How can I open this Spring project in Eclipse?

  12. 12

    Eclipse's "Open Project" takes forever

  13. 13

    In Eclipse, how do I limit the Open Type shortcut to only show source files in my current project

  14. 14

    Eclipse extension point for Open Resource/Open Type dialogs

  15. 15

    Unknown type name in open source project

  16. 16

    Algotrader open source project not recognized as java project in eclipse

  17. 17

    How to exclude some project/path in Eclipse Open Resource result list?

  18. 18

    Eclipse keyboard shortcut to open build path of current project?

  19. 19

    Eclipse error message while trying to open and RSE project

  20. 20

    How can I re-open a Maven project in Eclipse?

  21. 21

    Double clicking a resource in Eclipse Project Explorer does not open the second file

  22. 22

    "cannot open git-upload-pack" - Cloning project in Eclipse IDE

  23. 23

    Eclipse - change order for Open Declaration / Implementation / Return Type

  24. 24

    What is .xproj file and how to open this project type in Visual Studio 2012?

  25. 25

    Open JDK crashing eclipse

  26. 26

    Unable to open eclipse marketplace

  27. 27

    Open Files in Eclipse?

  28. 28

    Eclipse failing to open

  29. 29

    Error during open the eclipse

HotTag

Archive