Skip to content
| Marketplace
Sign in
Visual Studio>Tools>RemoveStringToken for CodeRush
RemoveStringToken for CodeRush

RemoveStringToken for CodeRush

CodeRush Community Contributors

|
311 installs
| (0) | Free
Removes the String Token at the caret.
Download

Remove String Token for CodeRush

This CodeRush plugin allows the user to remove a string token and, where appropriate, it's corresponding argument.

Example 1

Starting with the following code 

...Remove String Token will convert your expression to...

 

Example 2

Starting with the following code 

...Remove String Token will convert your expression to...

In each case the plugin

  • Removes the indicated string token.
  • Removes the corresponding argument if appropriate.

In each case there is a little more string deletion required, but the process is still much simpler than the alternative.

The plugin:

  • Removes arguments only if no further references remain.
  • Renumbers and higher token numbers.
  • Supports both String.Format and Console.WriteLine.
  • Removes a String.Format method call if no further string tokens remain.

 

This plugin is open source and is available on GitHub

This plugin requires CodeRush. You can locate a free trial of CodeRush here.

CodeRush is a powerful productivity tool built byDevExpress. It is designed to help you produce higher quality, more readable code with far less effort and in a fraction of the time.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft