S slydog43 Member Licensed User Longtime User Feb 21, 2011 #1 I wish these would stay when saving a project in Basic4Andoid. I collapse most of my subs so jumping around an activity is quick. Only wish they would stay between sessions. I'm not missing something am I. Really think this product will get much more popular!! it so good
I wish these would stay when saving a project in Basic4Andoid. I collapse most of my subs so jumping around an activity is quick. Only wish they would stay between sessions. I'm not missing something am I. Really think this product will get much more popular!! it so good
Erel B4X founder Staff member Licensed User Longtime User Feb 22, 2011 #2 Thank you for your feedback. In the meantime you can collapse all subs by pressing Ctrl + Shift + E. Expanding all is done with Ctrl + E. You can also use #Region to add custom collapsing sections. These sections will be collapsed by default. Code: Copy #Region This is some region Sub Activity_Create(FirstTime As Boolean) End Sub Sub s1 ... End Sub #End Region
Thank you for your feedback. In the meantime you can collapse all subs by pressing Ctrl + Shift + E. Expanding all is done with Ctrl + E. You can also use #Region to add custom collapsing sections. These sections will be collapsed by default. Code: Copy #Region This is some region Sub Activity_Create(FirstTime As Boolean) End Sub Sub s1 ... End Sub #End Region
S slydog43 Member Licensed User Longtime User Feb 22, 2011 #3 wow this program gets better and better as I learn it. Thanks!!!! So NICE (really like the region with comments!!! yea) Last edited: Feb 22, 2011
wow this program gets better and better as I learn it. Thanks!!!! So NICE (really like the region with comments!!! yea)
Gary Miyakawa Active Member Licensed User Longtime User Jun 13, 2012 #4 Did this wishlist item ever make it to the road map ? I'd love for the IDE to save my Colapsed/Expanded... I use it as a way to see the areas I'm working on "right now"... Anyway, please add me to the list of wishers for this one! Gary M
Did this wishlist item ever make it to the road map ? I'd love for the IDE to save my Colapsed/Expanded... I use it as a way to see the areas I'm working on "right now"... Anyway, please add me to the list of wishers for this one! Gary M
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2012 #5 It was not implemented. If you open the a source code file you will see that expect for a few properties at the beginning the code is just stored as raw text. The IDE by default collapses explicit #regions. It is possible to store the status of each sub at the beginning. However it is a bit too cumbersome...
It was not implemented. If you open the a source code file you will see that expect for a few properties at the beginning the code is just stored as raw text. The IDE by default collapses explicit #regions. It is possible to store the status of each sub at the beginning. However it is a bit too cumbersome...
R Roger Garstang Well-Known Member Licensed User Longtime User Jun 13, 2012 #6 I think IDEs like Visual Studio do this with some binary data tossed at the beginning of the file to store what subs are collapsed. I'd store it at the sub level myself- Something like -sub means collapsed when there is a minus before the sub. It is still displayed in the IDE as just sub though. Just a one char flag to store the state.
I think IDEs like Visual Studio do this with some binary data tossed at the beginning of the file to store what subs are collapsed. I'd store it at the sub level myself- Something like -sub means collapsed when there is a minus before the sub. It is still displayed in the IDE as just sub though. Just a one char flag to store the state.