This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 50055 - In Usages window, comments should be suppressed or in a different font
Summary: In Usages window, comments should be suppressed or in a different font
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks: 51153
  Show dependency tree
 
Reported: 2004-10-07 00:09 UTC by Jesse Glick
Modified: 2005-01-05 15:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot (143.38 KB, image/png)
2004-10-07 00:13 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-10-07 00:09:12 UTC
See screenshot from 041006 custom + JDK 1.5.0 of
usages of FileObject.isVirtual. Look at e.g.
JMManager.java's match:

if (fo.isVirtual() || !fo.isValid()) { // simply
ignore virtual and invalid files return null; }

Where does the comment end and the real code resume?

Suggest one of:

1. Show only the actual line of text, not the
whole block. Would also solve the problem of the
absurdly long horizontal scrolling here.

2. Trim all line or block comments before
displaying. Might make it harder to see what
something is doing, however.

3. Show comments, but in a different face, e.g. in
grey, so they cannot be confused with code.
Comment 1 Jesse Glick 2004-10-07 00:13:21 UTC
Created attachment 18107 [details]
Screen shot
Comment 2 Jan Becicka 2005-01-05 15:22:24 UTC
Currently only line with usage is shown, not whole statement.