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 156912

Summary: SQL CC in PHP - not working with HEREDOCS and variables
Product: db Reporter: David Vancouvering <davidvc>
Component: SQL EditorAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: blocker CC: romanmostyka
Priority: P4    
Version: 6.x   
Hardware: All   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description David Vancouvering 2009-01-15 19:24:31 UTC
If you try 

        <?php
        $var = <<<HERE
select a.| , ${var['testing']} from actor a
HERE

no SQL completion itesm are offered

if you try

        <?php
        $var = <<<HERE
select a. , ${var['testing']} from | actor a
HERE

This also doesn't work.

If you don't have a variable in the middle, it works fine.
Comment 1 Jiri Rechtacek 2009-02-10 15:36:52 UTC
Reassigned to new owner.
Comment 2 Jiri Skrivanek 2009-10-15 10:12:37 UTC
Not easy to parse such a statement. Fixing will need a consultancy of PHP knowledgeable people.