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 269983 - Code Completion would not show classes from included files variables
Summary: Code Completion would not show classes from included files variables
Status: RESOLVED DUPLICATE of bug 211237
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-04 22:01 UTC by alex9099
Modified: 2017-03-04 22: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 alex9099 2017-03-04 22:01:07 UTC
Dont know if this is a bug or if am i doing something wrong

I have this code: 


config.php:

    $db = new PDO($dsn, $GLOBALS["mysql_user"], $GLOBALS["mysql_password"], $opt);


and on index.php i have:

include "config.php";

$db->quote();


Code completion only works on $db if it is present on index.php (doing $db = new PDO())
Comment 1 alex9099 2017-03-04 22:03:59 UTC
This seems to be duplicated for 211237

*** This bug has been marked as a duplicate of bug 211237 ***