Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Retrigger the computation of Java search scope
Retrigger the computation of Java search scope [message #998319] Wed, 09 January 2013 14:54 Go to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

I have several workspaces with the preference flag "Include all plug-ins from target in Java search" in the "Plug-in Development" section.

For reasons unknown to me, some workspaces do not show all classes, even with this settting. For example I cannot open the SWT button. I have no type filters defined.

Is there a way to re-trigger the "computation of the Java search".

If I unflagging and reflagging this setting (with pressing apply each time) does not seem to make a difference.
Re: Retrigger the computation of Java search scope [message #998731 is a reply to message #998319] Thu, 10 January 2013 10:18 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 09.01.2013 20:54, Lars Vogel wrote:
> I have several workspaces with the preference flag "Include all
> plug-ins from target in Java search" in the "Plug-in Development"
> section.
>
> For reasons unknown to me, some workspaces do not show all classes,
> even with this settting. For example I cannot open the SWT button. I
> have no type filters defined.
>
> Is there a way to re-trigger the "computation of the Java search".
> If I unflagging and reflagging this setting (with pressing apply each
> time) does not seem to make a difference.

You could try to select the bundle(s) in the 'Plug-ins' view and then
context menu > 'Add to Java Search'. This view also indicates with a 'J'
decorator whether a bundle is part of the Java search or not.
That it doesn't find SWT types could be a problem of 32-bit vs. 64-bit.
Check your target.

Dani
Re: Retrigger the computation of Java search scope [message #1000432 is a reply to message #998731] Mon, 14 January 2013 14:04 Go to previous message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Thanks Dani, adding them manually did solve this issue.

Previous Topic:JUnit Support extensibility : run tests from classpath jars
Next Topic:Trigger view refresh after preference import
Goto Forum:
  


Current Time: Wed Aug 20 10:43:22 EDT 2014

Powered by FUDForum. Page generated in 0.02160 seconds