Tab through Primitives for CodeRush

Introducing CR_PrimitiveTab. The result of another CodeRush Feature Workshop

This plugin extends Tab to Next Reference, allow you to navigate among references to primitives, of the same value, in the same file.

For example: If you place your caret on the number 10 within a code file, and then hit the Tab key, you will immediately begin tabbing through all the other instances of the number 10 within that file.


The same will also works for strings, dates, floats and other primitive values.

This is a great way to get a feel for how many instances of a given literal are referenced, and under what circumstances. It’s a useful scouting tool. Useful just prior to the introduction of a constant or just as a way to navigate to something similar in the same file.

A Small Reconfiguration
Due to the way the current version of Tab to Next Reference works internally, it will be necessary to perform some small reconfiguration of the settings, in order for this plugin to work.
You will need to add the Editor\Code\InPrimitive context to the Shift+Tab, Tab, and Shift+Alt+U. These bindings can be found in the Navigation\References\Nav Fields folder of the Shortcuts Options Page.

We are hoping to address the need for this tweak in a future version of CodeRush.

So what are you waiting for? Go grab this amazing new feature from the Community Site.

Be sure to keep an eye out for more CodeRush Feature Workshops

Free DevExpress Products – Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We’ll be happy to follow-up.
Johnny K
John K

wow! cool!

but how will it work if i tab stop at the second for exmple tab (10) and change it to 22, then TAB again! will it continue to the next 10 because i may want to change it to something else? or will try to find the next 22????

this can be improved if is not supported! to have an option on how you want to react ;-)

although i love those plugins, they are really slugging my visual studio sometimes! :(

29 July 2011
Rory Becker - DevExpress
Rory Becker - DevExpress

Tab to Next Reference is an exploratory tool.

If you change the nature of what you are exploring as you go, then you will break break any links established

If you are seeking to have this functionality changed, I suspect you would need to request it for the TTNR engine as a whole. This is best done via Support

Additionally, if you are experiencing *any* performance issue, you should contact support.

1 August 2011

Please login or register to post comments.