You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Björn Tantau (JIRA)" <ji...@apache.org> on 2019/01/05 11:18:00 UTC

[jira] [Created] (NETBEANS-1859) PHP autocompletion does only get fully qualified returned objects

Björn Tantau created NETBEANS-1859:
--------------------------------------

             Summary: PHP autocompletion does only get fully qualified returned objects
                 Key: NETBEANS-1859
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1859
             Project: NetBeans
          Issue Type: Bug
          Components: php - Editor
    Affects Versions: 9.0
         Environment: Ubuntu Bionic
            Reporter: Björn Tantau
         Attachments: test.php, test2.php

When I'm calling a function that returns an object. And if that object's classed is type hinted through PHP, but not with the complete namespace. Then Netbeans does not offer autocompletion for the correct class.

 

See the attached files test.php and test2.php. Add both to a project and open test2.php. In test2.php try to get autocompletion of properties of the \Test\newTest() method.

 

Expected output:

I get offered only the $test property.

 

Actual output:

No properties are offered.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists