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 132495 - CC for class, function doesn't for included files
Summary: CC for class, function doesn't for included files
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 10:43 UTC by Petr Pisl
Modified: 2008-04-10 13:50 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 Petr Pisl 2008-04-10 10:43:44 UTC
Create a project, create a new php file. Place a class definition or function in the new file. Include the new file to
the index.php. In the index.php, there should be visible the class declaration and the function.
Comment 1 Tomasz Slota 2008-04-10 11:30:50 UTC
it works for me, need to debug it on your machine
Comment 2 Tomasz Slota 2008-04-10 13:27:15 UTC
OK, it doesn't work for the parenthesis syntax i.e. include ("file.php"). It works for include "file.php". Should be trivial to fix
Comment 3 Tomasz Slota 2008-04-10 13:50:00 UTC
Fixed.

http://hg.netbeans.org/release61-php/rev/17bbff1d311b