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 252711 - SQL Editor does not support custom code folding
Summary: SQL Editor does not support custom code folding
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: matthias42
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-31 18:39 UTC by matthias42
Modified: 2015-06-08 12:46 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 matthias42 2015-05-31 18:39:06 UTC
The editor subsystem of netbeans offers code folding ability, the sql editor lacks integration with basic code folding.

See request here:

https://netbeans.org/projects/www/lists/nbusers/archive/2015-05/message/270
Comment 1 matthias42 2015-05-31 20:12:37 UTC
The CustomFoldManager from the editor.fold module needed to be integrated. The change was pushed as:

http://hg.netbeans.org/core-main/rev/0d92ec639c91

In the next few days a nightly build which integrates the change will be published here. joecsc, m1k0 please have a look at the nightly build. If you find the fix working, please change the state of this bug to "VERIFIED".

Thank you!
Comment 2 Quality Engineering 2015-06-02 03:01:34 UTC
Integrated into 'main-silver', will be available in build *201506020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0d92ec639c91
User: Matthias Blaesing <matthias42@netbeans.org>
Log: #252711: Integrate CustomFoldManager from editor.fold module into SQL editor
Comment 3 Jiri Kovalsky 2015-06-08 12:46:32 UTC
SQL editor now understands --//<editor-fold> directives. Thanks for implementing this feature Matthias. Verified in:

Product Version: NetBeans IDE Dev (Build 201506080001)
Java: 1.7.0_76; Java HotSpot(TM) 64-Bit Server VM 24.76-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_76-b13
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)