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 231451 - code completion doesn't recognize function with include
Summary: code completion doesn't recognize function with include
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.2.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-18 14:27 UTC by freakyandy
Modified: 2013-06-18 14:27 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freakyandy 2013-06-18 14:27:37 UTC
This fails, if I create object in include file:

int main(int argc, char *argv[])
{
...

#   include "createFields.H"
...

interface.initializeControlPointsPosition(); 
...
--------------------------------------------------


This however works:
int main(int argc, char *argv[])
{
...
...
...

freeSurface interface(mesh, rho, U, p, phi);
interface.initializeControlPointsPosition();
...
-------------------------------------------------
Here, if I type "interface." and press Strg-Tab , code completion offers functions, also "initializeControlPointsPosition"
No include errors appear.

"freeSurface interface(mesh, rho, U, p, phi);" 
is part of 
#   include "createFields.H"