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 248131

Summary: To large code completion
Product: php Reporter: michal.simon
Component: EditorAssignee: Tomas Mysik <tmysik>
Status: NEW ---    
Severity: normal CC: tmysik
Priority: P4    
Version: 8.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of my desktop
Nette inject method

Description michal.simon 2014-10-23 10:42:09 UTC
Created attachment 150076 [details]
Screenshot of my desktop

My code completion window is much more larger then the IDE window. There is an example on the screenshot i attached.
Comment 1 Ondrej Brejla 2014-10-23 11:41:12 UTC
Probably there is a really wide CC item in the list...can you go through them and identify it? Or just attach here a sample, where it can be reproduced. Thanks.
Comment 2 michal.simon 2014-10-23 11:56:38 UTC
Created attachment 150078 [details]
Nette inject method
Comment 3 michal.simon 2014-10-23 11:57:56 UTC
Comment on attachment 150078 [details]
Nette inject method

You are right, there is this long method in Nette Framework.
Comment 4 Tomas Mysik 2016-06-10 10:08:29 UTC
Seems to me to be a general problem, not a PHP specific one - am I correct? Please evaluate, thanks.
Comment 5 Dusan Balek 2016-06-10 13:55:43 UTC
The with of the code completion popup is computed from the width of provided items. Currently, it is limited to maximum 90% of the screen width.
As a solution please consider shortening of the php completion item texts (e.g. 'Nette\DI\Container $contenxt = NULL' replace with 'Container $context').
Comment 6 Tomas Mysik 2016-06-13 07:35:30 UTC
Lowering to P4, not a serious problem IMHO. Thanks.