Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Extract String Code Refactoring
Extract String Code Refactoring

Extract String Code Refactoring

Tobias Hein

|
1,050 installs
| (0) | Free
A C# refactoring to extract and convert hardcoded magic strings into private fields.
Download

This C# refactoring lets you extract and convert hardcoded magic strings into private fields for better maintainability.

Usage

Move the caret to the string you would like to extract/convert and select "Extract string" from the Quick Action menu (Ctrl+.).

Screenshots

 

Planned Features

  • Reuse existing fields

Changelog

v1.0

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