You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/11/14 15:29:00 UTC
[jira] [Updated] (NETBEANS-4650) PHP: Codecompletion on traits
[ https://issues.apache.org/jira/browse/NETBEANS-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated NETBEANS-4650:
-------------------------------------
Labels: pull-request-available (was: )
> PHP: Codecompletion on traits
> -----------------------------
>
> Key: NETBEANS-4650
> URL: https://issues.apache.org/jira/browse/NETBEANS-4650
> Project: NetBeans
> Issue Type: Bug
> Components: php - Editor
> Affects Versions: 12.0, 11.3
> Reporter: flexJoly
> Assignee: Junichi Yamamoto
> Priority: Major
> Labels: pull-request-available
> Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When you want to set a trait in the use-list (directly under the namespace) netbeans will not show the trait in the suggestion.
> h3. Steps to reproduce:
> * Make a simple trait in php
> {code:php}
> namespace test;
> trait MyTrait{}{code}
> * Make a class in php{color:#808080} {color}
> {code:php}
> namespace somewhere;
> class MyClass{}{code}
> * try to add a use to the trait like: (see first screenshot below)
> {code:php}
> namespace somewhere;
> // add trait here, netbeans does not show your trait in the suggestion list,
> // you need to type it yourself
> // after you fully typed it, netbeans does recognize it
> use test\MyTrait;
> class MyClass{}{code}
> h3. Expected result
> Show trait in code-completion when adding it as use under the namespace.
> h3. Some screenshots
> Trait not shown codecompletion when adding as use:
> !screenshot-2.png!
> h3. When adding the trait directly in the class, netbeans does help you.
> !screenshot-1.png!
>
>
> trait recognized in uselist and inside class
> !screenshot-3.png!
>
--
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