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 - Folding stoped to work for package.json files
Summary: Folding stoped to work for package.json files
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: JSON (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-28 10:04 UTC by Petr Pisl
Modified: 2015-06-03 02:27 UTC (History)
0 users

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 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