File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ Preview color and spectrum.
3838
3939### Code Folding
4040
41+ > disabled by default, activate with "windicss.enableCodeFolding"
42+
4143Fold overly long classes to increase readability.
4244
4345<img src =" https://raw.githubusercontent.com/windicss/windicss-intellisense/main/screenshots/highlight.png " alt =" Code Folding " />
@@ -59,7 +61,7 @@ Built-in commands, one-key operation.
5961| ` windicss.enableVariantCompletion ` | boolean | true | Enable Variant Completion. |
6062| ` windicss.enableDynamicCompletion ` | boolean | true | Enable Dynamic Utilities Completion like p-${int}. |
6163| ` windicss.enableRemToPxPreview ` | boolean | true | Enable Rem to Px Preview. |
62- | ` windicss.enableCodeFolding ` | boolean | true | Enable ClassNames Code Folding. |
64+ | ` windicss.enableCodeFolding ` | boolean | false | Enable ClassNames Code Folding. |
6365| ` windicss.foldByLength ` | boolean | false | Folding code by length. Default option is false, will fold by utility count. |
6466| ` windicss.foldCount ` | number | 3 | Used by foldByCount. |
6567| ` windicss.foldLength ` | number | 25 | Used by foldByLength |
Original file line number Diff line number Diff line change 142142 "description" : " Enable rem to px preview."
143143 },
144144 "windicss.enableCodeFolding" : {
145- "type" : " boolean" ,
146- "default" : true ,
147- "description" : " Enable ClassNames Code Folding."
148- },
149- "windicss.foldByLength" : {
150145 "type" : " boolean" ,
151146 "default" : false ,
152- "description" : " Folding code by length. Default option is false, will fold by utility count ."
147+ "description" : " Enable ClassNames Code Folding ."
153148 },
154149 "windicss.foldCount" : {
155150 "type" : " number" ,
156151 "default" : 3 ,
157152 "description" : " Used by foldByCount."
158153 },
154+ "windicss.foldByLength" : {
155+ "type" : " boolean" ,
156+ "default" : false ,
157+ "description" : " Folding code by length. Default option is false, will fold by utility count."
158+ },
159159 "windicss.foldLength" : {
160160 "type" : " number" ,
161161 "default" : 25 ,
You can’t perform that action at this time.
0 commit comments