Had another 48hr game jam this weekend...

Jacob Carlborg doob at me.com
Mon Sep 2 11:21:50 PDT 2013


On 2013-09-02 19:29, Walter Bright wrote:

> 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? :-)
>
> 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.

Most IDE's and even simpler text editors supports this. It's called 
"code folding". It usually both work for class/function bodies and comments.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list