Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

Becoming a Jedi – Part 1 of N

…a ReSharper Jedi, that is. I am making no claims about my own ReSharper Jedi abilities. JP and Oren are known ReSharper Jedi Masters. I feel more like Luke Skywalker when he first landed on Dagobah in comparison. Back to the point of this post…

Many developers don’t see the value of JetBrains’ ReSharper until they’ve seen it in action. So I’m putting together this screencast series to show off my favourite ReSharper features. My goal is to keep each screencast to 5 to 10 minutes and focus on a related set of capabilities. In the first episode, I look at ReSharper’s Code Browsing – CTRL-N, CTRL-B, CTRL-ALT-B, ALT-F7, and related.

Streaming: Becoming a Jedi – Part 1: Code Browsing (requires Silverlight 1.0 or higher)*

Download: Becoming a Jedi – Part 1: Code Browsing (via Live SkyDrive)

Before someone makes a snarky comment about my coding speed, I’m intentionally taking the time to explain the features. That and I’m not as adept as some at coding and talking at the same time. Hopefully I’ll improve with practice as this screencast series progresses. Any constructive feedback on the content or presentation style is appreciated. Enjoy!

* I am encoding the series using Silverlight 1.0 for two reasons:

  1. In my tests with Camtasia, the Silverlight version scaled better than the Flash version. Text in Visual Studio remained clearer as the video was resized. The original recording is at 1024×768, but is still legible when scaled to 640×480 or smaller.
  2. I can host the content on Silverlight Streaming for free. When you sign up for an account, you get 10 GB of storage and 5 TB of bandwidth per month. The videos are distributed by Microsoft’s content delivery network and streamed from a server close to the viewer. As an author you simply upload your videos to Silverlight Streaming and Microsoft does the rest. I also don’t run the risk of blowing the bandwidth allotment at my hosting provider and incurring charges for bandwidth overages.

About James Kovacs

James Kovacs is a Technical Evangelist for JetBrains. He is passionate in sharing his knowledge about OO, SOLID, TDD/BDD, testing, object-relational mapping, dependency injection, refactoring, continuous integration, and related techniques. He blogs on CodeBetter.com as well as his own blog, is a technical contributor for Pluralsight, writes articles for MSDN Magazine and CoDe Magazine, and is a frequent speaker at conferences and user groups. He is the creator of psake, a PowerShell-based build automation tool, intended to save developers from XML Hell. James is the Ruby Track Chair for DevTeach, one of Canada’s largest independent developer conferences. He received his Bachelors degree from the University of Toronto and his Masters degree from Harvard University.
This entry was posted in Screencast. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • http://www.jameskovacs.com james.kovacs

    @RCN – I just checked (2009-02-03 @ 9pm MST) and the videos are available again. No announcements today on the Silverlight Streaming blog. So I’m not sure what they fixed and when. Fingers crossed that it continues working…

  • http://www.jameskovacs.com James Kovacs

    @RCN – According to a quick read of the Silverlight Streaming forums, there seems to be a problem with the backend filestore for the service. The downloads are hosted on SkyDrive, which I would hypothesize uses the same filestore as downloads aren’t working there either. If the problem isn’t resolved within the next few days, I’ll have to find another hosting solution for the streams/downloads. Thanks for your patience.

  • http://www.jameskovacs.com James Kovacs

    @RCN – Thanks for letting me know. A quick initial investigation reveals that Silverlight Streaming – where the videos are hosted – is not responding to streaming requests. The content is there, but the streaming test page isn’t returning anything. I’ll post more as I find out.

  • RCN

    The download doesn’t download and the silverlight doesn’t stream. In other words, nothing works!

  • http://www.jameskovacs.com James Kovacs

    @mike – If you want to play it in Windows Media Player, you have to download the WMV file from Live SkyDrive. If you want to stream it in your browser, you can use Silverlight. It should work with Silverlight 1.0 or above in IE7, FireFox 2.X, etc. (Silverlight has a problem with FireFox 3.0, which requires an updated silverlight.js. Some sites have the update, some don’t. I’m hosting on Silverlight Streaming and don’t have control over when they update silverlight.js.) If you browse to:

    http://streaming.live.com/

    do you see the video at the bottom or “Get Microsoft Silverlight”? If you see “Get Microsoft Silverlight”, try re-installing Silverlight 1.0.

    Hope that helps.

  • mike

    Sorry this is off topic but how do I play the video you provide as a download here? Windows Media Player wont play it, I have Silverlight 2.0 installed but i cannot open it with IE7. Appreciate any help.

  • Karl

    Really great work!
    I thought, I knew Resharper, but you showed a lot of new (at least to me) shortcuts and features. I will present this series of screencasts to my dev team. I’m looking forward to the next episode!

  • http://www.jphamilton.net J.P. Hamilton

    Good stuff. Can hardly wait for the next one!

  • http://www.jameskovacs.com james.kovacs

    @Joey – Yes, I’m using the ReSharper 2.X/IDEA keyboard layout. I meant to mention it during the screencast. I started using ReSharper in the 2.0 days when that was the only layout and the key combos are committed to muscle memory now. Overriding VS defaults isn’t a big deal for me as I never used them anyway, but I can understand why people use the new VS scheme. If you haven’t learned either scheme, I would recommend giving both schemes a whirl and see which you prefer. I’m going to use the ReSharper 2.X/IDEA scheme as that’s the one I know. I’ll post my ReSharper defaults in a separate blog post along with the Live and File Templates that I use.

    @Tony – I noticed that KeyJedi went wonky on me and reported wrong keystrokes partway through. I tried re-recording the episode a few times, but KeyJedi never behaved itself completely. Trust the keystrokes that I call out rather than the ones KeyJedi reports if there is any disagreement. As for expanding the KeyJedi window, I’ll do that for the next screencast and cross my fingers that KeyJedi cooperates.

    @All – Thanks for watching and the great feedback!

  • Tony

    James,

    I enjoyed the screencast and am looking forward to the next one.

    A couple points I’d like to make:

    1. There were a number of times where Keyboard Jedi was showing different key strokes than what you mentioned verbally. Example: at time 2:11 you said Alt+F7 yet the display showed Ctrl+Alt+Shift+… Don’t know if it’s a bug in Keyboard Jedi or if you actually pressed those keys.

    2. Can you expand the size of the window for Keyboard Jedi? For those times when you must press Ctrl+Alt+Shift+something, there isn’t enough room to display with that font.

    Thanks, and keep ’em coming.

  • http://www.stevideter.com/ Stevi Deter

    It might be worthwhile doing a poll on preferences for using Resharper 2.0/IDEA or VS mapping. I started with IDEA, but have switched over to the VS mapping.

    I know, I know, yet another holy war.

    At least point out in the demo “I’m using the IDEA default settings…”

  • http://www.stevideter.com/ Stevi Deter

    It might be worthwhile doing a poll on preferences for using Resharper 2.0/IDEA or VS mapping. I started with IDEA, but have switched over to the VS mapping.

    I know, I know, yet another holy war.

    At least point out in the demo “I’m using the IDEA default settings…”

  • Mike Suarez

    thanks a lot … keep’em comming please :)

  • http://Bryan.ReynoldsLive.com Bryan Reynolds

    Thanks!

    May the force be with you!

  • http://devlicio.us/blogs/casey Casey

    I rarely use VS shortcuts, File/New is redundant, I never use that …. type the class name, Ctrl+Enter and R# creates the class, move over the class name, Ctrl + Enter Enter and it is moved to a correctly named file …

  • http://weblogs.asp.net/jvano Joey

    .. yes my settings are different as well …

    Can you post what your ReSharper Options are set at if they are not default? I consider default the Visual Studio keyboard shortcuts.

    Plus I believe taking away the default settings of visual studio (ie. CTRL+N –> New File) is a huge detractor IMO. Apply this to the web world when someone hits CTRL+TAB is generally accepted for new tabs or new browser window. It’s just convention and a new person using ReSharper may be in surprise if you take away their “common” shortcuts that apply to many apps.

  • Mike

    Thanks. Please do more of these :)
    Thanks.

  • Brendan Tompkins

    Great! Thanks James! Here’s the Resharper 3.0 keyboard scheme cheat sheet…

    http://www.jetbrains.com/resharper/documentation/ReSharper30DefaultKeymap_2.pdf

  • http://colinjack.blogspot.com Colin Jack

    Good stuff, I haven’t read it all but I believe this is also good:

    http://blog.excastle.com/2007/01/31/blog-event-the-31-days-of-resharper/

    Anyway enjoyed the screencast but unfortuantely I used different keyboard mappings so I had to swap… I must admit most of the time I just use CTRL+SHIFT+R and CTRL+SHIFT+G and search for the item I want in the menu so I’m far from a Resharper Jedi