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 226145

Summary: Code Fold Memory
Product: editor Reporter: wnjordan
Component: Code foldingAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: IDE log

Description wnjordan 2013-02-15 05:43:18 UTC
Product Version = NetBeans IDE 7.3 RC2 (Build 201302050851)
Operating System = Linux version 3.2.0-37-generic running on amd64
Java; VM; Vendor = 1.7.0_13
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

When working on a scripts we often set the code folds exactly the way that we need them, only to close the file and lose the folds.  A very useful, time saving, feature would be if the IDE automatically saved the folds and refolded the script exactly as it was the next time it's opened.
Comment 1 wnjordan 2013-02-15 05:43:21 UTC
Created attachment 131410 [details]
IDE log
Comment 2 Svata Dedic 2013-02-19 21:00:43 UTC
I am slowly progressing towards that one. However it will require nontrivial implementation. Consider a large HTML file, "collapse all" action ... and then persist the state. Ouch.

Currently I am trying to prevent individual module owners from providing initial fold state themselves (infrastructure should do that).

*** This bug has been marked as a duplicate of bug 41232 ***
Comment 3 Svata Dedic 2013-02-19 21:01:31 UTC
(sorry; found even earlier request)

*** This bug has been marked as a duplicate of bug 188573 ***