Saturday, May 10, 2008

RockScroll - Turning your Visual Studio scrollbar in a thumbnail of your code

Scott Hanselman's ComputerZen.com - Introducing RockScroll

"...

The basic (as in "only") idea is that RockScroll extends the scrollbar in Visual Studio to show a syntax highlighted thumbnail view of your source. This is really useful for those excessively long source code files you know you have. It's just one DLL and you can turn it off from Tools|AddIns just by un-checking the checkbox.

Enjoy!

RockScroll_5

..."

What a great idea...

The one thing that confused me a little is how it currently handles collapsed regions. It shows the code in the rockscroll area but when you nav to it in rockscroll, the code remains hidden.

Here's an example. All the code collapsed, but the rockscroll area makes it seem like it's not.

In short to effectively use it, your code regions needs to be expanded...

image

The cool thing is that RockScroll can also work with non-code files too (but currently not XML and some other files). Below is a text file...

image

Also a VERY cool feature is that if you highlight a reference in your code (you double click on a variable for example), RockScroll will highlight all its instances. See the red highlighting below...

image

Other features the indications of breakpoints, bookmarks on right side and recent edits on the left size.

All in all a very cool and interesting way of extending Visual Studio...

(via Non-official Random .NET Ramblings - @shanselman Introduces RockScroll)

1 comment:

  1. Once I've seen it, it looks so obvious. Nice find, if only I used that editor! :-)

    ReplyDelete

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...