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 237386

Summary: Editor automatically folds currently writing method when autocompletion is shown
Product: php Reporter: marcosgdf
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description marcosgdf 2013-10-20 20:17:58 UTC
For example in a PHP class file:

If I start typing:

public function findNotebook(int $abc, \DateTime

Then the method is automatically folded after I finnish writing the class' name and automatically unfolded when writing a new input variable of the function
Comment 1 marcosgdf 2013-10-20 20:19:02 UTC
(When I have automatically fold methods = on)
Comment 2 Svata Dedic 2013-11-01 09:15:07 UTC
possibly a php completion / folding thing on partially written code fragment; please investigate
Comment 3 Ondrej Brejla 2013-11-04 09:51:25 UTC
I just tested that in the dev build with your code and it wasn't folded automatically :/ Sorry.

Product Version: NetBeans IDE Dev (Build 20131104-5d037aa27a13)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.11.0-12-generic running on i386; UTF-8; cs_CZ (nb)