Minor change (bug?) in file templates feature of ReSharper 3.0

posted @ Tuesday, June 26, 2007 9:24 AM

 

Notice anything wrong with this?

resharper30_file_template_incorrect

That "File Template 5" is suppose to say "Class" instead.  I recently upgraded to ReSharper 3.0 from 2.5, and of course brought along all of my ReSharper template libraries that I've built up.  One of the things I did for my file templates when I created them was put accessibility shortcuts into the names using ampersands (&) like...

resharper30_file_template_with_ampersand

That way I always knew that, for example, doing an Alt-R-N-C would create me a new class and Alt-R-N-I would create me a new interface, etc.  But ReSharper 3.0 doesn't seem to like those ampersands anymore.  So removing them from the file template name fixes the problem and what ReSharper will now do, that it didn't do in the past, is automatically assign accessibility shortcuts to the file templates in your quick access list.

resharper30_file_template_without_ampersand

resharper30_file_template_new_behavior

In the end, I'm not sure whether this is a bug or feature, but nevertheless, something to keep in mind if you're a heavy user of the keyboard and the file templating features of ReSharper.

Comments
joeyDotNet - 6/26/2007 1:44 PM
# re: Minor change (bug?) in file templates feature of ReSharper 3.0
Awesome, thanks Dmitry! I hadn't gotten around to filing one yet, so that's cool. Like I said, it's a very minor thing, but big kudos on you guys staying on top of feedback from us R# users...
Terry Thibodeau - 1/16/2008 6:50 PM
# re: Minor change (bug?) in file templates feature of ReSharper 3.0
Hah! I never even knew I could do this until I tried some time in July (2007). When it didn't work, I requested the feature, thinking it didn't exist. :) See my blog post about it here: http://www.connicus.com/archive/2007/10/30/resharper-request-comes-true.aspx

I've got another bug request about this functionality here: http://www.jetbrains.net/jira/browse/RSRP-55756

Great minds think alike, I guess. Same for this one: http://www.connicus.com/archive/2007/02/14/resharper-template-library-now-open.aspx
:)

Post Comment






Please add 3 and 7 and type the answer here: