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

Notification

Icon
Error

Compile Errors Hyperlinking.
chillitom
#1 Posted : Sunday, April 15, 2012 9:13:05 AM(UTC)
Rank: Member

Groups: Registered
Joined: 4/1/2012(UTC)
Posts: 19

Thanks: 1 times
Was thanked: 3 time(s) in 3 post(s)
Hi Remco,

Would be great if compile errors could include hyperlinks to the file and lines in question. Might also be cool to have a compile errors list similar to Visual Studio's or Resharper's.

Thanks.
Remco
#2 Posted : Monday, April 16, 2012 2:03:56 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Tom,

I have an entry in my backlog for the hyperlinking - it really has been a long time coming. Hopefully I will have time to work on it soon. Thanks for the suggestion!


Cheers,

Remco
Remco
#3 Posted : Sunday, May 20, 2012 11:48:15 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
For anyone interested, this feature has just been added in the recently released NCrunch 1.39b.
Marqus
#4 Posted : Thursday, May 24, 2012 9:39:22 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/22/2012(UTC)
Posts: 38
Location: Poland

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
After clicking on hyperlink, carret is moved to the correct line, but screen isn't scrolled. Same behavior when using "Go to selected test" in test window.
I've found: http://forum.ncrunch.net...test-does-not-work.aspx - I don't have any region in this particular file (but I use regions alot in other files).
Remco
#5 Posted : Thursday, May 24, 2012 10:44:04 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Marqus -

Do you have any collapsed code of any kind in the file you're navigating to? (I.e. methods, classes, etc .. doesn't need to be a region).
Marqus
#6 Posted : Friday, May 25, 2012 6:03:19 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/22/2012(UTC)
Posts: 38
Location: Poland

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
There's no collapsed regions in this file. More tests:
1. ContextMenu -> Outlining -> Stop Outlining
2. Disable extensions :
- Feature Extension Feature
- PowerCommands for Visual Studio 2010
- Productivity Power Tools
- Regex Tester

Scrolling still isn't working
Remco
#7 Posted : Friday, May 25, 2012 6:20:44 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Thanks. A few more questions to help narrow this down:

- Which version of Visual Studio are you running?
- Does the problem occur on other solutions too? (i.e. if you just create a small dummy C# project with 1 test, does it work?)
- Do you have other team members that also use NCrunch in your area? Do they experience the same problem?
- Do you have the polish .NET language pack installed?
Marqus
#8 Posted : Friday, May 25, 2012 7:38:20 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/22/2012(UTC)
Posts: 38
Location: Poland

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
- Which version of Visual Studio are you running?
10.0.40219.1 SP1Rel

- Does the problem occur on other solutions too? (i.e. if you just create a small dummy C# project with 1 test, does it work?)
I've created new solution, with one TestFixture. I've created several tests (copy&paste) so they takes more then one screen - scrolling doesn't work

- Do you have other team members that also use NCrunch in your area? Do they experience the same problem?
Yes, same problem here

- Do you have the polish .NET language pack installed?
I've uninstalled it after detecting problem with missing crosses (I'm aware about 1.40b release)

Remco
#9 Posted : Friday, May 25, 2012 9:06:51 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Thanks - this helps a great deal.

Next round of questions:

- If you move the horizontal scrollbar far to the right so that the code is no longer visible (add lots of spaces if you have to), then try to navigate to the test, does the horizontal scrollbar move in any way?
- Can you submit a bug report after navigating to a test? I want to be sure that there aren't any random exceptions being thrown by the navigation code
- Totally optional (as I realise this takes some investment of time), but does completely uninstalling the Power Tools and Power Commands plugins make any difference?


Thanks!

Remco
Marqus
#10 Posted : Friday, May 25, 2012 9:16:06 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/22/2012(UTC)
Posts: 38
Location: Poland

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
- If you move the horizontal scrollbar far to the right so that the code is no longer visible (add lots of spaces if you have to), then try to navigate to the test, does the horizontal scrollbar move in any way?
When I've tried to do this, I had to turn of WordWrap (Ctrl+E,W) - I don't know why I had this on. But after turning this off, scrolling started to work as expected.

I've submitted bug report
Remco
#11 Posted : Tuesday, June 19, 2012 4:51:42 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Marqus,

I've just released 1.40b including several changes to the way that the click-through navigation works. Would you be able to give it a spin and let me know if the new build solves this problem?


Thanks!

Remco
Marqus
#12 Posted : Tuesday, June 19, 2012 6:47:51 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/22/2012(UTC)
Posts: 38
Location: Poland

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
It looks like everything works fine now, collapsed regions and 'word wrap' doesn't mess scrolling. Thanks for this fix
BTW. 1.40b looks much faster :D
1 user thanked Marqus for this useful post.
Remco on 6/19/2012(UTC)
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.062 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download