Skip to content
| Marketplace
Sign in
Visual Studio>Tools>AutoToString
AutoToString

AutoToString

Davide Lettieri

|
6,844 installs
| (9) | Free
Simple ToString generation for classes and structs, prints all the public properties
Download

Version 1.4.0 Supports VS2022

Version 1.3.0 Add Replace ToString action

Version 1.2.2 Improve ToString performance, refer to this post

Version 1.2.0 Support VB

Version 1.1.1 Add ToString generation for struct

Version 1.1.0 Support VS2019

Version 1.0.1 Public properties from base classes are added to ToString value

AutoToString is a refactoring tool to create a simple ToString method that prints all the public property of the class it is used on.

To use it just put your cursor on the class name and click on the lightbulb or "Ctrl + .", between the several option there will be "Generate ToString()".

Please be aware that if the class already has a ToString method the suggestion is not shown.

tostring.png

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