Hi
I tend to collapse methods to get an overview of a class. Unfortunately, you lose the ncrunch markers.
... Unless you put the opening brace on the same line as the method.
It would be great if you didn't need to do that as I prefer to put the opening brace on a new line.
See the following screenshots for examples
(- BROKEN LINK -)Curlies on new line[/url], (- BROKEN LINK -)Collapsed[/url]
(- BROKEN LINK -)Curlies on same line[/url], (- BROKEN LINK -)Collapsed[/url]
(- BROKEN LINK -)Some tests[/url]
Strange that it works for constructors tho!
Thanks
James
Remco NCrunch Developer
#6962
09 Feb 2015 22:33 UTC
Hi James,
Thanks for sharing this. There is a feature request that captures this right now - http://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/6083245-visual-marker-in-far-left-margin-when-code-is-coll.
NCrunch is somewhat limited at the moment by the debug information provided by the compiler. This information doesn't include the line numbers of the method signatures, so there's no language agnostic way to identify where to place the marker. There may be new opportunities in this area with the pending release of Roslyn..
Cheers,
Remco
Thanks for sharing this. There is a feature request that captures this right now - http://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/6083245-visual-marker-in-far-left-margin-when-code-is-coll.
NCrunch is somewhat limited at the moment by the debug information provided by the compiler. This information doesn't include the line numbers of the method signatures, so there's no language agnostic way to identify where to place the marker. There may be new opportunities in this area with the pending release of Roslyn..
Cheers,
Remco
Post a reply
Log in to reply.