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 135642 - Project source files are shown "as comments" in built-in editor
Summary: Project source files are shown "as comments" in built-in editor
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 21:51 UTC by Thomas Preisler
Modified: 2009-03-25 20:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (124.71 KB, text/plain)
2008-05-22 21:59 UTC, Thomas Preisler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2008-05-22 21:51:49 UTC
From CR 6666496:

I used Sun Studio 12 IDE to develop "mpmt" and "dmake" projects.
Now we have a new version, built on Netbeans 6.0. Unfortunately this version has 
a regression - it "thinks" that several source files are not used in my project, 
so it decides to show them "as comments" in built-in editor.
The screen shot is attached.

The breakpoint shows that this file is actually used, and the debugger stopped 
the execution at the breakpoint.
This problem makes the new IDE almost useless, because it is hard to read the
source files - text is almost invisible.
Comment 1 Thomas Preisler 2008-05-22 21:59:24 UTC
Created attachment 61787 [details]
screenshot
Comment 2 Sergey Grinev 2008-05-23 00:51:21 UTC
Any chance to get more details about file on screenshot?
And to check if project was set up properly?

Also there are workarounds:
1. Remove Inactive Highlighting in Font/Colors
2. in trunk version user can switch Inactive Code HL in C/C++ Option->Semantic HL
Comment 3 Alexander Pepin 2008-06-30 13:48:40 UTC
There are two workarounds. The main cause is that "IDE "thinks" that several source files are not used in my project".
Comment 4 Thomas Preisler 2008-09-16 18:33:43 UTC
Removed SSIDE keyword as this bug is not specific to Sun Studio.
Comment 5 Alexander Simon 2009-03-23 16:12:34 UTC
It seems code assistance "think" that code block is not active.
To localize problem we need a steps to reproduce a problem.
It is possible that project do not proper configured.
Comment 6 Alexander Simon 2009-03-25 20:26:40 UTC
close, because no steps to repeat