<div dir="ltr">On 3 September 2013 03:29, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 9/1/2013 8:28 PM, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
D probably appeals more to ex-C++ users (I'm not aware of any sensis, but D's<br>
main offering at least to me, is an evolution from C++). We are used to being<br>
able to gather a quick summary of a class at a glance.<br>
D (or perhaps just me) makes extensive use of local functions. If the outer<br>
function is at the leftmost tab level, it's easy to recognise if you're reading<br>
the code from a local function or not. If the outer function is already a few<br>
tab levels deep, I frequently find myself becoming unsure of what/where I'm<br>
actually reading.<br>
</blockquote>
<br>
I don't know if this is an IDE feature or not, but I've often thought of adding a command to my editor (MicroEmacs) to collapse/expand function bodies. This would make it convenient to navigate larger files - just collapse, move to the function you want to examine, then expand. It would also mitigate the issue you have. I theorize that VS doesn't have such a feature? Maybe IDEs are solving the wrong problem? :-)<br>

<br>
One that collapses out the comments would be great, too, as I've found one downside of Ddoc is it can get hard to find the code amongst the doc comments.<br>
</blockquote></div><br></div><div class="gmail_extra">IDE's have this. I find myself thinking this more often than not when reviewing code, in commit windows, merge windows (with reduced horizontal space), etc.. you read code all over the place, not just where you type it.</div>
</div>