[ https://issues.apache.org/jira/browse/NETBEANS-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
flexJoly updated NETBEANS-4650: ------------------------------- Description: When you want to set a trait in the use-list (directly under the namespace) netbeans will not show the trait in the suggestion. Steps to reproduce: * Make a simple trait in php {code:php} namespace test; trait MyTrait{}{code} * {color:#808080}{color:#808080}Make a class in php {color}{color} {code:java} namespace somewhere; class MyClass{}{code} * {color:#808080}{color:#808080}try to add a use to the trait like:{color}{color} {code:java} namespace somewhere; // add trait here, netbeans does not show your trait, you need to type it yourself use test\MyTrait; class MyClass{}{code} h3. h3. h3. trait found inside class h3. !screenshot-1.png! Trait not found in use list: (this part needs a fix I think) !screenshot-2.png! trait recognized in uselist and inside class !screenshot-3.png! was: h3. trait found inside class h3. !screenshot-1.png! Trait not found in use list: (this part needs a fix I think) !screenshot-2.png! trait recognized in uselist and inside class !screenshot-3.png! > 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 > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png > > > When you want to set a trait in the use-list (directly under the namespace) > netbeans will not show the trait in the suggestion. > Steps to reproduce: > * Make a simple trait in php > {code:php} > namespace test; > trait MyTrait{}{code} > * {color:#808080}{color:#808080}Make a class in php {color}{color} > {code:java} > namespace somewhere; > class MyClass{}{code} > * {color:#808080}{color:#808080}try to add a use to the trait > like:{color}{color} > {code:java} > namespace somewhere; > // add trait here, netbeans does not show your trait, you need to type it > yourself > use test\MyTrait; > class MyClass{}{code} > h3. > h3. > h3. trait found inside class > h3. !screenshot-1.png! > > > Trait not found in use list: (this part needs a fix I think) > !screenshot-2.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-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