Code Folding

by Patrick Oladimeji for brackets <1.4.0 
Brackets extension that provides simple code folding for files edited in brackets. Supports brace folding, tag folding, indent folding and multi-line comment folding
version
0.3.5
modified
2015-04-22T21:21:18.669Z
first seen
2013-08-09T07:10:14.467Z
downloads
273716
 Versions
0.3.5
2015-04-22T21:21:18.669Z
17923
0.3.4
2015-04-19T22:31:43.850Z
7436
0.3.3
2015-04-03T21:36:30.746Z
16164
0.3.2
2015-03-05T11:40:57.338Z
24052
0.3.1
2015-02-13T14:27:45.331Z
15251
0.3.0
2015-02-02T19:28:28.759Z
11279
0.2.26
2014-12-31T00:08:40.991Z
19031
0.2.25
2014-12-30T14:20:34.391Z
1054
0.2.24
2014-11-17T00:10:42.700Z
21839
0.2.23
2014-10-28T07:20:15.533Z
15056
0.2.22
2014-10-07T20:51:34.754Z
10099
0.2.21
2014-09-29T16:14:30.759Z
6066
0.2.20
2014-09-07T16:21:33.533Z
9308
0.2.19
2014-08-26T08:29:58.817Z
6604
0.2.18
2014-08-05T10:05:26.214Z
8085
0.2.17
2014-07-21T18:05:02.519Z
6359
0.2.15
2014-06-28T20:20:18.248Z
7897
0.2.14
2014-05-24T03:39:40.814Z
9124
0.2.13
2014-05-11T21:32:52.092Z
4348
0.2.12
2014-05-08T04:18:51.050Z
1672
0.2.11
2014-04-27T02:00:18.550Z
3159
0.2.10
2014-04-27T01:22:39.339Z
772
0.2.9
2014-04-21T00:55:25.894Z
2975
0.2.8
2014-04-20T19:18:27.542Z
128
0.2.7
2014-03-27T21:05:24.792Z
5208
0.2.6
2014-03-22T21:51:10.240Z
2193
0.2.5
2014-03-20T08:31:04.340Z
1080
0.2.4
2014-02-13T18:47:44.553Z
6577
0.2.3
2014-01-03T00:48:13.387Z
5654
0.2.2
2013-12-29T11:38:49.292Z
1094
0.2.1
2013-12-23T21:04:51.437Z
1216
0.2.0
2013-12-22T23:04:14.353Z
348
0.1.7
2013-12-04T11:38:13.825Z
3694
0.1.6
2013-11-28T10:39:17.725Z
1343
0.1.4
2013-11-17T22:38:11.279Z
2773
0.1.3
2013-11-17T20:55:24.411Z
48
0.1.2
2013-11-16T13:53:52.100Z
536
0.1.1
2013-11-04T09:30:27.232Z
2894
0.1.0
2013-10-28T15:28:11.464Z
1360
0.0.83
2013-10-14T21:29:48.664Z
2120
0.0.82
2013-10-11T14:54:15.375Z
587
0.0.81
2013-10-10T14:11:39.309Z
290
0.0.80
2013-10-07T21:16:22.296Z
475
0.0.76
2013-10-04T08:50:10.232Z
665
0.0.70
2013-09-26T09:59:33.076Z
1355
0.0.60
2013-09-17T10:08:55.450Z
1411
0.0.53
2013-09-12T15:58:49.164Z
724
0.0.52
2013-09-05T15:37:26.848Z
1079
0.0.51
2013-08-29T10:10:21.540Z
968
0.0.5
2013-08-28T14:15:27.224Z
186
0.0.4
2013-08-16T13:22:48.941Z
1481
0.0.3
2013-08-09T07:10:14.467Z
676
 Readme
###Please read **From release 1.3, code folding will be integrated into Brackets (although without custom region folding). This repository is still active for users who are running Brackets versions less than 1.3. If you are running 1.3 and would like custom region code folding you can find it [here](https://github.com/thehogfather/brackets-custom-region-code-folding).** #Code folding for Brackets A code folding extension for [Brackets](https://github.com/adobe/brackets/) based on [CodeMirror's folding addon](http://codemirror.net/demo/folding.html). Peforms code folding based on brace ({}, []) matching and multiline comments for javascript, json, css, php and less files. Also has some support for html and xml files based on tag matching. ![Alt text](./screenshots/folded-example.png?raw=true "Folded Example") ### Features 1. Define custom regions in any language recognised in Brackets by creating a line comment whose first word is **region** to designate the beginning of a region, and another line comment whose first word is **endregion** to designate the end of a region 2. Collapse or expand all foldable child regions by holding down the Alt-key while clicking on fold triangles (as found in OSX Finder). 3. Fold states are persisted to preferences file. ### How to install Navigate to **Brackets > File > Install Extension** and paste url https://github.com/thehogfather/brackets-code-folding ####Or manually 1. [Download](https://github.com/thehogfather/brackets-code-folding/archive/master.zip) 2. Unzip in **user** folder in **Brackets > Help > Show Extensions Folder** 3. Restart or Reload Brackets ### Keyboard shortcuts The following are the default keyboard shortcut keys for the code-folding extension. Ctrl-Alt-C Collapse code region at current cursor position Ctrl-Alt-X Expand code region at current cursor position Alt-1 Collapse all code regions in current editor Shift-Alt-1 Expand all code regions in current editor ##Known Issues #### Conflicting keyboard shortcuts **If any of the shortcut keys above conflict with your keyboard or you would prefer to use another shortcut key for any reason, you can [remap the keys as described here](https://github.com/adobe/brackets/wiki/User-Key-Bindings). ** The following are CommandIds for remmaping keys codefolding.collapse.all **collapses all regions** codefolding.collapse **collapses current region** codefolding.expand **expands current region** codefolding.expand.all **expands all code regions in file** codefolding.collapse.customregions **collapses all custom regions in the file ** codefolding.settings **show code folding settings dialog** #### EdgeCode support If you are running edge code, the latest compatible version is [v0.2.7](https://github.com/thehogfather/brackets-code-folding/tree/v0.2.7). You can download and install from [this url](https://github.com/thehogfather/brackets-code-folding/tree/v0.2.7). ### License MIT-licensed. ### Credits CodeMirror folding addon. ### Compatibility Brackets Sprint 38 or later.