forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › Folding Option Switch On/off?
- This topic is empty.
-
AuthorPosts
-
-
December 12, 2010 at 12:53 pm #12195S. LinesMember
In v 8.7, this option was added to sqlyog:
— The Editor now has a ‘folding option’. Multi-line code and comment blocks between bracket-pairs, BEGIN-END pairs, C-style comment pairs (/* and */), WHILE-END WHILE pairs, LOOP-END LOOP pairs, REPEAT-END REPEAT pairs and CASE-END CASE pairs can now be ‘folded’ in/out (ie: hidden or unhidden).
Is there a way to turn this on and off? I like to put comments in my stored procedures and this 'folding option' makes the sproc hard to read.
see attached
-
December 12, 2010 at 4:34 pm #31677peterlaursenParticipant
There is no way to turn it off currently. But why is it 'hard to read' ?
-
December 14, 2010 at 12:24 pm #31678S. LinesMember
It is hard to read if you use /**/ as a commented out line.
The folding option “sees” the /* as the start of a comment, but doesn't see the */ on the same line. So it blocks out all lines until it “sees” the next */.
For example:
/**/
update tablea set blah = “”;
/**/
It treats this update statement as a commented out line when it really isn't.
'peterlaursen' wrote:There is no way to turn it off currently. But why is it 'hard to read' ?
-
December 14, 2010 at 12:54 pm #31679peterlaursenParticipant
“The folding option “sees” the /* as the start of a comment, but doesn't see the */ on the same line. So it blocks out all lines until it “sees” the next */.” is not reproducible witj the latest internal development build I use. If you build has this it is a plain bug. What version are you using?
Please *report a bug as a bug* and don't *request a workaround for bugs*.
If i enter this
Code:/* */*/
.. the folding symbols don't appear what means that this “/* */” is seen as 'matching'.
-
December 14, 2010 at 1:05 pm #31680peterlaursenParticipant
Issue confirmed with this
Code:/**/*/
(no space in “/**/”). We are checking the code now.
-
December 14, 2010 at 1:37 pm #31681vishal.prMember
Hi S. Lines,
The issue is fixed now and will be available in the next public release. It was a bug in syntax highlighting and not with the code folding. This happens when you have a comment /**/ with nothing in between /* and */. Thank you for reporting the issue.
Regards,
Vishal P.R
-
January 5, 2011 at 6:14 am #31682AparnaMember
Hi,
We have released SQLyog 8.8 Beta1 with this fix.
Please refer to:
http://www.webyog.com/blog/2011/01/04/sqlyog-mysql-gui-8-8-beta-1-released/
Thank you for reporting this to us.
Regards,
Aparna.
-
-
AuthorPosts
- You must be logged in to reply to this topic.