# Thursday, August 12, 2004

Steve Maine writes about my number-one favourite feature of ReSharper:

The other feature I really like is Code Reformatting. Everyone has their own style when it comes to formatting code. For instance, I’m inclined to write void Foo( int bar ), while others on my team write void Foo(int bar). … Since everyone tends to have stylistic instinct that are *just slightly different* than everyone else’s, you can end up with a code base that is formatted inconsistently … Rather than forcing everyone to change their style to conform to a standard, we just configure a default set of Resharper formatting rules and periodically run them on the whole solution. It’s proven to be a big win because it removes distractions, keeps our code looking nice, and doesn’t require anyone to change their own hardwired formatting rules.

This is a great feature and allows everyone on a team to ‘go in peace’ (as Don Box might say).  I also really like the configuration dialogue that displays a before and after sample of code to illustrate what impact the setting will have.

Other enjoyable Code Assistance features
The other features I’m really enjoying are the optimize using directives (saving me from having to implement my own) and the Import Popup.  Resharper notices what project references are set and if it can't resolve a particular Type it searches the references and if it finds a match offers to add a using statement to the top of the file.  Pressing ALT + ENTER adds the using statement without taking the focus away from the the current position in code.  Very, very nice.

My only grizzle, and the reason I wont be spending my dosh on a license just yet, are around the auto-completion methods.  I'm still finding it a struggle to get the same speed with parameter info as with Visual Studio.  I'm also finding the three types of code completion and their associated keyboard shortcuts less intuitive (I'm having to think more) than in Visual Studio (CTRL + space). 

Annoying bold Constants font display bug
Finally there seems to be a bug when using constants, and Enums (which I love).  Resharper displays them using a bold font but doesn't adjust the caret position - so the cursor is displayed four characters or so past the insertion point - making it impossible to type (a difficult-to-overcome usability problem).  Luckily the bold font can be turned off.  Under Tools -> Options - Fonts and Colors - there's a 'ReSharper Constant' Display Type.  You can then remove the checkbox in the Bold box. 

[Update: Scott Hanselman tipped me off that this is a bug - no Steve, it wasn't just you :-) - with variable width fonts in Visual Studio 2002/2003 and not a ReSharper issue.  Googling turned up this statement of the problem which sounds like it will be fixed in Whidbey.  I'd like to apologise to ReSharper, their developers, family members and friends for any distress.  I may now shell out my own dosh on this tool.]

posted on Thursday, August 12, 2004 9:55:22 PM (GMT Daylight Time, UTC+01:00)  #   
Related posts:
Office Server 2007: Can it help me write less code?
Server-side Excel: changing the face of financial apps?
Ray Ozzie: Services Disruption and the need for 'Client Server Service Synergy'
DDD3: Deadline for speaker submissions extended until Monday
DDD III on Sat 3 June: Call for Speakers!
I can see clearly now: NUnitAddin and NCoverBrowser
Tracked by:
"Slots" (Slots) [Trackback]
"celebrex" (celebrex) [Trackback]
"cialis" (cialis) [Trackback]
"cialis" (cialis) [Trackback]
"phentermine" (phentermine) [Trackback]
"phentermine without prescription" (phentermine without prescription) [Trackback]
"phentermine without prescription" (phentermine without prescription) [Trackback]
"phentermine" (phentermine) [Trackback]
"tramadol" (tramadol) [Trackback]
"40 mg fioricet" (40 mg fioricet) [Trackback]
"levitra cheap" (levitra cheap) [Trackback]
"ricetta" (ricetta) [Trackback]
"gazzetta dello sport" (gazzetta dello sport) [Trackback]
"corriere dello sport" (corriere dello sport) [Trackback]
"sport" (sport) [Trackback]
"last minute offerta viaggi" (last minute offerta viaggi) [Trackback]
"offerta viaggi last minute" (offerta viaggi last minute) [Trackback]
"viaggi maldive" (viaggi maldive) [Trackback]
"biglietto invito" (biglietto invito) [Trackback]
"biglietto invito compleanno" (biglietto invito compleanno) [Trackback]
"biglietto aeri" (biglietto aeri) [Trackback]
"sfondi calcio" (sfondi calcio) [Trackback]
"calcio scommessa" (calcio scommessa) [Trackback]
"incontro adulto" (incontro adulto) [Trackback]
"incontro donna veneto" (incontro donna veneto) [Trackback]
"annuncio incontro italia" (annuncio incontro italia) [Trackback]
"incontro sesso" (incontro sesso) [Trackback]
"estrazione del lotto" (estrazione del lotto) [Trackback]
"medicina naturale" (medicina naturale) [Trackback]
"sesso anale" (sesso anale) [Trackback]
"sesso gratis" (sesso gratis) [Trackback]
"sesso animale" (sesso animale) [Trackback]
"webcam sesso" (webcam sesso) [Trackback]
"sesso" (sesso) [Trackback]
"grossista articolo regalo" (grossista articolo regalo) [Trackback]
"prenotazione albergo" (prenotazione albergo) [Trackback]
"musica classifiche" (musica classifiche) [Trackback]
"prenotazione albergo roma" (prenotazione albergo roma) [Trackback]
"prenotazione hotel parigi" (prenotazione hotel parigi) [Trackback]
"prenotazione albergo parigi" (prenotazione albergo parigi) [Trackback]
"prestito personale" (prestito personale) [Trackback]
"prenotazione hotel" (prenotazione hotel) [Trackback]
"prestito visa carta" (prestito visa carta) [Trackback]
"prestito finanziamento" (prestito finanziamento) [Trackback]
"collezione prestito personale" (collezione prestito personale) [Trackback]
"prestito personali" (prestito personali) [Trackback]
"prestito mutuo" (prestito mutuo) [Trackback]
"prestito personale online" (prestito personale online) [Trackback]
"idea regalo mamma" (idea regalo mamma) [Trackback]
"idea regalo" (idea regalo) [Trackback]
"idea regalo donna" (idea regalo donna) [Trackback]
"idea regalo uomo" (idea regalo uomo) [Trackback]
"regalo cani" (regalo cani) [Trackback]
"buy viagra online" (buy viagra online) [Trackback]
"albergo firenze" (albergo firenze) [Trackback]
"amore incontro" (amore incontro) [Trackback]
"incontro sex" (incontro sex) [Trackback]
"annuncio incontro gay" (annuncio incontro gay) [Trackback]
"albergo roma" (albergo roma) [Trackback]
"sesso gratis" (sesso gratis) [Trackback]
"incontri sesso" (incontri sesso) [Trackback]
"sesso free" (sesso free) [Trackback]
"Home Insurance" (Home Insurance) [Trackback]
"Black Jack" (Black Jack) [Trackback]
"Home Owners Insurance" (Home Owners Insurance) [Trackback]
"Homeowners Insurence" (Homeowners Insurence) [Trackback]
"House Insurance" (House Insurance) [Trackback]
"Caribbean Poker" (Caribbean Poker) [Trackback]
"Homeowner Insurance" (Homeowner Insurance) [Trackback]
"cialis best price buy online" (cialis best price buy online) [Trackback]
"tramadol without a prescription" (tramadol without a prescription) [Trackback]
"hydrocodone" (hydrocodone) [Trackback]
"tramadol" (tramadol) [Trackback]
"petite+lingerie fantasy" (petite+lingerie fantasy) [Trackback]