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 133804

Summary: CC doesn't offer constant defined in the included file
Product: php Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Tomasz Slota <tslota>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Pisl 2008-04-23 22:43:21 UTC
I have one file with :

<?php
        define("SQL_HOST","localhost");
        define("SQL_DBNAME","Media");
        define("SQL_USERNAME","root");
        define("SQL_PASSWORD","ondra");
?>

In other file I include the file with the constant, but the cc doesn't offer the constant
Comment 1 Tomasz Slota 2008-05-30 13:35:15 UTC
It works for me in the current build, there was a number of issues about offering CC for stuff defined in included files, all of them have been fixed for a while
Comment 2 Mikhail Matveev 2008-07-10 17:35:25 UTC
Works correctly now.