Rory Becker - DevExpress CodeRush Blog

The CodeRush Options Screen

The Options screen is launched via the Ctrl+Shift+Alt+O hotkey. If you have CodeRush rather than CodeRush Xpress then you can also use the ‘DevExpress \ Options’ menu.

OptionsIDEShortcuts

The screen is divided into a number of sections:

The Page Tree
PageTreeNewUser
The left hand box is a tree of option pages.

Note: The option pages are not hardcoded into the system. Instead plugins are detected by the DXCore at runtime and associated options pages are placed in this hierarchy as directed by the author of the plugin. This makes it very easy for 3rd parties to write plugins that integrate seamlessly into the CodeRush environment.

As you might expect, the folders and sub folders listed in the tree are suggestive of the option pages that they contain.

Note: It can be helpful to remember that the Editor and the IDE are not the same thing. The IDE is the whole of Visual Studio. If it’s visible, it’s part of the IDE. The editor, by contrast, refers to that area of the IDE in which code/text (Vb.Net/ C#, XML) is entered.

Given the amount of CodeRush customization that I tend to do, I find that my most often used options pages are ‘Templates’ and ‘Shortcuts’.

The Templates option page is located in the ‘Editor’ folder because the editor is where you enter and expand templates.

By contrast the Shortcuts options page is found in the IDE folder because of the more global nature of shortcuts.

The Search Box
SearchSettingsThe box in the upper left-most of the option screen, is used to incrementally search the available pages by their title. So if you start to type ‘shortcut’ or ‘template’ into this box, the page tree will attempt to locate the first option page, whose name contains this phrase.

The Level Dropdown
LevelComboOptions pages are allocated a level: ‘New User’, ‘Advanced’ or ‘Expert’. This level is used to indicate the complexity of the features being touched upon. CodeRush will hide option pages who’s level exceeds the value provided in this dropdown. Since the system defaults to ‘New User’, this helps to prevent overloading a new user with too much information all at once. Additionally in the upper right corner of each page, you can see a coloured shape which represents the level of the current page. Try to get familiar with the content of the simpler pages, before enabling the 2 further tiers.

The Nav Buttons
NavButtonsIn the upper right corner of the screen, there are some Nav buttons. These function in the same way as the ‘back’ and ‘forward’ buttons in your favourite browser, allowing you to navigate back to a page previously visited, and then forward again to where you started.

The Language Dropdown
LanguageComboThe content of some pages can be filtered based on language.

For example Templates are available for C#, VB.Net, SQL, HTML, XML and others. It wouldn’t be sensible to try and show all of these at the same time, as this would very quickly overwhelm the user. Instead the Language dropdown acts as a filter, with which the user can indicate the set of templates they wish to work with at the current time.

 

 

 


Default Settings


DefaultSettingsSome pages support a “Default Settings” button. This will nuke the settings for the page in question and restore them to factory settings. However if you feel the need to restore all of your settings to default status, see the next section.

Where are my options stored?
If you feel the need to backup, restore or just plain nuke your current settings, you can find them in a folder beneath your windows profile. One way to locate this folder is to visit the ‘DevExpress\About’ dialog and press the ‘Settings’ button.

DevExpressAbout1015

Alternatively you can type ‘%AppData%\CodeRush for VS .NET\1.1\Settings.xml’ into your explorer bar and hit enter.

ExplorerBar

The folder that opens (Settings.xml) contains everything you need to backup with regard to your settings.

If you delete or rename this folder, then CodeRush will rebuilt it for you from factory settings when next accessed.

Misc.

…and finally a few minor items that don’t necessarily belong in any of the previous sections.

  • The options screen will remember and display the last options page you viewed.
  • The Shortcuts page will remember and display the shortcut you were looking at when last you visited it.
  • The Templates page will automatically locate the last Template you expanded.

In future posts, we’ll delve into some of the more specific options found within the pages of the options screen. If you have any questions regarding the options screen in general, feel free to post them and I’ll do my best to answer.

Published Aug 03 2010, 11:55 AM by
Filed under: ,
Bookmark and Share

Comments

Marc Greiner (DevExpress MVP)

Hi Rory ;

Thanks for the article.

I love your style : you do not only tell how, but why it is like it is !

It helps to remember things.

September 22, 2010 8:08 AM
LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2017 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners