ReSharper - Tip of The Week #1

An entry about tools Publication date 19. May 2008 20:05

Build 804 of ReSharper 4 has been tagged as a "beta candidate, stable". Does this the mean a full release is just around the corner? I sure hope so! I've been using the nightly EAP builds since mid-February, and although they've mostly been working OK, there's certainly been a fair share of bugs and poor performance. To be expected from unreleased bits, of course, but very frustrating still.

Anyway's, I have a feeling there are a lot of ReSharper users out there these days - I've at least met a lot of people who use it (we actually had trouble finding someone to give away a free license of it to at the last local .NET user group meeting, as almost everyone already had one!), so I thought I would start a series of posts which highlight some of its features I find the most useful. I'll try and post a new tip at the start of every week, until I run dry (or get bored doing it :p).

To start things off, we'll have a look at finding things (not car keys, though; sadly ReSharper can't help out there):

Finding Types

Hit Ctrl + T anywhere, and you'll see the "Find type" dialogue. This allows you to search for and jump to any type declaration within the current solution:

image

It also supports filtering by CamelHumps, which allows you to skip lower-case letters in the search string. Notice how it finds the types with a first word that starts with "D" and a second word with starts with "Cont":

image

You can also use wildcards:

image

Finding Other Things

As well as the ability to find types, there's an equivalent dialogue for finding files, which is accessed by hitting Ctrl + Shift + T. It will find any type of file within the solution, with the same features:

image

And finally, there's the Find Symbol dialogue, which searches for - yes, you guessed it - symbols. It is activated by Alt + Shift + T, and will find any symbol of any access in any type declared within the current solution:

image

That's it for part one. Next time, we'll look at more ways to quickly navigate your codebase.

Be the first to rate this post

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Powered by BlogEngine.NET 1.4.5.0

Welcome!

My name is Fredrik Kalseth, and this is my blog - thanks for visiting! I am fortunate enough to work with what I love for a living, and this blog is essentially the biproduct of that.

I work as a senior consultant for Capgemini, and am also an active participant in the Norwegian .NET community, as an avid attendee but also as a speaker (most recently at NNUG and MSDN Live).

As a developer, I have a wide circle of interest. My primary passion is for agile, test-driven development, with focus on best practices and clean code. That said, I also love to work on the frontend, especially with web development.

On Twitter? My handle is fkalseth. On LinkedIn? I`m there too.

Disclaimer

This is a personal blog; any opinions expressed here are my own and do not necessarily reflect those of my employer. All content herein is my own original creation, and as such is protected by copyright law. Unless otherwise stated, all source code posted on this blog is freely usable under the Microsoft Permissive License.

What Readers Talk About

Comment RSS