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 251277 - Source Code parse fails
Summary: Source Code parse fails
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-19 09:02 UTC by er.vasanth15
Modified: 2015-03-23 12:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description er.vasanth15 2015-03-19 09:02:49 UTC
The issue description is as below.

For eg., in #include "header.h";

#include "a.h"
#include "b.h"
.....
....
..

Considering the case when a.h is not accessible, the entire header.h file is not parsed. As a result, user has to individually right click that greyed file and select add to parse option to reach out the valid definitions available.

Since the project am handling is pretty huge, I see many greyed .c or .cpp files and have to right click each and every one of the greyed files to re-parse.

Currently I am using Eclipse and planning to migrate from eclipse to netbeans. This behaviour is not seen in Eclipse. (just as reference).

Requesting to fix the same and share an update on this.
Comment 1 er.vasanth15 2015-03-19 09:34:13 UTC
Basically, I would like to know if there is an option to forcefully parse all the files in the project rather than right clicking each greyed file one by one -> Properties -> Add to parse
Comment 2 Vladimir Voskresensky 2015-03-19 18:35:16 UTC
Did you use wizard "create project from existing sources"?
Is your project compilable?
If yes, than do Clean&Build from IDE once and then press "Reconfigure Code Assistance" in Output Window to auto include all compiled sources into project (all included headers will be parsed as well).

Also  in Project properties there is checkbox:
Code Assistance->Extra Source Files
Comment 3 Vladimir Voskresensky 2015-03-23 12:25:03 UTC
accodring to user's feedback by e-mail, the checkbox:
"Code Assistance->Extra Source Files" solved the case