Hi,
I looked around but found nothing about such a feature : code folding
similar with VS's #region , basically defining custom code folding regions.
Is this feature already available and I missed it ? If no, do you think you could add this in a future version ?
Keep up the great work ...
PuYa
Custom code folding
-
- Posts: 23
- Joined: Sat Jul 25, 2009 6:28 pm
First of all thank you very very much for releasing a new Version of this genius ide plugin to make our daily a bit easier again.
+1 for the Idea of puya
I am realy missing this little feature... Since I am programming with the Extjs framework and my Classfiles become bigger and bigger it would be really nice to be able to define something like a nested Fold Syntax.
This would allow the developer to start a bundle blocks of Functions as for example eventhalnders, overwrides like:
Instead of scrolling through all those Functions to get toi the overwrites you could just fold those regions as you can do with coments.
The same thing with netsted regions this would be realy usefull for those big Ext.apply statements. Now you have to scroll through all your predefined configs of an extendet class to get to the actual code...
What do you think about that Idea (would make the life just another bit easier
)

+1 for the Idea of puya
I am realy missing this little feature... Since I am programming with the Extjs framework and my Classfiles become bigger and bigger it would be really nice to be able to define something like a nested Fold Syntax.
This would allow the developer to start a bundle blocks of Functions as for example eventhalnders, overwrides like:
Code: Select all
/* region Eventhandlers */
onClick : function(){
// code...
},
onMouseOver : function(){
// code...
},
/* endregion */
/* region Overwrites */
initComponent : function(){
/* region Configs */
this.examplePropertie = 'a value';
Ext.apply(this, {
title : 'a titlepropertie',
width : 400,
height : 450,
// and many more confingproperties
})
/* endregion */
// code..
}
/* endregion */
The same thing with netsted regions this would be realy usefull for those big Ext.apply statements. Now you have to scroll through all your predefined configs of an extendet class to get to the actual code...
What do you think about that Idea (would make the life just another bit easier





I have create a quick fix, please download file http://www.agpad.com/downloads/com.spket.js_1.6.17.jar and replace the old one.
The default region tag is region and endregion, but you can change that in preferences "Spket -> Editors -> JavaScript Editor"
The default region tag is region and endregion, but you can change that in preferences "Spket -> Editors -> JavaScript Editor"
Who is online
Users browsing this forum: No registered users and 1 guest