I have two objects of the same type. I want to copy all of the public properties of one object to the other object. I want the tool, ReSharper in this case, to do generate the code for me. I'll tell it the names of the first object and the second object. I want it to find all the public properties of the first object and copy the values to the second object.
Automating this simple code that copies values from right to left would save a ton of time and I'm thinking that ReSharper can do it. However, I haven't seen anything pop-up in searches for it though.
You might find it better to create a method to include in your classes that uses reflection to copy public properties. You could save this method in resharper to regenerate into other classes you need this functionality in.
I recently started building my first WP7 app and found that most of the community seems to be 'okay' with running tests through the emulator instead of a normal test runner like ReSharper. And as someone who can't design software anymore without thinking test-first I had to come up with a way to test drive my app or I wouldn't have much success on the platform.
I initially played around with the Silverlight NUnit Project Visual Studio Template but it didn't work right out of the box as I had hoped. But not because Jamie Cansdale wasn't thinking ahead, instead the latest version of ReSharper (6.0) has a bug in the test runner causing my tests to not go green (or red for that matter). So after a week without tdd, I went to the community for help ... but I still didn't find the answer I was looking for.
Finally I decided to research and blog about the working solution I came up with that allowed me to practice tdd again on the platform. The video is 16 minutes long and I hope someone as frustrated as I was will find it helpful.
For anyone who isn't interested in the short video I basically took the NUnit dll from the Silverlight NUnit Project and added it to a new WP7 Class Library. From here I had to downgrade my version of ReSharper to 5.x (until the test runner gets a patch). And finally if you come across the 'assembly xyz is missing' during a unit test be sure you mark the dependency as 'Copy Local - True'
Skype seems to have been having trouble this morning. At first I thought it was a set of Windows Vista Updates I'd applied - but when the problem started affecting my hardware based Skype phone as well my suspicions went to my ISP. I was thinking that they were doing some traffic shaping or something to Skype traffic. Finally, after talking with a fellow Skype user (over an old fashioned POTS line) who was also having login problems I figured it must be Skype itself - and turns out it is. The fault is apparently "software related" and they did some planned maintenance yesterday - coincidence?
Funny how long it took me to realize it was Skype to blame, must show how reliable the service has been so far. Interestingly, when I called my ISP (Nildram) to ask if they'd did any traffic shaping they said that they did but that VoIP, Skype, and VPN traffic are all prioritized on my line during working hours. That's actually quite reassuring and makes me like Nildram even more.
Update: Skype is back up and running, with a few details posted as to what caused the problem. Interestingly they are spinning it as that the software fault on Skype's servers was triggered by lots of Windows computers rebooting for patch Tuesday - not sure what I think about that.
Paul Julius just announced that RC3 of CruiseControl 2.7.1 has been released from the Agile 2007 conference. From my point of view this is fantastic news, because it includes a patch I submitted to the project to include integration between CruiseControl and Team Foundation Server. Previously this was available from our website but from 2.7.1 onwards it will be included in the base CruiseControl distribution.
If you have an existing CruiseControl build process then this makes it really simple to migrate your source control over to TFS. Combined with the TFS Ant tasks we make freely available you should be good to go. Note that both the CruiseControl integration and the Ant tasks require a version of the TFS Command Line Client be installed on your build server. We've tested them against the standard Microsoft tf.exe for Windows build servers and our own tf command line client that works cross-platform.
As I've mentioned before, I love Resharper from those crazily clever folks at JetBrains. Today I installed an Early Access version of 3.0.2 into Visual Studio 2008 and all the goodness has returned. No need to write a Using statement again, error highlighting in C# without needing a build, the good old Ctrl-Shift-N keyboard shortcut among others. The 3.0.2 release has come a long way since the 2.5 release that I had been previously using, there are increased coding best practises and some nicer inline static anaylsis. The plug-in is also much more friendly in how it takes over any Visual Studio shortcuts and means that I don't have to re-train the old muscle memory when switching between keyboard shortcuts for actions in Eclipse and Visual Studio.
If you are spending all your day in Visual Studio then I urge you to take a look at Resharper. Personally, I find the increase in productivity well worth it, not to mention the increase in code quality that you get as a result.
Yesterday I sat down with my freshly downloaded Orcas Beta 2 media (thanks to the Secure Content Downloader from the good folks at Microsoft Research in Cambridge) and upgraded our production TFS instance. The good news is that the set-up process in Beta 2 is miles better than it was in earlier versions of TFS - it even handled the upgrade of my database for me. As someone who has been through manual database upgrades from TFS 2005 Beta 2 -> Beta 3 -> Beta 3R -> RC -> RTM -> TFS 2008 Beta 1, having it all done for me was just fantastic.
Performance wise, things seem to be a lot better than TFS 2005 SP1. Other good news is that the existing Teamprise clients (including the recently shipped 2.2 release) versions talk to TFS 2008 just fine thanks to the fantastic work the TFS team have done to ensure backwards compatibility. Obviously our clients do not yet take advantage of some of the new TFS 2008 functionality - but the performance improvements made on the server definitely come through.
The Phase #2 of the burnination process described here, is completed and it has been decided that the tag should NOT be removed from the system (status-declined), but instead renamed to a more specific tag-name
I came across the jetbrains tag when editing a question. It, in and of itself, is only a company - and any question tagged with it seems to be associated directly to the products it produces (ReSharper, IntelliJ IDEA, RubyMine, WebStorm, et. al.).
All questions that are also tagged with Jetbrains are also tagged with the more specific (and appropriate) product tag with which the question is concerned with. This is why I feel strongly about burninating this particular tag.
Furthermore, not that I wish to go on a tangent or go outside of the scope of this request, but perhaps we should look into other company-specific meta tags as well. If the tags really can't stand on their own (that is, a question tagged with just that isn't considered on topic), why are we keeping them around?
I'm not convinced that the removal of this meta tag would be negative, considering how comparatively few questions are tagged with jetbrains AND something else. Furthermore, if they wanted a specific version of any of their products, then they could specify that.
Company tags don't tell us anything about the content of the question;they are therefore considered meta tags. The proof: any question thatwould be asked about a company on Stack Overflow would most likely beoff-topic.
I agree it's not optimal. But in this case, a lot of Jetbrains' products share the same core. So a question about PhpStorm may apply to RubyMine, IntelliJ IDEA etc. What tag the question is tagged with just happens to be the specific product used by the asker.
I suggest renaming the tag to jetbrains-ide. It wouldn't be a meta-tag, as it could be tagged on most of the questions now tagged with a specific IDE, since it applies to all of them. And then it's not a company tag.
As someone who uses multiple different Jetbrains ides on a daily basis, I believe it most definitely should stay. Contrarily to some comments, most questions are not product specific. The settings are widely the same, the way to configure live templates, macros, plugins is widely the same, actually, the product themselves say a lot less about anything I do with the IDE than the fact that it is a Jetbrains product.
Most of the questions I've had, were answered not while reading questions that were tagged with the specific product I was using. The exception is when I find a question tagged with the same IDE' not the rule.
I think there is some confusion. The settings are not alike. They are the same except for what is only relevant to the language, which is not the majority of what is exposed in these IDE. Here is the general settings panel across Pycharm, Webstorm, PHPStorm and CLion. In there, more than half of the options are the same, "Appearance & Behavior", "Keymap", "Version Control", "Build, Execution, Deployment", they offer the same functionality.
They offer configuration over the same things, are used in the same way across the products, and if a question about any of those were tagged as any specific product it would have to be tagged with all products as well.
Which is not really relevant to whether a tag should exist or not; tags are there to help people find similar or related questions, they don't need to be completely descriptive without reference to anything else.
There are other problems with this - we now have questions which pertain to the JetBrains Toolbox which need to be disambiguated from the jetbrains tag, and it would do well to disambiguate questions which are about a specific IDE from the generic IDE.
c80f0f1006