[ https://issues.apache.org/jira/browse/NETBEANS-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16673966#comment-16673966 ]
Nameless edited comment on NETBEANS-1576 at 11/3/18 8:42 AM: ------------------------------------------------------------- [~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. was (Author: nameless): [~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} > <?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} > <?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