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 89961 - Code folding cannot be switched on in options
Summary: Code folding cannot be switched on in options
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 15:36 UTC by Jiri Prox
Modified: 2009-11-02 10:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2006-11-23 15:36:27 UTC
NetBeans IDE Dev (Build 20061120-0828)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

The code folding can be switch off in options dialog, but when it is enabled
again it will not be displayed in editor
Comment 1 Max Sauer 2006-11-29 13:20:31 UTC
I can reproduce this. Reopening of file does help. Strange it works for editor
folds (like ie. Generated code inside form file), but not for the other folds.

--
NetBeans IDE Dev (Build 061129)
1.6.0-rc; Java HotSpot(TM) Server VM 1.6.0-rc-b104
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 2 Vitezslav Stejskal 2007-03-20 02:23:40 UTC
First, this seems to affect java files only. Well, the only other file type I
tried was an ant's build script, so I am not 100% sure.

Anyway, for java files if you turn the code folding on again the sidebar is
added correctly, but it shows no folds. The folds show up as soon as you do
something that makes the javamodel (?) to recompute - eg. edit the file, switch
to another file in the editor and then back or reopen the file of course.
Comment 3 Jan Lahoda 2007-10-18 17:30:38 UTC
I needed to force reparse to make this work - P4.
Comment 4 Jan Lahoda 2008-11-18 14:29:04 UTC
Unlikely to be fixed in foreseeable future.
Comment 5 Quality Engineering 2009-11-02 10:59:04 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX