Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329607 - Browsing source of class files in a JAR turns off semantic highlighting
Summary: Browsing source of class files in a JAR turns off semantic highlighting
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-06 05:26 EDT by Prashant Deva CLA
Modified: 2010-11-08 03:39 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prashant Deva CLA 2010-11-06 05:26:12 EDT
This has been present since many versions of eclipse.

What happens is I press f3 to 'open declaration' of some method in a jar in the classpath of my project, whose source i have attached. 
That classfile opens in the editor fine and I can see all the semantic highlighting. However as I move to other files in the same jar while browsing around the code, other files dont seem to have semantic highlighting applied to them.

The files that do/do not have semantic highlighting applied seems to occur randomly. It happens only when browsing the attached source code for jar files.
Comment 1 Dani Megert CLA 2010-11-08 03:38:54 EST
Sorry but I cannot reproduce this using 3.6.1 or 3.7 M3. If you can reproduce with one of those builds then please provide more detailed steps and reopen the bug.

One problem could be that your build path is not complete and hence it can't build the AST for some of the classes.