Summary: | Enrich Java Class Outline with more static {...} info [render] [general issue] | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | markusle <mle> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | dirk_baeumer |
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | 23669 | ||
Bug Blocks: |
Description
markusle
2003-10-17 02:29:58 EDT
After writting that feature request I noticed that this enrichment, is alos vbalueable for class with multiple regular static initializers. Perhaps that is more convincing to the kind reader, then my personal use of that feature Move to JDT/UI. If static initializers have a different color in the outline tree, then it helps me even more. If we add such a scheme (named static initializers) then the name has to be provided by JDT/Core. Otherwise UI has to rescan the file to determine the name. Asking JDT/Core for comments. Why not simply using comments, rather than expecting static initializers to behave like labels... I would rather provide @category support in javadoc annotations. Then UI would simply offer to group per categories. Back to UI for disposal. To #5: Simple comments don't show up in the Outline view, but there is (perhaps a long) list of tree nodes "static{....}" Using "@category" may help if it shows up in the outline view as intended, but javadoc don't have it? Philippe, how do I access @category in Javadoc annotations without scanning them? It isn't supported yet, though there is quite some consensus on these: http://java.sun.com/j2se/javadoc/proposed-tags.html We would have to provide support to surface these in the JavaModel, we have a request for this already, see bug 23669 I like the idea of using @categroy for this instead of coming up with a "hand made" solution. The discussion about @category or comment or whatever suggests that some kind off (specifyable) information will become displayed in the tree nodes static{...} of the outline view, i.e.: static{ "@categroy data" } static{ "Content of first line content" }. But nobody says it explicit, so please anwser it clear: Becomes some kind of editable information displayed in the outline views static{..} nodes??? Not for 3.0. Core will not provide functionality for 3.0. As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |