tag:blogger.com,1999:blog-57971922024-03-07T18:22:56.885+00:00Rory's RamblingsMy little place on the web (sorry <a href="http://n4ixt.blogspot.com/" >N4ixt</a> ;) ) where I contemplate life, the universe... Visual Studio and DXCoreRoryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.comBlogger150125tag:blogger.com,1999:blog-5797192.post-47231214904258993832010-09-09T15:41:00.001+01:002010-09-09T15:41:30.295+01:00Let’s get ready to Kindle!!!!<p> </p> <p>I’ve got a new Kindle (3rd generation)</p> <p>Here are some pics. Review to follow later <strike>if</strike> when I can stop playing with it :)</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheJ26hgUn1_tkjg-PvTDnKpMK-OMpWx9-F3yBR5LM2j16kEwfRSgs7d0YbYjAFwYGDGLfCodTk1_o6AN5MFnSXwO1I9hUaberLmZo9GGgs8szNJ02j60Ctz2qVm8nk4V5XwKyr/s1600-h/2%5B4%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2" border="0" alt="2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcF4JW2XMFUJ10Onr47DVu0RcjJ0QVzOqCRInbM2hHedNrmjrSW5caZ4ly29OcOU6ZqdVAFh2s_U7swBqzTYDoMsFSaIV2PuXUGMfMNp1w_e-UPylxY-2jictGje1DMPAQRDly/?imgmax=800" width="240" height="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFvaDqiQNRUQw-rc_6z-Huq0xsa-AF423xmvnwSujbq5FrlaPfKZwzTjBq9s2e18MQD4wK6cGeVAYH79TXWRaGdRkc8JFzJSvOZkZzQ8f_0B0De-yLCiVRikzoGYwTzmbBTbQ1/s1600-h/3%5B4%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="3" border="0" alt="3" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWG08VAEqhkpCBz790zx8YI53EZwc7v1tU_8oWrR-qvRxyLudoHgDEr7z9HA3KTnXRm2yejy-P_lTPS9PiPicFDLoyyRE6ivcHvUHJzswuBYQ-JwwpbZrH6NXE8QHqTd-63agJ/?imgmax=800" width="240" height="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji9iqQttwjGRLaDBtiuItHx3JI3X7a4CPA-_cvZaLffMywQqIr7b20cAkBupfTqEEJ4Hvm47wAeHqZA9NRkNYjoWuFi4IrqqJrn_pAyJFZFjxFHyOjrhxk0uo3-Eg7k92m1BSo/s1600-h/13%5B4%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="13" border="0" alt="13" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjphLhf9GthzWt7ZDHp8GM25QxI8TtLCHaYAmEiF5ojbbMAjbN9-7pmGv-T8IsasZodMxpu7HsUtj6NGLwlxCjS4LiBUox-t_MebBH-VhUHrgYredo4tVG8TjEoUWNlga9VKNjz/?imgmax=800" width="240" height="180" /></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWXIKCNJFYSsYHG9tJUKbkzDEtCzzi7zBny4Gnt-Kv3R4DxgYJq2pg7o7SRbDFZck-l-OiYtShy8rYSQXtQsKVhezkSDG8VMUpqo95KxYUeC0yK22XTZkwDux-eGHi0hFv3uir/s1600-h/4%5B4%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="4" border="0" alt="4" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV2Z28zud-hcncwgs8UGaLyMuHDR4pgjNeG6ATGs-80i-OLMgXOfAQhJKznpbjNckSPdGJg5PBNptQ_kFQ9Q8Yp_PJlmpGL_Y60MjO8n9aggxfgDwbd0jPNmvulvYqsqmILkYc/?imgmax=800" width="240" height="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8uS3iVJsD4FrIVLu0bnqK0U-R5NmfZj60TXQhFPtquGf3hYqO0yHNFId11pe_1d92VcU0uuzgWKMSsofexspRJWwyTdGiXR4D4WQ7ndKvttGHzbhiYa-xKhScJ0ZoTCwTfB44/s1600-h/5%5B4%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="5" border="0" alt="5" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-WQcTk03S44JdyelJiS1XVTqgzlIe6ooXYysAqFZBDCq_2Q9GR5aDKzMDbk7ASdpxA98Cvqym9iG2iZxWcOaqqHkdXKsm7iBv_FkxuFk9bFdB5BHJqQCFPzox0iugQIEDu0O7/?imgmax=800" width="240" height="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIQb3W0MGJot5rNw6bhAN6Ri3YzNgOBom4CRFOEx1DtiMc7uBAthQtw9uaD-g6g76ev7Z6OqWaSu88D4-vNnvMCzH9g80ku1zARrFVC_yG4gjxAFypjRYTz3APbPTAv3SfPrl7/s1600-h/6%5B4%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="6" border="0" alt="6" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhclTx3b8qS236HYjX_AyLsshLpGFwpuoB_GU9IZxUEvvIbKIppUkRv9LK2EelB2sYNZf0Zt4JwX1HPLxMFeYAFjl34elI6Em5n2jD2GoHlVOW0V4J_oSB9V_jN26B_2fsxs2ds/?imgmax=800" width="240" height="180" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQV4CbrDZh0SJpXYwoNtOYnbCrTqxXIO6CQeAc9MWOYVVD3dYgzoT92rydM8L0M6_11luzQOSR3R3Q4X9HzUOTJHYOqt5SsKmGVQkGaG8DqKPKbOnBOsv3sKuBFbagFbxGl-8a/s1600-h/14%5B4%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="14" border="0" alt="14" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8w0CvftHG1uJ3OiIy-wXRWqoWRvEMxq2C2vD0ZJK0EMo8Jk_raR8k28U1ehLdVxeTqmE3W5zdBs3Zz5SLP_vXfcKVwJltPfS5d97KnV0lLuvAYcgOEPhCjvaJY_adFGdmjoOj/?imgmax=800" width="240" height="180" /></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6aIrXBavz55H9ytBwwI6EYZRrL9LxSGLSkEmLqy1B4l5qEBdASbK-q4Yx0nL3z5jTAY9yxHsmciWswTDgLDnfa7_lFpNCqWomteuBKdpkaB5HA3JNaf-k6TTeQqgb_ov9urBM/s1600-h/15%5B4%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px auto; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top: 0px; border-right: 0px; padding-top: 0px" title="15" border="0" alt="15" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvETZjJLm4HD5hG_Ko1hdjkOKlr7_93eZzz0KbDmLIKf3g9qrAfkliOURDnprZUr7bV7zZNJPzRDQ7BuqJ37nm6iR4TrDOmA6ZCKJoy13-2JgjQl5OsIHXAzwOKodUBvS-Q6np/?imgmax=800" width="180" height="240" /></a></p> <p>And here are some shots of the cover.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFHauu8FoSnwvsQQLBiaG7HWKjjh3D-ur3eE1nSFHCHdoXmn54S06uKX2HiPBDTWE2q-SfWU5acsI7r9xtkT_jdUsDCy4PTfwnSid3r7ORdCMNKuAw68cY-MlC9TEHkxkJYmbl/s1600-h/8%5B3%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="8" border="0" alt="8" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTLfLhej6q1zf7SDppa1NuojrpOH1xWAzYb1LNMutw4zHSpVG2zZhYxAIKIe7KCdbJHpuNa2bD6gUhyphenhyphengfwaTGGhx-_HStD2T9GnXEGdUqDNJ_HaBXQxttYNO3xmf_vwodwkI4L/?imgmax=800" width="244" height="184" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQikTIiUn4xJ3fxb-FNRVCxGTHq7pitBFrXgGRVF3Bix47kyOyit2uR18szcmd_foh3RGFqxhUVI0eyVzjoIVDWB80B0142dvlxdIqjcdpfbvY6d_RrEz26YTJT-7kseiqMU8m/s1600-h/9%5B3%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="9" border="0" alt="9" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi53akeI1jAU2mEBQOq7kCpaCSlEGp9eZU0yWe2CBA_rrnqEPYl8jDLZYRE1Vud2aHBGDiMFT_VVHAYDrWSAbQTCPbvArLNSy_6J7yB0up92HtDMEoZgJyz2aQiLKvwhcbt2wRu/?imgmax=800" width="244" height="184" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5PAlyHudYefXOapDJAzGJ3NpBwXFViVZDA3rteDTIjWgW9PJnxow2-h0bWSogfVLHExr8rwhBvdlq-H0seqcx9rOTq46vGVbYcuesBssUcytVfsk2gahsYMbRploprF7f9sow/s1600-h/10%5B3%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="10" border="0" alt="10" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZYhWaDmwLHB1SklYnH7vkPBiTOjKzwubrJdQGUCNNOvVAotRAjE7E4c6cPDCKKOkLKAwmyPf_-s8u_6Fa3OgEjWh7VvkqPt9Pnp-gXbOYHMvNtHGAhygjT2TXu-Yfsrs2oCZ9/?imgmax=800" width="244" height="184" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgexGdy8G9kHkP05B61yvKoWCMoGY3Gi7WCXAewEFhl4TXG1lCKoReg3RKS-lxb_E-35ZWet1rYoFYcEr1SCaqsPIt-BpcVp0uP_ar9wO2tCVClnrm0T6ShRVSQfrPEL12ExgEf/s1600-h/11%5B3%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="11" border="0" alt="11" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1yYztMb0NZDAl5HyF3NOuMaOqClnre3YzXRSUOb7pjGj1PRYhdtaymHyxPhtT6wCRDwhpQCrl1Sl4pX9kHOzcn_avW3M8m9laU50CxskDllWaPoFy0UABqQvNbUobmCw-Fj-f/?imgmax=800" width="244" height="184" /></a></p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfFdgbq4kJ70Zx0rd6qWexgDT014ZedGgcFbux7M_8-DCYeCOrjeVcikzQeju3lNTDbq5W5n1K6uso1t_1O2CqVBAN9oMP3GopuTHL44u_44mTxzWn0kzbp4DxGe9KEc25zr-p/s1600-h/12%5B3%5D.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="12" border="0" alt="12" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJQcaz9tmg1eCke4SW_J4zuI4bA1IqC3FM6cE3LI4JO_EicBf1apkK8QrBtdXdUQ-gc6nDHmhcyoaj6SYdtpiiBxogbLxsOYUUediwZUFRbsvZW0BjG7bcxv8fzlM_WMQdLRS8/?imgmax=800" width="244" height="184" /></a></p> <p>I would have added a shot of my new Kindle situated in it’s new home, but the battery on my camera gave out at this point.</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com2tag:blogger.com,1999:blog-5797192.post-88699599410834318532010-07-08T15:16:00.001+01:002010-07-08T15:16:48.734+01:00Echo…. echo…. echo…..<p>Just a very quick post in case you missed the updated link in my previous post.</p> <p>There is the distinct possibility that this blog may go quiet for a while. It seems a little silly to cross-post to both here and <a href="http://community.devexpress.com/blogs/rorybecker/">My New DevExpress Blog</a>. </p> <p>So if you’re looking for <a href="http://devexpress.com/CodeRush ">CodeRush</a>, <a href="http://devexpress.com/crx">CodeRush Xpress</a>, <a href="http://devexpress.com/refactor">RefactorPro</a> or <a href="http://devexpress.com/DXCore">DXCore</a> information, head on over to <a href="http://community.devexpress.com/blogs/rorybecker/">My New Blog</a> and check out the rest of <a href="http://devexpress.com/">http://devexpress.com/</a> whilst you’re there.</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com2tag:blogger.com,1999:blog-5797192.post-80032433115805322392010-07-06T11:27:00.000+01:002010-07-08T14:42:15.306+01:00New Beginnings…<p> <br />It’s true what they say… </p> <p align="center">“As one door closes, another opens”</p> <p>…and who can tell what new opportunities the new door might reveal. </p> <p>Just recently <a href="http://rorybecker.blogspot.com/2010/07/all-good-things.html" target="_blank">I blogged</a> there’s going to be <em>“too much happening at work, for me to be able to juggle all my “Official” work, with my DX-Squad responsibilities.</em>”</p> <p>…and this is technically true. If I had to do both one thing and the other without some sort of reconciliation, I’d probably go mad.</p> <p>However it wasn’t the *entire truth*.</p> <p>You see there is a very good reason that there’s going to be “too much happening at work”….</p> <p><strong>Big Announcement</strong></p> <p align="center">I’ve joined DevExpress</p> <p align="center">Yup I’m going to join Mark and the gang in promoting the DevExpress IDE Tools.</p> <p align="center"><a href="http://devexpress.com/coderush" target="_blank">CodeRush Pro</a>/<a href="http://devexpress.com/crx" target="_blank">Xpress</a>, <a href="http://devexpress.com/Refactor" target="_blank">RefactorPro</a> and <a href="http://devexpress.com/DXCore" target="_blank">DXCore</a></p> <p>Its worth noting that I’ve not actually given up my previous job. DX did ask, but honestly the family business couldn’t take the hit at this time. We’ll see what happens in the future… Who knows :) </p> <p>Instead I’ll be working part time on all manner of things CodeRush related. But rest assured… My existing employer is aware of the situation and is ok with this new arrangement. </p> <p><strong>So what’s changed?</strong></p> <p>Well that’s a good question….. The simple answer is … well … not much really :)</p> <p>I asked what my job title would be. The best we’ve come up with so far is “CodeRush Community Evangelist”. What do you think? Can you come up with anything better?</p> <p>In theory, I’m going to be more focused. After all I’m being paid to do this now. This also means that I’ll be forgiven more easily by my wife, for the amount of time I sometimes spend in the evenings on these things :)</p> <p>One way of looking at this, is that DevExpress thought it would be cool to be able to direct my efforts a little more than they do now. </p> <p>The way I see it, it’s not such a good idea to dig too deeply into this sort of thing… If I ask too many questions they might change their mind :)</p> <p><strong>Community Plugin Site</strong></p> <p>Don’t worry the community site is still a community site. It and the plugins on it (current and future) will continue to be owned by the community. Nothing is changing there.</p> <p>I’m going to continue all of my community stuff. I’ll still write plugins. I’ll still blog. Hey you never know they might even <a href="http://community.devexpress.com/blogs/rorybecker/">let me write on the official site</a> :P. </p> <p><strong>What will I do?</strong></p> <p>The simple answer to this is ‘More of the same’. I’ll have greater access to the devs behind this wonderful set of products (You know, the crack squad of awesome guys that actually implement the stuff that Mark Miller comes up with) </p> <p>With this new level of access, I should be even better equipped to answer questions and writing plugins. So we all win. Hurrah!</p> <p>The biggest change from my perspective is that I can’t say “I don’t work for DevExpress” anymore. I’m going to have to work on that one :) Although it’s already recorded all over the place, so I hope you’ll forgive me if I don’t attempt to track down each and every instance.</p> <p><strong>So what next?</strong></p> <p>So I’m just off now for my ‘Kool-aid upgrade’. </p> <p>Instead of making regular visits to the Kool-Aid fountain, I’ve got this new Kool-Aid Patch which hydrates Kool-Aid directly from moisture in the air around me. :)</p> <p>Oh and while I’m on the topic of Kool-Aid, If anyone thinks for a minute that this will make me *more* Pro-CodeRush, I advise you to stop and think for a minute about that….</p> <p align="center">How exactly is that possible? </p> <p align="center">Seriously?</p> <p>So after my Kool-Aid upgrade, I’ll be off to learn a few secret handshakes and will catch you all on the other side.</p> <p align="center"><strong>I think things are about to get interesting :D</strong></p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com11tag:blogger.com,1999:blog-5797192.post-7647730545625964702010-07-06T08:04:00.001+01:002010-07-06T08:04:19.242+01:00All good things….<p> <br />I’ve been a member of DX-Squad since some time in April 2006. </p> <p>After driving Mark Miller, Dustin Campbell and others round the bend asking questions, I finally started retaining enough of this information, that I was able to repeat it to others who came along asking similar questions. </p> <p>A little while later Dustin suggested I be invited to join the DX-squad, and Mark Miller agreed. I am very grateful to them both for this. </p> <p>DX-Squad is “A volunteer group of advanced users supporting our tools/component technologies and development community”</p> <p>What this boils down to, is helping out on the DX forums answering questions on DX technology. It’s kind of like being a DevExpress MVP. And in exchange, DX grants the squad a gratis license to their stuff. It’s an arrangement which benefits both parties and I have found it to be very agreeable.</p> <p>So I’ve been hanging out on the forums and more recently on twitter answering questions on CodeRush etc for the last 4 years or so. However I’m afraid the time has come to leave. </p> <p>Unfortunately nothing is forever, and there’s just going to be too much happening at work, for me to be able to juggle all my “Official” work, with my DX-Squad responsibilities.</p> <p>This being the case, I’m afraid something has to give… and realistically I’m afraid it’s membership of the DX-squad that is going have to loose out in this case.</p> <p>So after a little over 4 years of helping to answer questions on CodeRush, the DXCore and related tech, I think it’s time to move on.</p> <p>It’s been great working with my fellow DX-Squaders, who all do a great job supporting their respective areas of DevExpress goodness. I hope they’ll not shun me too much for this decision, and might even continue to provide the odd nugget of help in the future, if should I need it :)</p> <p>I would like to say a huge thank you to everyone who’s ever used a plugin that I’ve written, and even more so to those who’ve suggested ideas (whether I’ve taken them up on the idea or not). I encourage everyone to go take a look at CodeRush, CodeRush Xpress, Refactor Pro and the DXCore.</p> <p>IMO they are truly the most useful tools I’ve ever come across.</p> <p>Unfortunately now (as has oft’ been said)…</p> <p align="center">…All good things must come to an end.</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com2tag:blogger.com,1999:blog-5797192.post-33772309633221963972010-05-24T22:33:00.001+01:002010-05-24T22:33:56.604+01:00Template Driven Assembly References<p> <br />In comments on my <a href="http://rorybecker.blogspot.com/2010/05/new-coderush-plugin-dxnewitem-replaces.html" target="_blank">previous post</a> @BlackMael asked about doing something similar to DX_NewItem, only with assembly references instead of Project Items.</p> <p>That sounds like a challenge to me :D </p> <p>My answer to this is that there already exists an AddAssemblyReference TextCommand in CodeRush. But that ‘s only useful if you know what to do with it.</p> <p>So here’s a quick guide on setting up a “Dynamic List” of Assemblies</p> <ul> <li>First Create a new Dynamic list (DevExpress\Options  Core\Dynamic Lists)</li> </ul> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg59iexp6fwZ3dCSPsDaMABblIp_SCaF_EsBuL3iGaX3qgJe8SsY57Myil9YX6grxyiLeWY3DjoIiQ77b7jFBDot0x7ItXn7tUob_ljmxvKd3glGi1jRxgS2QaL7eu8MxB8C4dr/s1600-h/DynamicList0%5B9%5D.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="DynamicList0" border="0" alt="DynamicList0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_RyKp-aF_QbmNLkWTbmHOsI1Jtzz_7W4RxheBWnfPFtSwZhUk2DKmL9-X-RNTb5nvZU0tP3GTzUJIVj0b_0GC8BCdYyViLPvGt9Klermn5a2yEMRaDcB87fN72Bl_BQk_4q1J/?imgmax=800" width="378" height="214" /></a>    </p> <ul> <li>Then populate it with Assembly names and suitable mnemonics</li> </ul> <p><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="DynamicList3" border="0" alt="DynamicList3" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7x338qNOXzcsz0Rmagmm-eSphjOrz9e54oTUcxeNbPpoR8Sd01CA_2YK1d_8jaeaVdVyw02Y1TD19K7BlDDOVoEA21b6Ocrlhyh8kbrQzEd8jbQTylS0GeugTN1d0Rd5JGhz6/?imgmax=800" width="590" height="79" /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAufioC788btA4DTQCINYAyerCpwgWNLY88auow7gLbNUvNVQ-WRJYBvGpzZ42njnV_-s8_Io5LXK2bTK2a6Iuy2LYhEbW9kQct7r0N-jrJgnJrOr8-3E2gOX2et3R8yMdn-_D/s1600-h/DynamicList1%5B13%5D.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="DynamicList1" border="0" alt="DynamicList1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBi7ZYa2YmFhwukn-xrd7GyceZi-A0J27VX_Xbd6gL__SXlAUBpjnAKrxlPRbNrK99xB31my7fMp94VuDS3enefMnsknwgnJoh1ZzzD98VxM3mJCQsHPvrwTxjcS3eKVtitu57/?imgmax=800" width="633" height="166" /></a></p> <ul> <li>Finally create a template that references the variable used in the list. </li> </ul> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW2GnQFTdpAO4UyNPKBJvsWVPVOw5jFiewoy60TKwtTST4QqsdOHb7WXN7ww7UN0N3P2aiE4FyxoxXexJ07SKbHqE0SKJQlFKuExzv9VNcElpSvYqcC537Q47Px8_vZG5ie9Z8/s1600-h/DynamicList2%5B13%5D.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="DynamicList2" border="0" alt="DynamicList2" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguChEFdHXz0FRdyogSLkqfns2ecHtzDQbwBuWJa53Slj6KdDUI07FnPqfExLEBdWY5_cZDtO0UqtRHzm63X43FB2zTyyQPmgiAQ_mVFV_csLUg8UcGxKXTghEWMcmxpKhRn7y_/?imgmax=800" width="544" height="322" /></a></p> <p align="center"><strong>You’re done!</strong> </p> <p>You can now use ‘<strong>ar</strong>’ in combination with any Assembly added to the assembly list and CodeRush will add your assembly reference without ever needing to go near the dreaded “Add Reference” Dialog</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com4tag:blogger.com,1999:blog-5797192.post-82662255439021877832010-05-24T13:05:00.001+01:002010-05-24T14:01:34.242+01:00New CodeRush plugin ‘DX_NewItem’ replaces ‘Add New Item’ dialog<p><strong>Note:This plugin requires the full version of CodeRush (Or <a href="http://devexpress.com/Downloads/Visual_Studio_Add-in/">a trial of same</a>). Xpress is not supported at this time.] <br /></strong> <br />I’m sick of visual studio’s ‘Add New Item’ dialog. </p> <p>It’s filled with way too many items I’ll never use and it’s slow to use.</p> <p>So I’ve created a CodeRush plugin to replace it in > 90% of cases.</p> <p>Now I’m sure you already use CodeRush templates to create classes, methods , Interfaces and the like, but what about when you need to create something more complicated. </p> <p>Something with multiple files. Something which studio is already capable of creating and where creating a CodeRush template would take too long.</p> <p>Wouldn’t it be nice if you could ask CodeRush to trigger a Visual Studio Item template without having to muck around in the “Add New Item” dialog trying to find it first?</p> <p>Well now you can!</p> <ul> <li>Locate DX_NewItem </li> <li>Deploy the dll to your plugin folder </li> <li>Extract the settings file to the correct location </li> <li>Create a single CodeRush template </li> </ul> <p>and you’re done (<a href="http://code.google.com/p/dxcorecommunityplugins/wiki/DX_NewItem">full instructions here</a>)</p> <p>Now you have the benefit of the ‘<strong>an</strong>’ template. ‘<strong>an</strong>’ is a mnemonic for ‘<strong>Add new</strong>’</p> <p>For example:</p> <p><strong>anwf<space></strong> – add new win form to your project.</p> <p><strong>anxf<space></strong> – add new xml file to your project.</p> <p><strong>andxp<space></strong> – add new dxcore plugin to your project.</p> <p>[Note: Other Templates are already catered to… See the ‘<strong>Templates</strong>’ list on the ‘<strong>Core\Dynamic Templates</strong>’ (advanced) option page – ]</p> <p>How sweet is that?!!</p> <p>I’ll be adding support for other items as time goes on, but you can already add your own via the instructions on <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/DX_NewItem">the wiki page</a></p> <p>And now for something more visual:</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCfWVQbvXD0ZjKvD1Q-dzLAHObCJMxvWsPW8nlQIYNNsJkDMKQ9VRGwKI0RJ0Ub0PZOsDvahkiL6IaSmLQSzvYPHNtFE8xlYcE_0JbinzVMC6hX46FbKG7MUbxwl2c0wXzJaUE/s1600-h/DX_NewItem%5B8%5D.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DX_NewItem" border="0" alt="DX_NewItem" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7rHc_d8Ar_2aJN3F1YQy-lpQnkcahZj_FpY854V9_oUmm0UXLerTISscrOfjVoPKEaXaadR5zQxG0roSTiGxyd8JL5aKPBJtnsT9AEh07Mh6ojl0srQSHg0DVXLWDp8OLQLq5/?imgmax=800" width="650" height="686" /></a></p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com3tag:blogger.com,1999:blog-5797192.post-90604461626576753782010-05-21T10:10:00.001+01:002010-05-21T10:10:11.390+01:00CodeRush 10.1 hits RTM<p> <br />Yes I know I’m a bit late with this news but I was on twitter this morning and noticed that people were still under the impression that CodeRush 10.1 was still in beta.</p> <p>So let me set the record straight… Here are the facts:</p> <ul> <li>CodeRush 10.1 (along with DXperience) hit RTM at approx 21:40 BST on 19th May.</li> <li>CodeRush is available to subscribers from the <a href="http://www.devexpress.com/ClientCenter/">DevExpress Client Center</a></li> <li>CodeRush Xpress (Still Completely Free!!!) is available from <a href="http://devexpress.com/crx">it’s own page</a></li> <li>A trial of CodeRush (Full version) is available from <a href="http://devexpress.com/Downloads/Visual_Studio_Add-in/">this page</a></li> <li>The current version is 10.1.4 </li> <li>CodeRush 10.1 works under VS2010, VS2008 and VS2005</li> <li>CodeRush has a <a href="http://rorybecker.blogspot.com/2010/04/new-color-swatch-feature-in-coderush.html">new Color Picker</a> which absolutely rocks in *any* color related scenario (WPF, CSS, VB, CS)</li> <li>The Graphical API has been rewritten to the account for the changes in VS2010</li> <ul> <li>Therefore some <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/GetPlugins">Community plugins</a> will not work until they have been adjusted</li> <li>Please <a href="http://code.google.com/p/dxcorecommunityplugins/issues/list">report any community plugin bugs here</a></li> </ul> <li>Microsoft have requested that some features be removed from CodeRush Xpress under VS2010</li> <ul> <li>This is believed to be because they introduced ‘similar’ features in VS2010 that they wanted to promote.</li> <li>Such features include QuickNav, QuickFileNav, Tab To Next Reference, Highlight References and several consume first Code Generators</li> <li>These features all still work under VS2008 and VS2005</li> <li>These features all still work in the Trial or Full versions of CodeRush</li> <li>MS paid to license CodeRush Xpress to all users of VS Pro or higher, so frankly they have the right to say what they’re willing to pay for. It kinda sucks but this is actually not unreasonable.</li> </ul> </ul> <p>So go out spread the word “CodeRush has come to VS2010” - Which means VS2010 is finally usable :D</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com0tag:blogger.com,1999:blog-5797192.post-28107444018467463782010-04-30T10:45:00.001+01:002010-04-30T10:50:41.170+01:00How much faster is CodeRush ?<p> <br />Recently DevExpress <a href="http://tv.devexpress.com/#CRSideBySide.movie" target="_blank">released a video</a> which compared the rename functionality in CodeRush to that of in of it’s competitor products.</p> <p>There then followed some discussion on Twitter, about how valid the tests were.</p> <p>Questions were raised like “Why would anyone want undo like that ?” and comments were made like “He probably used a pre-release version of ‘Brand X’ productivity tool. They’re always slower than the RTM versions”.</p> <p>These are potentially fair points. Lets see if we can address them.</p> <p><strong>“Why would anyone want to do that?”</strong></p> <p>First up “Why would anyone want undo like that” . Now I must confess I’ve can’t now find the tweet in question in order to quote this properly, but the person who mentioned this appeared confused about why anyone would want to do an undo at that point in time.</p> <p>[To put this statement in context… the DevExpress Video shows a rename of a local symbol using the Brand X product, occurring at approx 0:30 of said video, and then shows the effect of trying to undo this at approx 0:40]</p> <p>Why should being able to undo something be unnecessarily restricted. I frequently get called away in the middle of something, come back, wonder what I was doing exactly. Sometimes undoing and redoing is a good way to remember. </p> <p>In any case I don’t think there is any point at which it should be suggested that undo is unreasonable. If your tool is telling making anything that you do this awkward and error prone, IMO you should re-evaluate if it’s helping you or not.</p> <p>Bottom line: This clearly works in CodeRush… It clearly doesn’t work in Brand X.</p> <p><strong>“It was probably an unfair test using a pre release version of Brand X”</strong></p> <p>Well I can see why some people might think this. DevExpress did this test, and they did it on a one of their own solutions. This does make it kind of hard to verify independently, since they’re hardly about to hand out the source of CodeRush :D</p> <p>…and so I decided to do my own test :)</p> <p>You might say that I am biased also. However the test I conducted is reproducible by anyone who cares to do so using their tool of choice.</p> <ul> <li>I started by selecting an open source project that anyone could get hold of. I chose Paint.Net version 3.5.5</li> <li>I then downloaded the latest version of CodeRush 10.1 (This will soon be available to anyone as RTM is imminent) and the latest version of Brand X (Available from their main page. Can’t get less pre-release than that :D)</li> <li>Both tools were installed and in each case, whilst a test was being done, the opposing product was disabled.</li> <li>I restarted Studio for each test and allowed the CPU to settle after loading the solution before starting the test.</li> <li>I used a quad core machine with 2GB RAM (Yeah I know I need more RAM) running on Win7 x64 (My home machine)</li> </ul> <p>And so I looked around for something in the solution which would have a lot of references.</p> <p>After some fairly casual looking around, I couldn’t find anything with more than about 50 references. Then I had a brainwave…. I’d rename the main namespace. [Note:CodeRush took all of 4.1seconds to tell me that there were some 416 references to this in 197 files.] This seemed like it would be enough of a test.</p> <p>What followed was a fairly boring, so frankly I’ll skip straight to the results: <br />[Note: If you’re interested in the details, they’re pretty much the same as the CodeRush Video at 01:53]</p> <div align="center"> <table border="0" cellspacing="0" cellpadding="2" width="400" align="center"><tbody> <tr> <td valign="top" width="200"><strong>Product</strong></td> <td valign="top" width="200"><strong>Time to rename </strong></td> </tr> <tr> <td valign="top" width="200">CodeRush</td> <td valign="top" width="200">22 seconds</td> </tr> <tr> <td valign="top" width="200">Brand X</td> <td valign="top" width="200">4 minutes and 28 seconds</td> </tr> </tbody></table> </div> <p><strong>Conclusion</strong></p> <p>So with the latest versions of each product, and a test you can reproduce yourself if you really want, to my conclusion is:</p> <p align="center"><strong>Mark Miller is wrong. <br /></strong><strong>CodeRush is not 10x faster than Brand X….. It’s 12x faster :D</strong></p> <p>With a difference this big… I couldn’t just have made myself a Coffee…. I could have ground the beans myself.</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com8tag:blogger.com,1999:blog-5797192.post-4881961143356295092010-04-21T14:57:00.002+01:002010-05-04T11:11:53.368+01:00New ‘Color Swatch’ Feature in CodeRush 10.1<p><strong></strong></p> <p><span style="font-weight: bold;">Update: Mark Miller has since addressed this feature </span><a style="font-weight: bold;" href="http://community.devexpress.com/blogs/markmiller/archive/2010/04/26/working-with-color-in-coderush.aspx">much more thoroughly</a><br /></p><p>I’m sure you recognise at least one of these…</p> <p align="center"><span style="font-size:130%;"><strong>#2387d4</strong> <strong>&h23 &h87 &hd4</strong> <strong>0x23 0x87 0xd4</strong></span></p> <p> <br />Apparently, these are all representations of color.</p> <p>Did you ever think that, for something designed to represent color, that … well … They’re not very colorful are they? </p> <p>So how about something better? Something designed to give you a little more relevant information on the color you’re talking about:</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4k1etUY04zCUU-gPxh_4HU_dotXsHdfoAmvjW4NpDtvpsE0gRim7PoOG2TAe3ISrUPePmFLb4JunrUiA3wkBVCURO0t8WZTtCgImJ9gD10bGS4mqvCrLZcU2hN3fxJN6KssXI/s1600-h/ColorSwatchCode%5B4%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="ColorSwatchCode" alt="ColorSwatchCode" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0K2X4BaQ67l9GCaKKGd-wakRuJp7V_Nqx1cppTJpxo4P8coogyqGwFrFvQ_UFDX0ut34UVPVAEV9MTKF-imjZmhdB23IS_mHo9iUcBN7jKduw1wFxXzZ_Y1DLCdE2KRVmO1jx/?imgmax=800" width="608" border="0" height="241" /></a> </p> <p>This little strip of color will also appear in C#, WPF and HTML code. </p> <p>If you click the bar itself… You are presented with….</p> <p align="center"><strong>“The most glorious color picking dialog known to Dev”. – Rory :P</strong></p> <p>This first shot shows, an incredibly granular, ‘Picker’ tab.<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXIlNlXuhbuvrOdFEykAKHUZ6e8IVMB2MOq8OzUqQlLoxkET9fS-QW1u70BQsaEetAxzLBkLFLExRdUKMQcAuzogeZSfEm9eTDzQL8WZwi1C_3ufGhENKGpru4oo8wdpPsKabe/s1600-h/ColorSwatchPicker%5B17%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="ColorSwatchPicker" alt="ColorSwatchPicker" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgk7OalrVDwMC61PGSGZsXu4Nb9M80jZVVF5ediPGz_MxcdzjAw3jAPCECOyFTEBdOKzlzzS46gOrRSOs91KoPOXRawDCS1e-9oM7gkqj8p3DfC-9P3ixr4aTOLe3OgRhCiiQe/?imgmax=800" width="596" border="0" height="456" /></a></p> <p>Next up.. Some well known ‘Web’ colors:<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ8zWcKfy6UukZ-ay3388cK6GNwA0sIhWHkYJjI-MDDULDJ0GMPnAB42ByuK_KoC0JcKuzoOoP6LJEj9JC7rovlFup7XXfjRFk-qBUEmnqztTOreihVkBlON-dfldF9QFzAri6/s1600-h/ColorSwatchWeb%5B4%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="ColorSwatchWeb" alt="ColorSwatchWeb" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibxTEK3wXAaZZH6tuTKdVwKrocV_OgScwbweTLKzYrtGPwFOY3QOIQi5gR1hdZZrSNAGfwMgUr_Dgh0JySPTaWouq0L8vgjQR8JZvAFPCdEEYaiZCixk5Gb_cNlXA0cSnitv05/?imgmax=800" width="596" border="0" height="456" /></a></p> <p>Named Colors (Like Color.Red, Color.HotPink)</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXdv_zQONUy6DAX7meQ8uhweUhoSyM8jwGqrkvEVHANFbgGTnqlpoShZ8utvVA2Sh348hN-PLHIdB9E4_6HuQ7I5BdWdD1T6xFdmXJ1SnKQM6aeAap-7TdL7I_aP-_MbL3xBIs/s1600-h/ColorSwatchNamed%5B8%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="ColorSwatchNamed" alt="ColorSwatchNamed" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNv38t7NH4UC9z2cWZQBR7jIc2Qp1U8pE8lTnGcEk4ZiGAG1bK_Dbv2QK1qWxzvTzTX4nZVS8lcvJL3dU9C9gRpIsgL7bfogfFt8i9y3KBooyg9jq3D6aT8Zp4dDCJTXI4dexF/?imgmax=800" width="596" border="0" height="456" /></a></p> <p>Some colors taken from the local system:<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj0aO6rjUH_CvxOF7PEjc3u7tbCCWgdBrWfW2RmnSxjr06ibiVpKYPja_S2hbsqarmRZPFOSvtHcjsOsdelJxznKxTSAHh5kGykkE8vpFg0BeD-lkrz1STuwdU4fbPNwAzvH-A/s1600-h/ColorSwatchSystem%5B4%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="ColorSwatchSystem" alt="ColorSwatchSystem" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYCxHhi7Ao7ue-_aQwsTHUtY8oHz8jMhPU3ciegEU7DbRMImgB8ub5firYJLyAtB56LTLplYdBcdfYOVoWnaM__FsMIx-LosTkNKhHPG1XXf2kVC0t32c0baWfPtiyoGotP8sU/?imgmax=800" width="596" border="0" height="456" /></a> </p> <p>Colors found in your open document. This is very useful when designing web pages or css schemes. Essentially you are being shown a dynamic palette of colors that are already in use in your current document.<img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="ColorSwatchDocument" alt="ColorSwatchDocument" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNsJx6Ldg6kUioCVCJPvUDLm_QW_GKSyjlMHD51N5iwDxXkYJYgkSpeJXUiMthGW3PVNMO9XSOkD6ayGTXflGg3AXJ8j97i00lJTzjMFR1tmOWphReoGnTSvmQvmpaR5L54e6K/?imgmax=800" width="596" border="0" height="456" /></p> <p>And of course a ‘Favorites’ Tab. Each of the previous pages has a little star button which allows you to add the selected color to your favourites. Multiple palettes can be created and stored here.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaIX8WaPbnEoK8quN1829pZ9c4XgPmLpfQLk-BVvPj_AxIiaHhC-UvhyD0UYP6IJ3STD2Skjib-e_p0_EAhco74K8No81YsJipfYNuKFJW9Y-k7jeTnvOVAHalEhC-77RDPd4t/s1600-h/ColorSwatchFavourites%5B4%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="ColorSwatchFavourites" alt="ColorSwatchFavourites" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinA6TmykUoKO3bmWq_a3O0RyJJgakKYMXMbBlP9QzZkKhRyDv4tRwFdo9tvoJj-VcGGF1-fh64-YLje1vcCnIb9IJq8tF6elg8BulKAdni_nGlsH0RdijkXr2Nndhd3xdriLxA/?imgmax=800" width="596" border="0" height="456" /></a> <br />…And once you have chosen your preferred shade of “Hot Pink” or “Acid Yellow” … Simply click ok and CodeRush will replace your original code, with code representing your chosen color. As usual CodeRush understands the code you’re working with and will happily create C#, Vb.Net and others.</p> <p><strong>[Note: In the beta, this feature is off by default. You’ll need to visit Editor\Painting\Show Color in the DevExpress Options (Ctrl+Shift+Alt+O) and enable this feature in order to use it.]</strong></p> <p>So now you’ll be able to readily identify just what a color looks like, and be able to alter it in a simple and intuitive way :)</p>Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com6tag:blogger.com,1999:blog-5797192.post-64255749844904148242010-04-19T15:57:00.001+01:002010-04-19T15:57:26.822+01:00My CodeRush Shortcuts<p>After being asked to provide a post detailing on the additional shortcuts I configure for CodeRush after installation, I came up with the following.</p> <p>I’ll try to keep this post up to date as I find </p> <ul> <li>F2 – Refactor(Rename) </li> <li>Alt+` - CodeRushTrainingWindowToggle </li> <li>Alt+1 - Refactor </li> <li>Alt+2 – Navigate <ul> <li>I disable some Navigations (DevExpress\Options ... Editor\Navigation\Catalog) which I personally never use via this Navigate menu: <ul> <li>[First/Last/Prev/Next] Enum Element </li> <li>[First/Last/Prev/Next] Member </li> <li>[First/Last/Prev/Next] Statement </li> <li>Parent </li> <li>Parent Member </li> <li>Parent Type </li> <li>[Next / Previous] Reference </li> </ul> </li> </ul> </li> <li>Alt+Q - QuickNav </li> <li>Ctrl+M – QuickNav(AllTypes, AllMembers, AllVisibilities, CurrentSolution) <a href="http://rorybecker.blogspot.com/2010/02/enhance-quicknav-coderush-or-coderush.html" target="_blank">Explanation</a> </li> <li>Ctrl+T – QuickNav(AllTypes,, AllVisibilities, CurrentSolution) - <a href="http://rorybecker.blogspot.com/2010/02/enhance-quicknav-coderush-or-coderush.html" target="_blank">Explanation</a> </li> <li>Alt+Up - MoveCodeUp [requires <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/DX_MoveCode" target="_blank">DX_MoveCode</a>] **</li> <li>Alt+Down - MoveCodeDown [requires <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/DX_MoveCode" target="_blank">DX_MoveCode</a>] **</li> <li>Alt+Left - MoveCodeLeft [requires <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/DX_MoveCode" target="_blank">DX_MoveCode</a>] **</li> <li>Alt+Right – MoveCodeRight [requires <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/DX_MoveCode" target="_blank">DX_MoveCode</a>] **</li> <li>F12 – NavigateToDefinition [requires <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/CR_NavigateToDefinition" target="_blank">CR_NavigateToDefinition</a>] </li> </ul> <p>In cases where indicated shortcut involves brackets, the content of the brackets is to be placed in the parameters box rather than in the command box.</p> <p>** Note: I have, as yet, not been able to find a better set of keys that this. I realise that these keys are used by other CodeRush functionality. Therefore I recommend placing these bindings in a folder of their own and disabling this folder. You can then switch between the CodeRush set of functionality and that provided by the DX_MoveCode plugin.</p> <p>It is my intention to develop a plugin to allow me to toggle between these 2 sets of functionality by enabling and disabling these folders on the fly. A keyboard scheme switcher or sorts. :)</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com2tag:blogger.com,1999:blog-5797192.post-39831117804946912412010-03-29T11:09:00.001+01:002010-03-29T11:09:06.362+01:00New CodeRush Plugin: CR_RemoveRegions<p> <br />Not much to say here other than that this plugin was inspired, nay requested, by Mr <a href="http://twitter.com/JayRWren" target="_blank">@JayRWren</a></p> <p>Place your caret on a region and invoke this like refactoring and *<strong>all*</strong> regions in the current file will be removed. </p> <p>Personally I like regions. I feel that when used judiciously, they add to code in the same way as comments. Obviously they can be abused, but that’s the same with any feature.</p> <p>In any case… Jay requested it so I felt it only reasonable to provide him with this little plugin. Especially since it only took me about 20 minutes including time to make some coffee. :) </p> <p>So here you are… <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/CR_RemoveRegions" target="_blank">CR_RemoveRegions</a>  Enjoy. </p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com0tag:blogger.com,1999:blog-5797192.post-31753146562689938212010-03-16T13:15:00.001+00:002010-03-16T15:19:02.993+00:00New CodeRush Plugin: DX_DirectOptions<p> <br />This is a very simple plugin that I developed, like most of <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1XNCLRk-IyZK-I5GL75rQognmYBvAFoHfcWP4snSswjCJ6mO7kRqtWDHEGvipNP8Sp6MwCKm8nqFkbCWoyttcqopyUb0IxTjRL-7vyef4tKp6-MNXJkV4eswGialspwpStPP/s1600-h/DX_DirectOptions%5B5%5D.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="DX_DirectOptions" border="0" alt="DX_DirectOptions" align="right" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij6upNEU5_xaoIu4zh_I30lkZMQmWFTD8bc4b0ui7IDfh13OiRVcShQOsxTpODylFkHUrLVLYhS-Sdyz4EzRiFcABHcrUeuAxQ8IQ5hF-zNTV54LHWga3J7mpZfSKqnAtbRlzv/?imgmax=800" width="236" height="320" /></a>my plugins, to help me save some time. In this case it’s a very small amount of time.</p> <p>In 90%+ of all cases when I’m loading the CodeRush options screen, I want to use either the “<strong>Templates</strong>” or the “<strong>Shortcuts</strong>” pages.</p> <p>Therefore I have created a plugin which does nothing more than provide actions and menu options to launch each of these directly.</p> <p>Simply <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/InstallInstructions" target="_blank">install the plugin in the usual way</a> and then restart either the DXCore or Visual studio.</p> <p>When the restart is complete, you should have 2 additional menu options in your DevExpress menu.</p> <p><em>[Note: The “<strong>Templates Options</strong>” menu item will only be present if you have the full CodeRush, or a trial of same, installed.]</em></p> <p>Additionally these actions exist in their own right allowing you to <a href="http://rorybecker.blogspot.com/2009/08/how-to-bind-key-in-coderush.html" target="_blank">bind a key</a> to them if you want to. Their names are “<strong>ShowTemplateOptions</strong>” and “<strong>ShowShortcutOptions</strong>” respectively.</p> <p><em>[As above: If you only have CodeRush Xpress installed, then the “<strong>ShowTemplateOptions</strong>” action will not have registered itself and will not be available.]</em></p> <p></p> <p></p> <p></p> <p>This plugin still loads the other options pages, but will ensure that the page you indicated is the one selected.</p> <p>For more details, see the <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/DX_DirectOptions" target="_blank">DX_DirectOptions’ wiki page</a></p> <p><strong>Update: <br /></strong>I'm considering placing these entries on their own submenu. I can envisage a scenario where other options pages get nominated for this and the list of entries on the DevExpress menu gets a bit overwhelming. I would supply an options page myself for picking which of these might show up in the menu.</p> <p>Also It’s been suggested that these menu options should perhaps have their own Accelerator keys</p> <p>Thoughts?</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com6tag:blogger.com,1999:blog-5797192.post-36192807074079705982010-03-11T12:15:00.001+00:002010-03-11T12:19:21.964+00:00New Plugin: DX_GuidGen<p> <br />I couldn’t find a StringProvider in CodeRush that would output a new Guid. So I built one :)</p> <p>It’s a pretty simple plugin but I put up <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/DX_GuidGen" target="_blank">a wiki page</a> anyway and you can <a href="http://www.rorybecker.me.uk/DevExpress/Plugins/Community/DX_GuidGen/" target="_blank">download it from here</a>. <br /> <br />Yeah I know…. There are many ways to produce this same behaviour, but I liked the idea of writing another simple StringProvider, because it allowed me time to additionally create the <a href="http://rorybecker.blogspot.com/2010/03/yet-more-designer-free-coderush-plugins.html" target="_blank">‘NewStringProvider’ CodeRush template</a> I recently added to my <a href="http://rorybecker.me.uk/DevExpress/Templates/Plugin%20Templates.zip" target="_blank">plugin templates</a>.</p> <p>Enjoy :)</p> <p>[Note: I firmly believe that having taken the time to create this, and post it up on the web in this way, that I will find out it actually duplicates some CodeRush functionality in about 2 minutes from now.]</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com1tag:blogger.com,1999:blog-5797192.post-2562897335503745872010-03-11T12:09:00.001+00:002010-03-11T12:09:26.315+00:00Yet More Designer Free CodeRush Plugins<p> <br />Yup I have updated my <a href="http://rorybecker.me.uk/DevExpress/Templates/Plugin%20Templates.zip" target="_blank">Plugin Templates</a> (Originally <a href="http://rorybecker.blogspot.com/2010/03/designer-free-coderush-plugins-new.html" target="_blank">started here</a> and <a href="http://rorybecker.blogspot.com/2010/03/more-designer-free-coderush-plugins.html" target="_blank">continued here</a>) to include a further 2 templates:</p> <ul> <li>NewStringProvider</li> <li>NewTextCommand</li> </ul> <p>Again I have provided these in both C# and VB.Net so if you can find any flaws, or have ideas for improvements you’d like to see made. Just email me … <a href="mailto:RoryBecker@gmail.com">RoryBecker@gmail.com</a> and I’ll see what I can do :)</p> <p>Plugin templates are <a href="http://rorybecker.me.uk/DevExpress/Templates/Plugin%20Templates.zip" target="_blank">available here</a>.</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com0tag:blogger.com,1999:blog-5797192.post-10255610134664389372010-03-10T00:20:00.001+00:002010-03-10T14:06:31.046+00:00More Designer Free CodeRush Plugins<p> <br /><strong>[Update: I am now receiving help (from </strong><a href="http://twitter.com/surekill" target="_blank"><strong>@surekill</strong></a><strong>) for my chronically poor VB.Net –> C# conversions :D (Personally I blame the late nights). These templates now suck less :)]</strong> </p> <p>A couple of days ago (Erm I think) I <a href="http://rorybecker.blogspot.com/2010/03/designer-free-coderush-plugins-new.html" target="_blank">posted here</a> on how to use <a href="http://rorybecker.me.uk/DevExpress/Templates/Plugin%20Templates.zip" target="_blank">these new templates</a> ….</p> <ul> <li>NewAction<Space> </li> <li>NewRefactoring<Space> </li> <li>NewCodeProvider<Space> </li> <li>NewIssue<Space> </li> </ul> <p>… to kickstart the building of new plugins for the DXCore.</p> <p>Well since then I’ve added 2 additional templates to those already provided</p> <p>Now you can also call upon…</p> <ul> <li>NewNavigationProvider<Space> </li> <li>NewSmartTagMenu<Space> </li> </ul> <p>The first of these produces code which will create items for the CodeRush “Jump To” menu.</p> <p>The second one gives you code to produce your own menus (Like ‘Refactor’, ‘Code’ and ‘Jump To’)</p> <p>The zip file which contained my previously exported templates now includes these 2 new ones… So feel free to <a href="http://rorybecker.me.uk/DevExpress/Templates/Plugin%20Templates.zip" target="_blank">download again</a>, import them and get cracking on some new plugins :)</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com0tag:blogger.com,1999:blog-5797192.post-39996107315645484942010-03-09T10:19:00.001+00:002010-03-10T00:26:03.392+00:00New plugin: CR_NavigateToDefinition<p><strong><em>[CardsOnTable:I did not write this plugin. It was written by Jorge Rowies. Thanks so much Jorge. My life, at least, is now much easier]</em></strong></p> <p>I know what you’re thinking…. You’re thinking “<strong>Why the **** do I need a plugin for that?</strong>”… You’re thinking “<strong>Studio already does that!!</strong>”. </p> <p align="center">Please just bear with me… All will become clear[er]</p> <p>So for those who aren’t already at this point let’s spin back a bit first. </p> <p><strong>What does this plugin do?</strong></p> <p>Well this plugin will navigate from a type or member to the declaration of that type or member. Which is to say it will find the source code of that element and position your caret on it.</p> <p><strong>Why do I need this plugin?</strong></p> <p>Well you might not. this plugin is built to serve an edge case scenario that might not apply to you.</p> <p>Visual studio already has a function “Goto Definition” which appears to serve the same purpose as this plugin. </p> <p><strong>Visual Studio Limitations</strong></p> <p>Visual studio is capable of finding the source you are looking for if the source you are looking for is…</p> <ul> <li>…in the same project as that from which you start. </li> <li>…in a project referenced (only a project reference will do) from the project from which you start. </li> </ul> <p>If you use file references then you are normally out of luck.</p> <p><strong>Why would I use File references if I have the source?</strong></p> <p>Well your reasons may vary…  I myself have 3 reasons:</p> <ol> <li>Historically (VS2002, VS2003) had some file locking bugs which appeared to lock the produced binaries when intellisense accessed them which would prevent a rebuild until VS was restarted. (This was the reason we switched to File references only in the first place. It probably no longer applies.) </li> <li>For performance reasons it can be useful to be able to carve up your solution into multiple sub-solutions in order to work on a smaller section of the problem you are assigned to. Using File references allows you to do this quickly and easily as you are already referencing the binary versions of everything. (I have not had to do this in a while because CodeRush’s performance is really that good. But back in the day I had very poor hardware and CodeRush has not always been as performant (Damn it! It’s my blog and I say that ‘Performant’ is a perfectly valid word) as it is now. </li> <li>We have an external build process which builds reference versions of our dlls etc under known conditions. These are the files that ultimately go into out installers and therefore it makes sense that these are the versions of the files that are actually referenced by the various projects in a solution. </li> </ol> <p><strong>Other uses</strong></p> <p>So imagine that you’re coding against a 3rd party open source library. (Could be ASP.MVC. Could be Log4Net could be anything really.) You are referencing their binary because frankly you don’t see the value in trying to build their source as well as your own, but it’s comforting to  have it there in case you need it.</p> <p>Now suddenly you come across a need to understand something about it’s internals. You have 2 choices:</p> <ul> <li>Load the OS solution in a new copy of studio </li> <li>Add the OS solution’s project’s to your existing copy of studio </li> </ul> <p>The first of these is the simplest, but you now have to navigate through the OS solution as a separate entity which has no connection to your own project. Thee is no easy way to navigate between the OS solution and your own.</p> <p>Instead consider adding their solution’s projects to your own. In some cases this is madness as they will have 15 or more projects and things can get out of hand very quickly. However in some cases like ASP.MVC or Log4Net, there are few projects in the OS solution and these can be added very quickly.</p> <p>Normally this would not have provided any advantage. You would ask VS for the definition of ‘Controller’ and would be greeted with a wonderful view of the Object browser. This will of course give you a view of what members the ‘Controller’ has, but would do nothing for helping you learn how it worked… </p> <p>With CR_NavigateToDefinition in place, you can now jump directly from a usage of ‘Controller’ to it’s actual definition in it’s own project and you didn’t have to alter any of your own references to do it.</p> <p>If this plugin interests you you can find <a href="http://code.google.com/p/dxcorecommunityplugins/wiki/CR_NavigateToDefinition" target="_blank">further details here</a></p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com0tag:blogger.com,1999:blog-5797192.post-69762022553453794602010-03-08T13:58:00.001+00:002010-03-08T14:05:05.964+00:00RedGate – Conducting ‘ANTS 6’ UX Testing<p> <br />I have been asked by <a href="http://www.red-gate.com/" target="_blank">RedGate</a> (Very clever people who bring your <a href="http://www.red-gate.com/products/SQL_Compare/index.htm" target="_blank">SQL Compare</a>, <a href="http://www.red-gate.com/products/reflector/index.htm" target="_blank">Reflector</a> and others) to see if any of you might be interested in helping out testing their upcoming Version 6 of <a href="http://www.red-gate.com/products/ants_performance_profiler/index.htm" target="_blank">ANTS Performance Profiler</a>.</p> <p>There are a few requirements:</p> <ul> <li>You must be .NET Developers (who use either C# or Visual Basic .NET) </li> <li>You must be using Windows Vista or Windows 7. </li> <li>The application you are working on is either:</li> <ul> <li>Reasonably File I/O bound (i.e. lots of reading and writing from disk)  </li> <ul> <li><i>and/or</i></li> </ul> <li>The .NET application makes use of SQL Server but it must <b>NOT </b>be SQL Server Express. You must also be using a local instance of SQL Server (i.e. the instance must be on the same computer as the process being profiled). </li> </ul> <li>You are not using the Compact Framework (very unlikely but you never know)</li> </ul> <p>The session is run remotely, only lasts 1hr and you only have to share your screen – RedGate wouldn’t have any control of your computer. </p> <p>If this interests you in any way, email me (<a href="mailto:rorybecker@gmail.com">rorybecker@gmail.com</a>) with a subject line of “ANTS 6 UX Testing”, and I’ll see it gets to the right people.</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com0tag:blogger.com,1999:blog-5797192.post-22740279516010331322010-03-07T22:52:00.001+00:002010-06-17T16:00:05.997+01:00Designer Free CodeRush Plugins – The new CodeRush plugin Quick Start<p>Explaining how to start a new CodeRush plugin can be a little complex.</p> <p>So I’ve knocked up a few CodeRush templates that should make it a lot easier :)</p> <p>Step 1 - Import these <a href="http://rorybecker.me.uk/DevExpress/Templates/Plugin%20Templates.zip">Plugin Templates</a> into your copy of CodeRush. </p> <p>(DevExpress\Options … Editor\Templates … Right-click Templates … “Import Templates…”)</p> <p>Step 2 - Create a new DXCore Plugin project via the “New Project” dialog </p> <p>Step 3 - Activate any one of the following templates inside your plugin class.</p> <ul> <li>NewAction<Space> </li> <li>NewRefactoring<Space> </li> <li>NewCodeProvider<Space> </li> <li>NewIssue<Space> </li> </ul> <p>You should now have a “CreateMyX” method which….</p> <ul> <li>Creates the relevant component </li> <li>Adds it to the components collection</li> <li>Sets up the minimal mandatory properties. </li> <li>Creates the relevant event handlers. </li> <li>Attaches said event handlers to the component in question. </li> </ul> <p>For example, one of the more simplistic things you might want to do is to create a new custom Action to <a href="http://rorybecker.blogspot.com/2009/08/how-to-bind-key-in-coderush.html" target="_blank">Bind to a Key</a>.</p> <p>Here is the Default DXCore plugin as written in CS…</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgicOK4YZ7WbNLQRNPq95qYISkAwTeptbXXjHiQdYyFcJAEU4YwnjmFaDhCxpzGaFRSg14be3Pzrkx8K1sP9i8VUnhmflooRbOogLwg_ya3mpAtRf5LEwzuaCYzbl9U_KiBgc4k/s1600-h/DefaultCSPlugin%5B9%5D.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="DefaultCSPlugin" border="0" alt="DefaultCSPlugin" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI8YvZycIrgnXmd2Jd3U0KX6AdYnu9dWQwEE77Kl85a3Ahae4bYjzVRHP_FAWdjXllkDDn9w4dLQSz6BS0smaKovzgj55jXf-hnPkWS1NbM2KD0QyppGZ3R4jNOLamYHpv2u_M/?imgmax=800" width="520" height="360" /></a> </p> <p>And here is what you get after executing “NewAction<Space>”  <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3yV5QFGZu8czocebRLfyPKqKFUY89MQv5Pw26ZcT4SIE8Wgh52oktpnqAtSHsaN4RiLv0GrqHHHJWYFi-phwBVUoD5OFeGarqJZct-1G5WLl_KRbLDxchqRtd0JDlYbkfVDPK/s1600-h/CSActionPlugin%5B4%5D.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CSActionPlugin" border="0" alt="CSActionPlugin" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH8oZuERYKl1CIMDOM5tsK0_1szOCvNNu8u8WAAl3hWHtmWfqVquPao59lHS9wwR4IxcYz4Ol8DZbbj_7EQFRVfaMuSi5OfxAqfsAVf_jcsjfRsmFX4Djq-GDxO6dWwKybiO1K/?imgmax=800" width="977" height="523" /></a></p> <p>After a little customization…  <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM-efKths1WRWCpFFLXwF4hRLIK7jkB2_UK6aCQoccqqC3A2p6TeFUMAAZ6GOOq988RSqyJV9SYt2Vz-lzZMUoirg3QBsV-3sgVeYP1tDJYHI5hhA_vqvp7b1wL6N5dro6ON-X/s1600-h/CSHelloWorldPlugin%5B4%5D.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CSHelloWorldPlugin" border="0" alt="CSHelloWorldPlugin" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8Xy0VpaiCzKkcAIPFogYTM6HMK1M8mQXL2ZYrcfrEg736UDlDNLqF3W0IuirLfGSbFWYoXatTRsOUql3bEVUktc4AkMKUqYp54hi5Ok7OHTeBj-zeo5uHWVU7bKVWmcRpng_Z/?imgmax=800" width="1014" height="527" /></a> </p> <p>The only think you need to do .. Is to call your new “CreateMyX” method from inside the “InitializePlugIn” method</p> <p>You have a completely functional Hello World action ready to be <a href="http://rorybecker.blogspot.com/2009/08/how-to-bind-key-in-coderush.html" target="_blank">bound to the key of your choice</a></p> <p>Now you have to admit … That makes things a lot simpler… </p> <p>I’ve even linked a few sections of code together with some CodeRush «Field» and «TypeLink» tokens in order to make customizing of that default code a little easier.</p> <p>So if you’re interested in making plugins…. This should make things a little better.</p> <p>Feel free to leave me some feedback… I’ve done my best to convert the original VB.Net versions to C#…. So it’s possible there were some issues in translation… But that’s what you get for picking such a strange language (I mean C# people… VB.Net FTW! :D)</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com2tag:blogger.com,1999:blog-5797192.post-45118881174794947752010-02-25T15:33:00.001+00:002010-02-25T15:34:18.617+00:00Improve the Speed of CodeRush: EdgeCase Scenario<p>I have *one* solution on *one* machine on which CodeRush runs slow.</p> <p>Dog slow… </p> <p>Lame-Dog slow</p> <p>So slow it’s painful and I was forced to unload (not uninstall … don’t be daft) CodeRush. <br />This is also painful, but in my view there was simply no alternative. </p> <blockquote> <p>Seriously I’ll happily explain if it’s really needed, but no… Resharper is not, for me, a valid alternative. </p> </blockquote> <p>This has been the case for nearly 2 weeks. This problem as I say, affects only a single solution and not all files in it… But enough of them to cause me some serious headaches.</p> <p><strong>Yesterday I cured it. [Cue Choir of angels… lights from heaven … General merriment from all]</strong></p> <p>How did I do this.. Well to cut an already long story short…</p> <p align="center"><strong>I *un*installed StyleCop 4.3.3.0, restarted Studio and loaded my solution</strong></p> <p align="left">The effect was immediate… like a bolt of lightning turning night into day. however unlike a bolt of lightning, the effect was permanent. This offending solution has now been made into CodeRush’s whipping boy and frankly my entire week is looking up :D</p> <p align="left">I have handed support all the information I can find which might help eliminate this issue and I’m sure they’ll soon find out what’s going on…</p> <p align="left">In the mean time I’m writing this post in the hopes that others who might have tried CodeRush and found it to be slow (I’m sure there aren’t that many :D) might find this or be pointed at it by colleagues and perhaps give it another spin with this in mind.</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com2tag:blogger.com,1999:blog-5797192.post-65827659920542968932010-02-18T14:01:00.002+00:002010-05-06T19:16:56.353+01:00Enhance QuickNav (CodeRush or CodeRush Xpress)<p> <span style="font-style: italic;">Update: DevExpress have removed the QuickNav feature from CodeRush Xpress 10.1 and higher (when used under VS2010) at the request of Microsoft. It is believed that this is because it overlaps in functionality with one of the VS2010's new features. Since Microsoft licensed CodeRush Xpress on behalf from DevExpress for all users of VS2008 and VS2010 (Pro and above), this is not completely unreasonable. This feature remains in the </span><a style="font-style: italic;" href="http://devexpress.com/coderush">Pro version of CodeRush</a><br /></p><p><br />QuickNav (Ctrl+Shift+Q) is an often overlooked but useful tool in the CodeRush (and Xpress) box.</p> <p>With it you can search through your code pretty quickly… provided, that is, you configure it for the type of search you’re trying to do.</p> <p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixQBMUuwXCQLQy3E7T-nfdDRVcfBbX0R4pgGfAFhq3oM8IwOumrXXntUDqCjZQu5DX-5NAILW-GXxAkvxB8xvBPYepClmB5yA1vBxbmXJuYf2_vOLzdq8pVTrv3wQbhi98Ptgl/s1600-h/QuickNavigation%5B5%5D.png"><img style="border: 0px none; display: block; float: none; margin-left: auto; margin-right: auto;" title="QuickNavigation" alt="QuickNavigation" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmFVbvQxp6_5old3L37SwgKe3daGsjVNjtmf1lC7MEJGUkhvAMwcwMeSckQqQmIBpnJTeqojU9MPf0UfoI5fEHlnml_u0ruoDJ4_EOPuLYKvkPd71F_LBJw5Su1LLS0vYEmmHg/?imgmax=800" border="0" height="312" width="553" /></a> </p> <p>I don’t know about you but I often go kinda snow blind looking at all those icons for “Public property”, “Friend Method”, “Private Class”</p> <p>However what very few people seem to know, is that you can preconfigure QuickNav to behave differently based on how you launch it.</p> <p>That’s right you can create your own shortcuts (keystrokes) to launch QuickNav preconfigured for a specific type of search.</p> <p>By adding just a couple of keystrokes, QuickNav can become IMHO a much more useful facility.</p> <p>The 2 shortcuts I’m going to suggest I’m going to call “Find Types in Solution” and “Find Types and Members in File”. These are more descriptions of what they will do, rather than the names they will be given.</p> <p>To add these shortcuts, follow the instructions in my previous post <a href="http://rorybecker.blogspot.com/2009/08/how-to-bind-key-in-coderush.html">Binding a key in CodeRush</a> and enter the information below in the appropriate boxes. At this point you will have added 2 very useful tools to your box o’ tricks</p> <p><strong>Find Types in Solution <br /></strong>Bind to : <strong>Suggest Ctrl+T</strong> <br />Command: <strong>QuickNav</strong> <br />Params: <b>AllTypes, , AllVisibilities, CurrentSolution</b></p> <p><strong>Find Types and Members in CurrentFile <br /></strong>Bind to : <strong>Suggest Ctrl+M </strong> <br />Command: <strong>QuickNav</strong> <br />Params: <b>AllTypes, AllMembers, AllVisibilities, CurrentFile</b></p> <p>These bindings should allow you to navigate your code even easier than before :)</p> <p>For reference, I will now quote from an <a href="http://community.devexpress.com/forums/p/66380/225556.aspx#225556" target="_blank">early forum post by AlexS</a> in which he details the possible parameters for the QuickNav command</p> <p>------------------------------------------------------------- <br />There are 4 parameters for the QuickNav action: </p> <div><strong>TypeFilter -- </strong>defines default type filter for the Quick Navigation. <br />Use the following values to setup default type filter: Classes, Interfaces, Structs, Enums, Delegates, AllTypes.</div> <div>Use "and" keyword to combine filters together like this: Classes and Structs</div> <div><strong>MemberFilter -- </strong>defines default member filter for the Quick Navigation. <br />Use the following values to setup default member filter: Methods, Properties, Events, Fields, LocalsAndParams, AllMembers.</div> <div>Use "and" keyword to combine filters together like this: Methods and Properties. <br /><strong></strong></div> <div><strong>AccessFilter --</strong> defines default access filter for the Quick Navigation. <br />Use the following values to setup default access filter: Private, Protected, Internal, ProtectedInternal, Public, AllVisibilities.</div> <div>Use "and" keyword to combine filters together like this: Private and Protected.</div> <div><strong>LocationFilter -- </strong>defines default location filter for the Quick Navigation. <br />Use the following values to setup default location filter: AllFiles, CurrentSolution, CurrentProject, CurrentNamespace, CurrentFile.</div> <div>You can not use "and" keyword here to combine filters together.</div> <div> </div> <div>Here are examples of parameters usage: <br /> <br />AllTypes, AllMembers, AllVisibilities, CurrentFile <br />AllTypes, AllMembers, AllVisibilities, AllFiles <br />AllTypes, AllMembers, Public and Protected, CurrentFile <br />-------------------------------------------------------------</div>Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com5tag:blogger.com,1999:blog-5797192.post-74059601800046033152009-12-16T13:21:00.001+00:002009-12-16T13:21:06.742+00:00DXCore Docs<p>People keep asking me where to start when learning to build plugins… specifically they ask me where the documentation is..</p> <p>At this point I’m typically at a loss, because the docs (such as they are at this point) exist as collection of disparate articles, posts and references across a few locations:</p> <ul> <li><a href="https://www.devexpress.com/support/center/">The DX Support Center</a></li> <li><a href="http://community.devexpress.com/forums/default.aspx?GroupID=18">The DX IDE Tools Forums</a></li> <li>My Blog </li> <li>Intellisense</li> </ul> <p>So in an effort to centralize some answers to some of the more common DXCore related questions, I'm starting to put together some task based documentation at <a href="http://sites.google.com/site/dxcoredocs/">http://sites.google.com/site/dxcoredocs/</a> <br /> <br />It is <strong>not intended </strong>that this will turn into an API reference ... That will ultimately be down <br />to DX.</p> <p>However I'm being asked certain task based questions often enough, that it's <br />becoming worth my while to create some prebuilt answers of my own that I can point people at… and my blog isn’t the easiest place to browse through :) <br /></p> <p>Initially some of the content will redirect to relevant articles on my blog or posts in the Forums but with luck I will eventually find time to rewrite some of this content direct in DXCore Docs. </p> <p>At the very least, new content will be presented via DXCore Docs in an effort to make it easier to browse and digest.</p> <p>Also note that similar CodeRush based information is available at a similar site:<a title="http://sites.google.com/site/coderushdocs" href="http://sites.google.com/site/coderushdocs">http://sites.google.com/site/coderushdocs</a></p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com1tag:blogger.com,1999:blog-5797192.post-89175480731850832972009-11-04T00:01:00.001+00:002009-11-04T00:50:04.582+00:00CodeRush Scenarios<p> <br />This is a simple post to point out some scenarios in which a tool like CodeRush can be invaluable.</p> <p><strong>Refactoring</strong></p> <p><strong>Bashing out a quick algorithm. </strong></p> <p>I have no fear. I can hack out a working solution pretty quickly when I’m called upon to do so, but when done this way, it’s typically not very pretty. However, with a few keystrokes I can extract component parts of my ‘rough and ready’ algorithm to other methods, allowing me to sensibly reuse code which I might otherwise have copied and pasted and then had to maintain independently. </p> <p><strong>Tidy that Code. </strong></p> <p>The code I wrote last year is ugly. Hell, the code I wrote last week is ugly, when compared with what I wrote yesterday or today. All code can stand to be improved, but it’s rare that you <strong>want</strong> to go back and actually improve it because that code you wrote yesterday, is yesterday’s news. You don’t want to have to reconsider your old code because its time consuming and boring. Well some simple Refactorings, like ‘<strong>Rename</strong>’, ‘<strong>Extract Local</strong>’ and ‘<strong>Inline Temp</strong>’, really do help speed the process to the point where you can feel your code quality rising by the second, which can really enthuse you to do more.</p> <p><strong>Spreken zie code? </strong></p> <p>Ok… I don’t really speak any foreign languages but I do know what it’s like to have to interpret a foreign codebase. It’s hard. you rarely have the ear of someone whose uses the code, much less the moron who created it in the first place. With CodeRush, I can glide around the codebase renaming types, methods and variables as I see fit… Morphing the codebase ever closer to that illusive “Readable code”. I can do this completely safe in the knowledge that I am not altering the way the code works, just the way it reads.</p> <p><strong>Efficient Code Review.</strong> </p> <p>Code-Reviews can take up a lot of time. The important part, is not tidying up the code, but imparting knowledge of why the suggestions are real improvements. You want to spend as much of your time “<strong>teaching the man to fish</strong>” rather than “<strong>throwing fish in the his general direction hoping he’ll catch one</strong>”. After all… if you <strong>“teach a man to code *well*” </strong>you wont have to <strong>“code well for him”.</strong> CodeRush helps you spend less of your time improving or correcting the code being reviewed, so that you can spend more of your time either explaining why the improvements are so good or simply get on with improving more code. Also, using CodeRush (even the Xpress version) has an added benefit that in addition to demonstrating good code, you are demonstrating the use of good coding tools. </p> <p><strong></strong><strong>CodeProviders</strong></p> <p><strong>API-By-Example. </strong></p> <p>API-By-Example (also known as consume-first development) is a process where in you call a non-existent method… in a way you imagine that you would like to be able to call it… passing parameters in a way you see as sensible to do … and using any return value it produced in a way you see as reasonable… all without ever having actually coded the signature, or indeed any of the implementation, of the method in question. It’s like a big ol’ game of ‘Let’s pretend’. except that when you’re finished doing all of that, you get to hit a single key and generate this method’s signature exactly according to it’s usage.</p> <p>You have just designed your first API-By-Example. Once generated, the method’s own signature can be used a <em>partial</em> spec against which a implementation can be built, safe in the knowledge that the call already makes sense in situé. </p> <p>This sort of technique is great for creating library or framework code because you first define how you'd like to use it and then move on from there to the implementation. You arrive at a library which is much more usable because it was designed with it's usage in mind from the outset. <br /></p> <p><strong>The CodeRush SmartTag <br /></strong>The CodeRush SmartTag contains both Refactorings and CodeProviders specific to the context in which you find yourself.</p> <p>My personal favourites are:</p> <ul> <li>Refactorings <ul> <li>Rename </li> <li>Extract Local </li> <li>Extract Method </li> <li>Extract Property </li> <li>Inline Temp </li> </ul> </li> <li>Code Providers <ul> <li>Declare Local </li> <li>Declare Method (With parameters all in place based on your usage.) </li> <li>Declare Property </li> <li>Declare Field With Initializer </li> </ul> </li> </ul> <p>..but there are many more. :)</p> <p>Which ones do you use most and in what situations ?</p> <p>------------------------------------------------------------------------------------------- <br />For more details on CodeRush and other DevExpress products, <a href="http://www.facebook.com/pages/DevExpress/101685002356?ref=Rory">check out their Facebook page</a> <br />-------------------------------------------------------------------------------------------</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com1tag:blogger.com,1999:blog-5797192.post-3184590988144539912009-08-26T10:55:00.003+01:002009-10-14T23:02:41.017+01:00CodeRush … Take some Time to Tune.<p> <br />So you’ve just been handed a copy of CodeRush and told that it’s the future.. Whomever told you this, is very insightful and deserves much of your respect :D</p> <p>After installing, the first thing you should do, is to give CodeRush an idea of how you like things done. I have decided to compile this little list of the options that I change and why, in the hopes that this will help ease you into working with your new best friend.</p> <h4>So options… where are they then?</h4> <p>Access to the options screen is granted via the <strong>options</strong> entry on the <strong>DevExpress</strong> menu.</p> <p>If you see no DevExpress menu, then you either don’t have CodeRush installed, or you are running the Xpress version (I think MS asked that it not have the DevExpress menu)</p> <p>If this is the case, you have 2 options…</p> <ul> <li>Suck it up and hit <strong>Ctrl+Shift+Alt+O </strong>and your options should appear. </li> <li>Bust out <strong>RegEdit</strong> and <a href="http://www.coderjournal.com/2009/08/show-coderush-xpress-menu-in-visual-studio/">go to town on your registry</a>. (Note that the latest version is 9.2 not 9.1) </li> </ul> <p>Ok so now you’re into the options screen. Each page (on the left in the tree) is created and dynamically added to this tree by the plugin that it represents. This means that as a plugin developer I can seamlessly add pages to this tree for my own plugin.</p> <p>Additionally some of the options pages are considered <strong>Advanced</strong> or <strong>Expert</strong> rather than the default of <strong>New User. </strong>see the little <strong>Level </strong>dropdown in the bottom left of this screen to alter your current setting. Further, some pages are language specific, so you’ll need to set the <strong>Language</strong> dropdown (a little to the right of the level dropdown) to the language you’re looking to configure.</p> <h4>So what settings do I alter?</h4> <p><strong>Code Style (Editing\Code Style\Identifiers)</strong></p> <p>There are a few pages under <strong>Editing\Code Style </strong>which you should definitely browse through. I generally find the default to be more than satisfactory. However my own personal preferences differ slightly on the <strong>Identifiers</strong> page. I prefer Pascal Case for everything, but will prefix fields with an ‘m’ (for module level). This is purely a readability issue. </p> <p><strong>Organization(Editor\Organization\Member Mover) </strong></p> <p>This relates to the “Move to Region” function under the little icon to the left of each of your method signatures. If clicked, it presents you with a list of regions into which you might wish to move the method in question.</p> <p>This list contains regions that already exist with the current code file. The options page allows you to preconfigure an additional list of regions which will appear in this menu, regardless of whether or not they already exist in the code file. </p> <p>I tend to configure the following regions (each on a separate line)</p> <p>Fields <br /></p> Simple Properties <br />Constructors <br />UI Events <p><strong>Extraction and Generation</strong></p> <p>There are several places in the options where CodeRush gives you the option to specify the location where generated code will appear, relative to your current position. I don’t like having to tell CodeRush where to place generated items <em>each and every time</em>. I’d far rather set up a default. </p> <p>Therefore: <br /><strong>Create Method Stub (Editing\Refactorings\Create Method Stub) <br /></strong>Insert Method: <strong>After source method property.</strong> <br /><strong> <br />Extract Method (Editing\Refactorings\Extract Method) <br /></strong>Insert new methods: <strong>Below the source method or property. <br /></strong><strong> <br />Extract Property(Editing\Refactorings\Extract Method) <br /></strong>Insert new properties:<strong> Below the source method or property. <br /></strong><strong> <br />Property To Method (Editing\Refactorings\Property To Method) <br /></strong>Insert method(s):<strong> After the source property. <br /></strong><strong></strong></p> <p><strong>Decompose Initializer (Editing\Refactorings\Decompose Initializer)</strong> <br />I don’t like an automatic “With block” so I turn this off (VB.Net Only)</p> <p><strong>Early Experience(Editing\Refactorings\Early Experience) <br /></strong><strong> <br />Hell Yeah :D</strong> – The bleeding edge is where it’s at :) but perhaps this does not suit everyone. <br /></p> <p><strong>Encapsulate Field(Editing\Refactorings\Encapsulate Field)</strong> <br />Insert New Property: <strong>Below the field. </strong>(Similar logic to other extractions) <br />When references to the field exist : <strong>Do not Replace anything. <br /> <br /></strong>I use properties for external access to a field. If I’m accessing the property from inside the class it’s a special case rather than the rule.</p> <p><strong>Templates (Editor\Templates) <br /></strong>I have always maintained my own little set of templates which I store in a <strong>Custom </strong>root folder. These need to be imported if I am starting from scratch. I suggest that you place any new Templates you create in a similar “<strong>Custom” </strong>root folder. This makes the export and import of these templates, all the easier. <br /></p> <strong></strong> <p><strong>Shortcuts (IDE\Shortcuts) <br /></strong>I like to place new shortcuts in a <strong>Custom</strong> folder. you’ll see a pattern in several of my choices for common keys. This is because I am already so well trained in the art of <strong>Alt+Tab</strong> <br /> <br />I assign <strong>Alt+` </strong>to <strong>CodeRushTrainingWindowToggle </strong>which allows me easy reach of said window, whenever I Forget something. <br /> <br />I assign <strong>Alt+1</strong> to <strong>Refactor</strong>. </p> <p>I assign <strong>Alt+2</strong> to <strong>Navigate.</strong> I don’t use this as much as I’d like, but I’m learning (We never really stop learning eh?) Not got used to it yet, but I figure it’s the best place for it, given it’s proximity to <strong>Alt+1</strong></p> <p>I assign <strong>F2</strong> to <strong>Refactor</strong> with a parameter of <strong>Rename</strong>. Ironically this is so that I don’t have to learn another shortcut. It is already deeply ingrained within me that I can rename a folder/file in windows explorer with <strong>F2</strong>, so it seemed like a good fit. this particular shortcut is already in CodeRush but is disabled. You can find it in the IDE\Shortcuts options page. In the 'Refactor!\Alternate Bindings' folder.<br /></p> <p> <br /> <br />I guess that’s it for now. I’ll try to keep this post up to date with various changes I make to these settings. I assume there’s someone out there who’ll benefit :)</p>Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com3tag:blogger.com,1999:blog-5797192.post-11619779116729179282009-08-25T15:10:00.001+01:002009-08-25T16:22:56.864+01:00Why do I find CodeRush so indispensable?<p> </p> <p>I recently said “<span class="status-body"><span class="entry-content">CodeRush has become an integral part of my workflow.” <br />…</span></span><span class="status-body"><span class="entry-content">and was asked by <a href="http://twitter.com/Eccra">Braden Powers</a> … “Do you have a blog post or something that explains why??”</span></span></p> <p><span class="status-body"><span class="entry-content">I realized that I didn’t, and so here it is…</span></span></p> <p>It comes down to the fact that I use certain facilities provided by CodeRush so often and without even thinking, that without CodeRush present, I end up spending several seconds staring at the screen wondering why some series of keystrokes isn’t doing what I think it should be.</p> <p>Why should I ever be in such a situation. Well there are a couple of reasons.</p> <ul> <li>Some of my colleagues have PCs that frankly cannot cope with Studio, so their chances of being able to cope with *any* addin are nil :( Using such a PC is sometimes unavoidable. </li> <li>Sometimes I get caught on the hop. Between versions as it were. I have received a link to a beta or daily build of CodeRush and have been caught having already uninstalled my previous version and not yet having installed the new version. At this point it’s amazing how the universe almost always arranges a phone call to distract me… after which I forget that studio doesn’t currently have CodeRush. </li> </ul> <p>So which facilities do I find to be <strong>most useful?</strong> Which ones to I use so often that I honestly forget that they are not a part of studio?</p> <p>The answer is hard to define explicitly without currently being in one of the above scenarios but I will try. </p> <p>Essentially the most used functions for me are those that are accessible from the CodeRush SmartTag menu. The <strong>Refactorings</strong> and the <strong>Code Providers.</strong></p> <p>Now between these 2 categories there are 225 separate functions. Obviously I don’t use all of these on a daily basis. If I were to be presented with the entire list every time I invoked the SmartTag, then I would go absolutely insane and dropkick CodeRush in a heartbeat.</p> <p>CodeRush manages to provide a wonderfully intuitive interface here. Each Refactoring and Code Provider is intelligent enough to know if it is suited to your current context. </p> <ul> <li>The <strong>Rename</strong> refactoring simply isn’t available if your caret is on a language keyword. </li> <li>The <strong>Declare Class </strong>Code Provider isn’t available, unless the element under the caret is not currently declared and could potentially be a class. </li> </ul> <p>This means that my <strong>one keystroke</strong> (I’ve rebound the CodeRush/Refactor key to ALT+1), I’m never presented with more than 5-8 options to pick from. </p> <p>Next add to that, the fact that CodeRush moves the available items up and down on the menu based on your usage of those items. Constantly re-evaluating how far each should sit from the top of the menu. </p> <p>Additionally, If CodeRush feels that there’s only 1 function which makes sense given the current context, then you can elect to have CodeRush not even show you the menu, but to move straight on to performing said function. So there’s even less for you to have to do.</p> <p>ok Enough fluff… Which items do I use so often as to make Studio unusable without them</p> <p>Note this is just my personal list.. CodeRush has much much more and these simply represent those facilities, whose absence actively slows me down.</p> <p>First there are the Refactorings:</p> <ul> <ul> <li>Rename </li> <li>Extract Local </li> <li>Extract Method </li> <li>Extract Property </li> <li>Inline Temp </li> </ul> </ul> <p><strong>I cannot stress enough how useful the above 5 Refactorings are in writing any code.</strong></p> <p>The ability to properly shape a solution as you go is phenomenal. I mean seriously… When you have to nail 2 bits of wood together … Do you use a rock or a proper tool like a hammer?</p> <p>…Then there are the Code Providers</p> <ul> <ul> <li>Declare Local </li> <li>Declare Method <ul> <li>With parameters all in place based on your usage. </li> </ul> </li> <li>Declare Property </li> <li>Declare Field With Initializer <ul> <li>Create a suitably named field of the correct type and assign the parameter to the field. </li> </ul> </li> <li>…and many more </li> </ul> </ul> <p>…all available with a single keystroke (Alt+1 in my case)</p> <p><strong>Prototyping code has never been this easy</strong></p> <p>After this we are on to navigation:</p> <ul> <li>Navigation <ul> <li>TabToNextReference <ul> <li>Place your caret on a variable and hit tab. CodeRush immediately underlines all references to this variable on the page and jumps to the next reference in the sequence. It should be noted that the “sequence” covers <strong>all references in your entire solution</strong> </li> </ul> </li> <li>References Tool Window(Shift F12) <ul> <li>The References tool window collates all references to any variable of your choice in a single location allowing you to seamlessly skip from one to another. </li> </ul> </li> </ul> </li> </ul> <p>I feel I should also add add a quick section on the templating system here. I don’t use these nearly as much as I use the SmartTag facilities but it would be hard to since I’m sometimes hitting the CodeRush/Refactor key what seems like every 30 seconds or so. </p> <p>So some of the template I use more than any others are:</p> <ul> <li>Templates <ul> <li>Property declaration (pi, ps, pd8 etc) <ul> <li>Create properties of various types, with or without backing store, in only  couple of keystrokes. </li> </ul> </li> <li>ReadOnly Property declaration (ri, rs, rd8 etc) <ul> <li>As above but without the setters </li> </ul> </li> <li>Method Declaration (mi, ms, md8) <ul> <li>Same again but with methods. </li> </ul> </li> <li>Create Constructor (cc) <ul> <li>Generates a Constructor which takes various parameters based on your selection of any of the fields supported by the class. </li> </ul> </li> </ul> </li> </ul> <p>Now It should be pointed out that prototyping any class is now insanely easy </p> <blockquote> <p><strong>c<space></strong> – Class is created <br /><strong>vs<space>FirstName</strong> <br /><strong>vs<space>LastName <br />vi<space>Age</strong> <br /><strong>vi<space>GolfPar</strong> <br />4 Fields are now Created <br /><strong>cc<space><Enter> </strong>Constructor created <br />The constructor takes 4 parameters which are used to populate the fields. <br />Oh yeah and Readonly properties have been created to expose your fields. All of this is Totally configurable. </p> </blockquote> <p>The final reason I can’t code without CodeRush is it’s extensibility. When I need something that CodeRush doesn’t have, I use it to create what I need using the DXCore plugin platform. </p> <p>Checkout what others in the community have done with this amazing platform: <a href="http://code.google.com/p/dxcorecommunityplugins/">Seriously check these out</a>.</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com3tag:blogger.com,1999:blog-5797192.post-72042097008534089372009-08-07T15:28:00.001+01:002009-08-10T14:31:49.979+01:00What’s your Windows 7 “Virtual Machine” Strategy?<p>I ask because it’s something I almost overlooked completely.</p> <p>There are many Virtual PC style options on the market but up until now I have been using VPC 2007 SP1 because Its’ a Microsoft product and it’s free. Perhaps not the best strategy, but it worked … And I assumed that it was going to continue to work.</p> <p>I was wrong.</p> <p>I run several VMs under VPC at work and I need them to all continue to work.</p> <p>But when I tried to run VPC2007 SP1 under Windows 7 (admittedly the RC) I was greeted with a dialog which suggested that VPC was not compatible with Win7. </p> <p>“Ok” I thought, so where’s the version that is compatible.  </p> <p>I found this … <a title="http://www.microsoft.com/windows/virtual-pc/download.aspx" href="http://www.microsoft.com/windows/virtual-pc/download.aspx">http://www.microsoft.com/windows/virtual-pc/download.aspx</a> which is the Windows Virtual PC RC install. ( also the XP Mode RC install)</p> <p>On the surface it looks good, but Microsoft seem to have player the same confusing trick they did with Messenger back in the day.</p> <p>This is “Windows Virtual PC” (Win 7 Version) which is not the same as “Microsoft Virtual PC” (VPC 2007 SP1).</p> <p>This <strong>*requires* </strong>AMD or Intel Chip level support (called VT Support on the Intel side) this is non- negotiable.</p> <p>So it’s worth checking your chip to see if it provides VT support. The Intel side can use <a href="http://downloadcenter.intel.com/confirm.aspx?httpDown=http://downloadmirror.intel.com/7838/eng/pidenu21.msi&agr=N&ProductID=1881&DwnldId=7838&strOSs=All&OSFullName=All%20Operating%20Systems&lang=eng" target="_blank">this utility</a>.</p> <p>However my work machine does not support this. </p> <p>I am apparently stuck between the MVPC which runs on Vista and WVPC which runs on Windows 7 but only if you have VT support. At first looks this seems to mean <strong>No VM Support on Windows 7. This is not workable.</strong></p> <p>It seems that, at least for the moment, if you have an older (in some cases not that old) machine, and you require the ability to use a VM, that you’re up a certain creek without a paddle.</p> <p>In my particular case I was lucky enough to have been introduced to <strong><a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> </strong>(<strike>Yes I know you could use VMware, but AFAIK that’s not free and VirtualBox is just as free as Virtual PC.</strike> As indicated in the comments, <a href="http://www.vmware.com/downloads/server/">VMWare Server</a> is apparently Free.)</p> <p>This is a wonderful app produced by Sun which seems to have little to no issues running VHDs created for use with VPC. </p> <p>The one issue I encountered, was that I had to change the default network adapter from "PCnet-Fast III" to "PCnet-PCI II" before my guest OS would recognise the External network and the internet beyond. </p> <p>That done though, everything seems fine, and the last of my Win7 worries have evaporated.</p> <p>I will be installing Win7 RTM on both my home and work machines over the weekend :)</p> Roryhttp://www.blogger.com/profile/01170543848308287619noreply@blogger.com3