Author |
Message |
gemisigo
Joined: 11 Mar 2010 Posts: 2141
|
|
[10.0.158 BETA] - Code Folding in SE |
|
Code folding in SE does not work as expected for the declaration of a cursor in SQL Server. It breaks into two parts, a DECLARE folded, leaves FOR where it was, unfolded, and then folds the SELECT statement separately, which suggests it's not folding a DECLARE ... CURSOR statement, it folds a DECLARE variable statement and a SELECT statement, which is not considered being part of a cursor declaration.
EDIT: also, there are all kinds of functions to fold/expand blocks in ranges, at the cursor, or nearest, all of them great, but I miss one dearly. It would be greatly useful to be able to collapse everything except the current block and, of course, each one containing the current one.
|
|
Thu Aug 30, 2018 7:28 am |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
Thank you. I submitted 2 separate enhancement requests for code coding issues you described.
|
|
Fri Aug 31, 2018 6:12 pm |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
|
|
It would be greatly useful to be able to collapse everything except the current block and, of course, each one containing the current one. |
I believe this feature has been implemented in the release version.
|
|
Tue Sep 18, 2018 8:59 am |
|
|
gemisigo
Joined: 11 Mar 2010 Posts: 2141
|
|
|
|
Yes, it has, but it's kinda incomplete. Since this is a feature of the SQL Editor and not SQL Assistant, it cannot be triggered using the Command Selector (which is awesome, by the way). And while it can be reached using Alt+v, a (it's in View menu), it doesn't have its own entry in Key mapping, thus no way to re-map it to another hotkey (sequence).
|
|
Tue Sep 18, 2018 10:24 am |
|
|
gemisigo
Joined: 11 Mar 2010 Posts: 2141
|
|
|
|
Any updates on this one?
|
|
Fri Dec 07, 2018 4:53 am |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
A moment ago I submitted new enhancement request to enable user-defined hotkeys for code folding. Tracking number for the reference #SA0035368
|
|
Fri Dec 07, 2018 10:10 am |
|
|
gemisigo
Joined: 11 Mar 2010 Posts: 2141
|
|
|
|
Thank you very much!
Most of them are already there.
Collapse All But Current Block is the only one I miss dearly.
|
|
Fri Dec 07, 2018 10:40 am |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
I got a word that this will be available in 10.1. Cannot provide specific timing and the exact release date is still unknown.
|
|
Sun Dec 16, 2018 1:26 pm |
|
|
gemisigo
Joined: 11 Mar 2010 Posts: 2141
|
|
|
|
Thanks for the update.
|
|
Mon Dec 17, 2018 8:10 am |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
This is available now. Please upgrade to 10.1
|
|
Wed Jan 30, 2019 10:23 am |
|
|
|