Is your feature request related to a problem? Please describe.
I have long scripts that are hard to find code sections
Describe the solution you'd like
I would like code folding to be implemented:
#region (header stuff)
(code here)
#endregion
#region (different header stuff)
(different code here)
#endregion
Describe alternatives you've considered
I've tried to remember the line numbers but I forget and still takes a long time to scroll looking for headers or do Search for header keyword and find too much code words. I currently use a different editor to fold code and see the headers to copy/paste into search.
Additional context
This is perfect!! https://www.heidisql.com/forum.php?t=36736#p36744
So, the next build will have a new button for enabling support for code folding:

Note that word-wrapping is disabled when code-folding is enabled. This is a known limitation in SynEdit, but should not harm too many users.
I think I need to add this button also into a new main menu, named "SQL" or similar. There are few commands you already found in the shortcuts which would be neat to have them in such a menu, such as "Fold all" and "Unfold all". Also some other items like "Run", "Run current query" and these should be there.
Thank you!!!
I'm scratching my head as I don't have a clue how to translate "Code folding" into German.
There may not be a translation?
https://german.stackexchange.com/questions/3506/translation-of-it-term-code-folding
On Tue, Aug 18, 2020, 10:56 PM Ansgar Becker notifications@github.com
wrote:
I'm scratching my head as I don't have a clue how to translate "Code
folding" into German.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HeidiSQL/HeidiSQL/issues/1132#issuecomment-675868343,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJKR5K6MBUVTAWUKUEFD73SBNSSLANCNFSM4QAJX37A
.
FYI - I downloaded Nightly build 11.0.0.6094, cold folding works great! Thank you!!
Most helpful comment
I'm scratching my head as I don't have a clue how to translate "Code folding" into German.