views:

1201

answers:

3

In Eclipse 3.2.2 on Linux content assist is not finding classes within the same project. Upgrading above 3.2 is not an option as SWT is not available above 3.2 for Solaris.

I have seen suggestions to clean the workspace, reopen the workspace, run eclipse with the -clean command, none of which has worked.

+1  A: 

Go to Java/Editor/Content Assist/Advanced in Preferences, and make sure that the correct proposal kinds are selected. Same kind of thing happened to me when I first moved to 3.4.

Cem Catikkas
I have tried multiple things in the content assist preferences including: * Turning off all content assist, cleaning, then re-enabling * Turning on all content assist, then cleaning * Restoring defaults on content assist, then cleaning * Most of the in between
Ryan P
+1  A: 

Are you sure that "build automatically" in the Project menu is checked? :-)

Another thing: is the Problems view, unfiltered, completely clear of compilation errors and of classpath errors?

Damien B
Yes on both counts
Ryan P
+1  A: 

Thanks for your last comment it worked partially. If there is any kind of errors, the content assist wont work. Once fixed, it partially works. I say partially because, there appear to be a bug, when I do Perl EPIC inheritance ex:

package FG::CatalogueFichier;
use FG::Catalogue;
our @ISA = qw(FG::Catalogue);
use strict;

, the inheritted subroutines are not displayed in the content assist.