Bug 62832 - [Markers] Bookmarks should be allowed in class files
Summary: [Markers] Bookmarks should be allowed in class files
Status: RESOLVED DUPLICATE of bug 22284
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 21:59 EDT by Sergey Prigogin CLA
Modified: 2005-11-02 16:22 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Prigogin CLA 2004-05-18 21:59:34 EDT
Add Bookmark command should not be disabled when browsing source file attached 
to a class file.
Comment 1 DJ Houghton CLA 2004-05-19 09:56:53 EDT
Oops...Rafael moved this before I could add a comment. :-)

Currently markers can only be added to resources in the workspace. I assume that
a JAR file corresponds to an IResource and class files are taken care of by the
Java model layer.

Maybe this could be done by adding a marker to the JAR file with attributes
indicating the file, line number, etc?

Comment 2 Philipe Mulet CLA 2004-05-19 11:20:58 EDT
Post 3.0
Comment 3 Sergey Prigogin CLA 2004-10-20 17:20:33 EDT
It's already post 3.0. Could you please reopen this bug.
Comment 4 Sergey Prigogin CLA 2004-10-20 17:21:58 EDT
Reopened.
Comment 5 Jerome Lanneluc CLA 2004-11-04 06:16:27 EST
The resource of an IClassFile can be retrieved using getResource() (this returns
the IFile corresponding to the jar file if it is an internal jar, or null if it
is  an external jar).

Moving to JDT UI for comment.
Comment 6 Dirk Baeumer CLA 2004-11-04 06:48:56 EST
Even if we create such a bookmark the bookmarks view must be able to handle
those "encoded" bookmarks.

Moving to Platform/UI to comment whether this is supported or not.
Comment 7 Michael Scharf CLA 2005-04-08 17:05:45 EDT
This is extremely annoying. I use breakpoint workingsets to maintain my 
bookmarks in class files. That's a hack but it wirks fine. Wit tha additional 
advantage that the breakpoints can be grouped using working sets. 
Disadvantage: you cannot bookmark interfaces :-/

Hmmm...why do markers work with breakpoints but not with bookmarks?
Comment 8 Michael Scharf CLA 2005-04-08 17:09:02 EDT
duplicates: bug 22284 bug 23004 
Comment 9 Tod Creasey CLA 2005-11-02 16:22:39 EST

*** This bug has been marked as a duplicate of 22284 ***