IDE Code Folding

General discussion on mikroBasic PRO for AVR.
Post Reply
Author
Message
stolper
Posts: 9
Joined: 10 Mar 2013 18:35

IDE Code Folding

#1 Post by stolper » 25 Jun 2013 11:07

Hallo,
In the Help stands:
"Code Folding
Code folding is IDE feature which allows users to selectively hide and display sections of a source file. In this way it is easier to manage large regions of code within one window, while still viewing only those subsections of the code that are relevant during a particular editing session.
While typing, the code folding symbols (+ and -) appear automatically. Use the folding symbols to hide/unhide the code subsections."
If I have hided all subfunctionen and press then d (from dim) in the declarations region the subfunction all will be expanded. That really is annoying! :(
Can anyone explain me that behavoir or say what to do to avoid?
Thanks a lot

User avatar
milos.vicentijevic
Posts: 965
Joined: 23 Apr 2013 08:09

Re: IDE Code Folding

#2 Post by milos.vicentijevic » 26 Jun 2013 12:28

Hello,

I have checked this behavior, you are right. Thank you for pointing this out!

I will pass this to software development department.

Best Regards,
Milos Vicentijevic

Matz
Posts: 2
Joined: 31 Mar 2019 14:51

Re: IDE Code Folding

#3 Post by Matz » 31 Mar 2019 15:05

Hi,
Is there something new about the problem. This post is from 2013, we habe now 2019 and we have still this anoying bug !
Actually enough time to fix the problem. Can we expect a solution for that problem ?

By the way, if you compare with other sections of this forum, this seems to be a common problem of all compilers !

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: IDE Code Folding

#4 Post by stefan.filipovic » 01 Apr 2019 15:59

Hi Matz,

Welcome to the mikroE forum.

I have not managed to reproduce this issue in mikroBasic PRO for AVR.

Are you using the latest version (7.0.1) of the mikroBasic PRO for AVR?

Could you please provide me with more details about this issue, so I can reproduce it on my side?

Kind regards,
Stefan Filipović

Matz
Posts: 2
Joined: 31 Mar 2019 14:51

Re: IDE Code Folding

#5 Post by Matz » 03 Apr 2019 21:31

Hi,

thank you for your reply. It is ecxactly like desribed in the first post.
I want to insert a new "Dim" statement in the Declarations section and all sub procedures are folded.

When i am starting typing, all procedures below gets unfolded and stays unfolded even when i am finished typing.
This is very annoying, especially when you have a lot of procedures. They all have to be closed manually.

I am using V7.0.1

I have attached some pictures to make it clear

All Subs folded
before.jpg
before.jpg (110.13 KiB) Viewed 2302 times
Start typing
after.jpg
after.jpg (195.94 KiB) Viewed 2302 times

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: IDE Code Folding

#6 Post by stefan.filipovic » 04 Apr 2019 15:49

Hi Matz,

Unfortunately, I have reproduced the same issue.
I've forwarded this to our developers, it seems that this bug is related to Pascal and Basic compilers only.
I apologize for the inconvenience caused by this.

Kind regards,
Stefan Filipović

Post Reply

Return to “mikroBasic PRO for AVR General”