views:

514

answers:

3

Both RockScroll and Resharper are recommended add ins for Visual Studio

However my experience is that RockScroll hides Resharper's error markers. Is there a workaround?

A: 

I know this doesn't answer your question directly, but if you're using RockScroll on your own codebase I would strongly suggest trying to separate out classes/responsibilities into different files so as not to even need something like RockScroll

Hadi Hariri
Can't see the connection. Do you really know what's rockscroll?
andrecarlucci
Yes. If you have RockScroll, you probably have way too much code in your unit which normally implies too much code in your class which probably implies your class breaking SRP (Single Responsibility Principle)
Hadi Hariri
Hmm... not really. RockScroll is just a much better replacement for the normal scrollbar, it doesn't imply anything like that.
andrecarlucci
I agree with Hadi that with good clean code this should be a requirement but in the real world developers are always going to inherit bad code and a tool like RockScroll or MetalScroll can really help with navigating and learning a codebase.
chillitom
Bad programmers produce bad code, not tools.
andrecarlucci
+5  A: 

Hi Tom,

I'm using MetalScroll instead of RockScroll, but they are basically the same. The thing I like about MetalScroll is that you only highlight all occurrences if you hold "alt" key while selecting something and not all the time.

I don't think the Resharper guys will do anything to fix that, people are asking for it for more than a year and they just don't care.

Anyway, stay tuned on metalscroll, the developer said he would try to fix this.

Regards,

André

andrecarlucci
A: 

I don't think it's not a question of caring. Can you please send me an email with the exact issues?

Also, curious, what do you use RockScroll for?

Hadi Hariri
I use it for browsing the massive 5kloc+ files that I've inherited whilst working out how to apply SRP to them.
chillitom
I love the "highlight all occurrences", even in small files. With a quick glance you can see exactly in which functions you are using the selected variable.
andrecarlucci
mihnea.balta: "I've finally managed to find some time to look into this. It turns out that ReSharper resizes the editor window and moves the vertical scrollbar to fit its own bar in there, but I think it assumes that the scrollbar width is always GetSystemMetrics(SM_CXVSCROLL), instead of retrieving the actual width."
Brian