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

Summary: Project source files are shown "as comments" in built-in editor
Product: cnd Reporter: Thomas Preisler <thp>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

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