Olexandr Ponomarenko created NETBEANS-5849:
----------------------------------------------
Summary: Autocomplete for PHP use stops working right after line
with "use" which use grouping
Key: NETBEANS-5849
URL: https://issues.apache.org/jira/browse/NETBEANS-5849
Project: NetBeans
Issue Type: Bug
Components: php - Code, php - Editor
Affects Versions: 12.4
Environment: Windows 10 64-bit
NetBeans 12.4 binaries
PHP 7.4.21
Reporter: Olexandr Ponomarenko
Test project structure:
NS1\First.php
NS1\Second.php
NS2\Third.php
test.php
Trying to autocomplete class name NS2\Third in test.php fails:
{code:php}
<?php // test.php
use NS1\{
First,
Second
};
use third<<<
{code}
But it works well if used before "use" with grouping:
{code:php}
<?php // test.php
use NS2\Third;
use NS1\{
First,
Second
};
{code}
Also, autocompletion for class names works fine inside class body which have
grouping in use block.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists