Geeks With Blogs

News
Ontological Reciprocity Contributions to Our Influences July 2008 Entries
ReSharper Tip of the Day: Use Format string with StringBuilder

Some classes like StringBuilder build in the string.Format functionality. ReSharper knows this and helps you out. It’ll recognize you should probably be using a format string.

Read more at Fooberry.com.

Posted On Thursday, July 31, 2008 9:08 AM

ReSharper Tip of the Day: Use Format string with StringBuilder

Some classes like StringBuilder build in the string.Format functionality. ReSharper knows this and helps you out. It’ll recognize you should probably be using a format string.

Read more at Fooberry.com.

Posted On Thursday, July 31, 2008 9:08 AM

ReSharper Tip of the Day: Templates Revisited, and the Surround With
Today’s ReSharper Tip of the Day is a guest posting from Josh Buedel, It is a great tip that extends ReSharper’s use into the CSS and HTML space. Resharper templates come in two flavors: Live Templates which are invoked by typing keyword and pressing tab, and Surround With Templates, which are invoked against the current selection. .... Read more at Fooberry.com ......

Posted On Thursday, July 31, 2008 9:07 AM

ReSharper Tip of the Day: Highlight Usages
To highlight the usages of a current symbol, you can press Shift + Alt + F11 ...read more at Fooberry.com.

Posted On Tuesday, July 29, 2008 11:44 AM

ReSharper Tip of the Day: Go to File Members

 

Everyone uses, or at least knows about the member dropdown in Visual Studio. Did you know ReSharper can take you there faster? Read more at Fooberry.

Posted On Monday, July 28, 2008 9:37 AM

ReSharper Tip of the Day: Go to Next Tip

It’s obvious that R# gives us outlines several problem areas in the right gutter.

Did you know....Read more at Fooberry.com.

Posted On Sunday, July 27, 2008 7:20 AM

The Mobile Me Paradox
I’ve been a .Mac subscriber for almost a year now and have found it pretty handy, mostly for iDisk, and the some Mac settings that sync. With the recent introduction of MobileMe, I’m left a bit perplexed. On launch day I tried to bring up http://mac.com, the old .Mac address and found the maintenance page telling me I needed to hold my horses. That’s fine. I fully empathize with deployment pains. So day two rolls around and I finally get to log into .Mac, now Me.com. This was my nice greeting... ......

Posted On Tuesday, July 22, 2008 11:35 PM

Hello Fooberry.com
I've started a new blog to be the home of my ReSharper tips of the day, Fooberry.com. Hopefully it'll draw as much attention as this blog has, although I am afraid most of the views to the page come through the GeeksWithBlogs.net main feed.

I hope everyone visits and enjoys Fooberry.com, where sweetness has no context.

Posted On Monday, July 21, 2008 11:22 PM

ReSharper Tip of the Day: Go to Type
Today’s is a shorty, but goody. Do you need to go to a type, but don’t want to find it in the solution explorer and don’t have a reference in the current source to go to definition? Press Ctrl + T: Type the name you are looking for: Arrow down and press Enter ......

Posted On Monday, July 14, 2008 1:52 PM

ReSharper Tip of the Day: Adding Usings and References
When you go to use a type that is not added in the references, you can type out the complete name. And ReSharper will know it needs to add, in this case, System to your using statements. Press ALT + Enter and it will add it for you. If the name is ambiguous it will ask which one you want. If you don’t even have the assembly referenced it will ask you to add that too. WARNING: This will make you lazy with remembering which assemblies and namespaces are home to which classes ......

Posted On Wednesday, July 9, 2008 1:02 PM

Don’t Make Me Do
I recently marked over 130 tests with [Ignore] in order to get our build to go return to green. It made me cringe to do it, but we lost our local database instance several months ago and many of the tests required it. That was a good 70% of them. The other 30% purely fell victim to apathy. When our local database instance was pulled, so was our build server, as well as other tools (a whole other post :S). So since the build server stopped waving our failing tests in our face, about 40 test went on ......

Posted On Tuesday, July 8, 2008 10:29 AM

ReSharper Tip of the Day: Run Unit Tests in a Folder
In reference to my previous post about collectively running unit tests, I thought I would offer this ReSharper tip. ReSharper’s unit test runner is just plain awesome. Why MSTests don’t work like that by default astounds me…and is enough reason for me not to use them (although there are several more). One option you have for aggregating which tests you want to run in a single session is to right click on the folder that contains their source, right click and either Run or Debug them. I’m looking ......

Posted On Tuesday, July 8, 2008 7:17 AM

ReSharper Tip of the Day: Change a Type to Match a Return Type
Maybe I’m just a lazy boy, but sometimes I forget the return type of my methods. I can let ReSharper change the type of my local variable to match my return type ......

Posted On Monday, July 7, 2008 7:35 AM

What Am I Testing?
I’ve been spending the better part of two days doing this same process over and over. It doesn’t feel like I’m testing anything of value. I am not doing it in the C# 3.0ish way, but it is better to explain it that way. I have a class and a façade (MyFacade) that I want to extend and test. class Foo { public string Name { get; set; }}class MyFacade { public IMyDependency Depend { get; set; }}interface IMyDependency { IList<Foo> GetAllFoos();} So I write my test first like a good boy person should. ......

Posted On Friday, July 4, 2008 9:25 AM

ReSharper Tip of the Day: Move to the Other Part (Holiday Bonus)
Here is another cool one….at least to me. In my test classes I’ve been trying to fake out my dependencies instead of mock them…just for a change and most of the time I don’t really want to assert how the class used the dependency, just that it gives me the correct result. I create nested private classes using ReSharper. It puts it at the bottom of my current class which is fine. However, all that is noise to me for the most part, so I moved them to a partial class. I have MyClassTests and MyClassFakes, ......

Posted On Friday, July 4, 2008 8:53 AM

ReSharper Tip of the Day: Return to Last Edit

I almost jumped the gun and sent out two tips of the day because this one was so cool. When you are browsing the source of some other class and want to go back to the source you were changing, press CTRL + Shift + Backspace and it will take you back to the place in the code where last change you made.

That’s not cool enough for you? Press it again it’ll go to your change before that. Press it again and you get the idea.

Posted On Tuesday, July 1, 2008 6:47 AM

Copyright © Mark Borcherding | Powered by: GeeksWithBlogs.net