Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Collapsing methods hides markers
james
#1 Posted : Monday, February 9, 2015 12:32:40 PM(UTC)
Rank: Member

Groups: Registered
Joined: 3/13/2013(UTC)
Posts: 24
Location: United Kingdom

Thanks: 6 times
Was thanked: 6 time(s) in 6 post(s)
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
#2 Posted : Monday, February 9, 2015 10:33:57 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
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
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download