This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269763

Summary: symfony code completion is not complete
Product: php Reporter: vercinstex
Component: SymfonyAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Code completion does not work also for symfony annotation

Description vercinstex 2017-02-06 20:12:38 UTC
Product Version = NetBeans IDE Dev (Build 2017-02-01_15-28-58)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_121
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.121-b13

Reproducibility: Happens every time

STEPS:
  * retrieve a symfony service in controller like: $this->get('app.example')
  * try to get code completion for service adding arrow: $this->get('app.settings')->
  * even try to press ctrl+space bar

ACTUAL:
  code completion suggest generic php

EXPECTED:
  code completion of available methods for the defined service "app.example".
Comment 1 vercinstex 2017-02-06 20:12:45 UTC
Created attachment 163583 [details]
IDE log
Comment 2 vercinstex 2017-02-06 22:13:28 UTC
the same situation of not working code completion happen also with entity repository.

$em->getDoctrine()->getRepository('AppBundle:Example')->

after this even if I press ctrl+space, Netbeans suggest me only default doctrine repository methods but none of eventualy custom repository methods created by the user.
Comment 3 vercinstex 2017-02-08 21:31:59 UTC
Created attachment 163598 [details]
Code completion does not work also for symfony annotation

Code completion does not work also for symfony annotation like doctrine orm or gedmo symfony bundle etc etc...

see attached picture netbeans-no-code-completion-on-annotation.jpg