You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Olexandr Ponomarenko (Jira)" <ji...@apache.org> on 2021/07/12 14:51:00 UTC
[jira] [Updated] (NETBEANS-5849) Autocomplete for PHP use stops
working right after line with "use" which use grouping
[ https://issues.apache.org/jira/browse/NETBEANS-5849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olexandr Ponomarenko updated NETBEANS-5849:
-------------------------------------------
Description:
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 has grouping in use block.
was:
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.
> 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
> Assignee: Junichi Yamamoto
> Priority: Major
>
> 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 has grouping in use block.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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