Hello! I would find it quite helpful if there was a way to do in the editor something similar to the Outlining -> Collapse to Definitions in Visual Studio. Is there any way to do it in WL6? I noticed it does the outlining correctly already, so, in the case of automatic collapsing not being available right now, can I request it to be added as a hot-key or context sensitive option in the future??
Thanks!
Size:
Color:
The editor is a 3rd party component developed by Quantum Whale:
Editor.NETCould you please point me at the requested feature on their feature list? tia.
Size:
Color:
My request would fall under the "code outlining" feature, but it's a rather comprehensive feature, and what I was asking about is a small part of the outlining feature, so it doesn't necessarily has to be implemented in order for them to advertise the code outlining feature...
I thought the editor was developed in-house...so I suppose there is not a lot you could do to add new stuff to it... What I was looking for was an automated way to click on all the small "-" (minus) boxes in order to make the code more compact...
Size:
Color:
Unless I'm mistaken, Collapse to Definitions seems to be present (any Editor window > Options > Keyboard) but there's no way to activate it. Custom shortcuts and redefining the mapping scheme was disabled so not to interfere with Wealth-Lab's own keyboard shortcut set.
Size:
Color:
Yes, you are correct, I can find it there, but it won't work :(
I see some unused hotkeys in the WL reference (like, for example, Ctrl + N). Would it be simple for you to bind any of those hotkeys to the CollapseToDefinitions function that probably exist in the Editor.Net?
:D
Size:
Color:
You can choose to enter a support ticket to track the request, but no promises will be made. One voice won't count. :\
Size:
Color:
I could really use this specific feature as well - Has there been any update to this request specifically, or to enabling keyboard shortcuts in the Editor in general?
Size:
Color:
If you require more flexible code editing features than the Strategy Editor allows, your best bet is to use the free Visual Studio Community 2017 as shown in the KB article:
How can I debug my trading strategies in Wealth-Lab?The great thing about this approach is that Edit & Continue (E&C) lets you edit your Strategy code on-the-fly while Wealth-Lab is running.
Size:
Color:
@dan_rozenberg
Although Collapse To Definitions (Ctrl-M,O) doesn't work, it's been possible to collapse/expand functions or classes. Disabled by default but can be activated in Editor Options > Advanced > Allow outlining.
Size:
Color: