[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674402#comment-16674402 ] Junichi Yamamoto commented on NETBEANS-1576: [~Nameless] It is another problem. So, please submit it as a new issue. [~lkishalmi] Please do it if it's OK with you. I've verified that unit tests pass at least. I've created a new PR for this issue because of my mistake. So, If you cherry pick it, could you please also do this?: https://github.com/apache/incubator-netbeans/pull/1008 Thanks! > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php, pull-request-available > Fix For: Next > > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4, image-2018-11-03-11-36-48-134.png, > image-2018-11-03-15-33-28-173.png > > Time Spent: 40m > Remaining Estimate: 0h > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674241#comment-16674241 ] Laszlo Kishalmi commented on NETBEANS-1576: --- Shall we cherry pick the PR in release100? > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php, pull-request-available > Fix For: Next > > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4, image-2018-11-03-11-36-48-134.png, > image-2018-11-03-15-33-28-173.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674033#comment-16674033 ] Nameless commented on NETBEANS-1576: Oh, yes, it helped and I see method1, method2 and method3 after $obj->. But I have one more related question: !image-2018-11-03-15-33-28-173.png! Shouldn't be class for $obj shown too, like for $repo? > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php, pull-request-available > Fix For: Next > > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4, image-2018-11-03-11-36-48-134.png, > image-2018-11-03-15-33-28-173.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16674016#comment-16674016 ] Junichi Yamamoto commented on NETBEANS-1576: Please try to write vardoc before $repo. {code:java} /* @var $repo \Repo\RepoClass */ $repo = $magick->getRepo(); {code} > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php, pull-request-available > Fix For: Next > > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4, image-2018-11-03-11-36-48-134.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16673966#comment-16673966 ] Nameless commented on NETBEANS-1576: [~junichi11] unfortunatelly, nothing has changed: !image-2018-11-03-11-36-48-134.png! This is the same project that is attached to this task. > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php, pull-request-available > Fix For: Next > > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4, image-2018-11-03-11-36-48-134.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16668572#comment-16668572 ] Kevin Andrews commented on NETBEANS-1576: - Fair comment, i'll investigate further and raise a new issue if needed. > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16668557#comment-16668557 ] Junichi Yamamoto commented on NETBEANS-1576: [~CaffeineAddict] I'm not sure if your problem is the same as above example. Could you provide a simple sample project to reproduce your problem like this issue? If your issue is not the same as this, please submit it as a new issue. Thanks. > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16668506#comment-16668506 ] Kevin Andrews commented on NETBEANS-1576: - Additional information which may help track when this regression started: I've opened a previous build which works fine: netbeans-20181014 And opened all subsequent builds in which this functionality has stopped working: netbeans-20181022 netbeans-20181029 Hopefully this helps :) > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16668393#comment-16668393 ] Kevin Andrews commented on NETBEANS-1576: - I'm seeing the same for: * auto completing (ctrl+space) of classes and variables not in a currently open file * clicking through (ctrl + left click) to un-open class files via class names and method calls Interestingly if I open the class file manually and click through / use auto-completion it starts working correctly (for just that class file i've opened manually). > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Assignee: Junichi Yamamoto >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken
[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1980#comment-1980 ] Nameless commented on NETBEANS-1576: [~Chrizzly] sorry again, I pressed ctrl+enter and the form went before it was ready… > PHP autocompletion partially broken > --- > > Key: NETBEANS-1576 > URL: https://issues.apache.org/jira/browse/NETBEANS-1576 > Project: NetBeans > Issue Type: Bug > Components: php - Editor >Affects Versions: 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) >Reporter: Nameless >Priority: Major > Labels: autocompletion, php > Attachments: PhpAutocompletionProblems.zip, > autocompletion_problem_screencast.mp4 > > > It seems that autocompletion partially broken for PHP project. > In project's properties PHP version 7.2 selected for my example. > Here is [screencast|https://streamable.com/auldi] (attached also). > Screencast was made with NB v10#890, but I'm getting the same troubles with > Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are > specified. > Textual description (in comments): > {code:php} > namespace Repo; > > use Entity\EntityClass; > > /** > * @method EntityClass[] getAll() > */ > class RepoClass > { > /** > * > * @param array $params > * @return EntityClass > */ > public function findOrCreate(array $params): EntityClass > { > return new EntityClass(); > } > } > {code} > {code:php} > > namespace App; > > class App > { > public function exec() > { > $repo = $magick->getRepo(); > /* @var $repo \Repo\RepoClass */ > $obj = $repo->findOrCreate($params); > // for now all goes fine, ctrl+space after `->` shows methods > // `getAll()` and `findOrCreate(array $params)` > $obj-> // but no autocompletion here :( > } > > } > {code} > {panel:title=Versions} > Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-linux-890-on-20181029) > Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS > System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb) > {panel} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists