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 252639

Summary: Folding stoped to work for package.json files
Product: javascript Reporter: Petr Pisl <ppisl>
Component: JSONAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Petr Pisl 2015-05-28 10:04:35 UTC
The folding is not now displayed for json files. In console there is message: WARNING [org.netbeans.modules.csl.editor.fold.GsfFoldManager]: Undefined fold types used in org.netbeans.modules.javascript2.editor.parser.JsParserResult@556383da: [code-block]
Comment 1 Petr Pisl 2015-06-01 12:23:13 UTC
I have fixed this. The JsonFoldTypeProvider is now inheritable. But the fix brings new Exception #780454 in FoldRegistry, which looks like a problem in Fold infrastructure. I will work on this with Svata.
Comment 2 Quality Engineering 2015-06-03 02:27:17 UTC
Integrated into 'main-silver', will be available in build *201506030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5f7e78b7cca0
User: Petr Pisl <ppisl@netbeans.org>
Log: #252639 - Folding stoped to work for package.json files