in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

This Blog

Syndication

ctodx

Discussions, news and rants from the CTO of Developer Express, Julian M Bucknall

Last minute important installation notes for CodeRush 2.0

If you're doing a fresh install on a machine that never had CodeRush 1.x on it, then you can skip the rest of this message and enjoy your morning coffee and watch the world go by.

If you're installing CodeRush  2.0 on a machine that previously had CodeRush 1.0 installed, follow the steps below to ensure that you get the new 2.0 templates (this is essentially a re-post of information that has appeared in threads on our newsgroups). There is also a six-minute training video that takes you through these steps (click the "Merging Templates" link on the http://www.devexpress.com/CodeRushTraining page).

1. If you've modified existing templates or added your own custom templates, make sure those are inside their own category folder (it's okay to have subfolders inside). If you have not touched the existing templates, then you can skip ahead to step 7.

2. Inside the Templates options page, select the folder that holds your templates, and then right-click this folder.

3. Select "Export Folder..."

4. Give the folder a meaningful name (e.g., "MyBasicTemplates.xml" or "MyCSharpTemplates.xml") and click Save.

5. Repeat steps 2-4 for any additional languages you work in (use the Language combobox at the bottom-left of the options dialog to view templates for other languages).

6. Click OK to close the Options dialog.

7. Exit Visual Studio.

8. Inside Windows Explorer, navigate to this folder:

C:\Documents and Settings\{Profile}\Application Data\CodeRush for VS .NET\1.1\Settings\Editor\Templates

Where {Profile} is the name you logged in as.

9. Inside this Templates folder, create a subfolder and call it "Backups".

10. Move these four files into the newly created Backups folder:

    templates.Basic.bin
    templates.Basic.xml
    templates.CSharp.bin
    templates.CSharp.xml
    templates.CC++.bin
    templates.CC++.xml

Be sure to *move* these files. When CodeRush starts and attempts to load templates, it will look for these files. If not found, CodeRush will load templates from the installation folder (inside C:\Program Files). That's how you will get the new 2.0 templates.

11. Install the latest version of CodeRush if you haven't done so already.

12. Start up Visual Studio. If you skipped ahead to step 7 earlier, you're done. Otherwise, continue on to import your templates....

13. From the DevExpress menu, select "Options...".

14. In the tree view on the left, navigate to this folder:

    Editor

15. Select the "Templates" options page.

16. Right-click the templates shortcut list and choose "Import Templates...".

17. Select the files you exported in steps 2-4 and click Open.

18. Repeat steps 16-17 for each language file exported earlier.

19. Click OK on the Options dialog to close it.

Published Jun 17 2006, 03:05 PM by Julian M Bucknall

Comments

 

Roaan Vos said:

You guys are brilliant.
Its a Saturday and I mailed support with my problem that the new templates don't work. I only expected an answer on Monday, and lo and behold, my RSS reader tells me Developer Express has a new item "Last minute important installation...".
I do what you say and wham, my templates work.
One very happy customer :D
June 17, 2006 1:34 PM
 

Julian M Bucknall said:

Roaan

What? You think we have weekends off?

<g>

Cheers, Julian
June 17, 2006 3:49 PM
 

Jonathan Allen said:

If I already own Refactor, is their a discount for getting CodeRush? I'm
asking because I don't see it listed separately.


June 17, 2006 6:58 PM
 

ISerializable - Roy Osherove's Blog said:

Through Kim's blog, I've found out that CodeRush and Refactor 2.0 have finally been released. You can...
June 18, 2006 4:37 AM
 

ISerializable - Roy Osherove's Blog said:

Through Kim's blog, I've found out that CodeRush and Refactor 2.0 have finally been released. You can...
June 18, 2006 4:55 AM
 

Aaron said:

Also, if you have problems with intellisense (jic you're still using it) expanding to soon with the new dynamic templates (like w/ fl. for example, or s=) go to your Tools>Options>TextEditor>C#>Intellisense and remove ? . and = from the copmletion list
June 18, 2006 9:49 PM
 

Miha Markic said:

IMO upgrade process should be built into setup itself. Perhaps it is just me :-P
June 20, 2006 4:22 AM
 

Son said:

I think this is nice software
February 2, 2007 2:09 AM
 

Travis Falls said:

I can't find the link to download CodeRush 2.0... :-(  I want to try it... I am evaluating this and Resharper...

August 29, 2007 2:42 PM

Leave a Comment

(required)  
(optional)
(required)  
Verification code: Required
   
Add
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED