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 - SQL CC in PHP - not working with HEREDOCS and variables
Summary: SQL CC in PHP - not working with HEREDOCS and variables
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P4 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 19:24 UTC by David Vancouvering
Modified: 2013-08-01 12:53 UTC (History)
1 user (show)

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 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.