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 76265 - Code completion list contains only internal functions/variables on windows.
Summary: Code completion list contains only internal functions/variables on windows.
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on: 75869
Blocks:
  Show dependency tree
 
Reported: 2006-05-12 11:29 UTC by soldatov
Modified: 2007-09-06 18:03 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 soldatov 2006-05-12 11:29:00 UTC
- Start Netbeans under cygwin
- Create "Applcation" project
- Add "Main C File" into project
- Move cursor into main function
- Press "ctrl-space"

Code completion list contain only 3 items
Under linux and solaris code completion list contain functions from "stdio.h"
and "stdlib.h" ("printf" for example)
Comment 1 Andrew Krasny 2006-09-06 13:19:30 UTC
Windows is a target platform. 
Declarations from system headers are not visible no matter how NB has been
started (from cygwin or from Windows Explorer). 
Also explicit specifation of include directory in Project Properties Dialog
doesn't lead to correct code-completion list.
Comment 2 Alexander Simon 2006-09-08 14:32:38 UTC
Provide path to includes. Code complition will work right.
Windowos doesn't have standard path to standard libraries.
Hence CND cannot find standard includes.
Configure project:
-c/c++
 -GNU C compiler
  -General
   -Additional include directories
    -Add path to incudes.
Comment 3 Maria Tishkova 2006-09-11 11:49:19 UTC
It is impossible to add include paths for Makefile projects, so it means code
completion will not work for system functions on Windows at all for Makefile
based projects.
Comment 4 Vladimir Kvashin 2006-10-10 20:29:21 UTC
After #75869 has been fixed, this one doesn't reproduce. Declarations from
stdio, stdlib and other files appear in completion list.
Comment 5 Maria Tishkova 2007-08-06 17:49:33 UTC
verified, I believe a long time ago.