https://github.com/davidelettieri/auto-tostring
VS extension to generate a simple tostring
https://github.com/davidelettieri/auto-tostring
csharp vb-net visual-studio-extension
Last synced: about 1 year ago
JSON representation
VS extension to generate a simple tostring
- Host: GitHub
- URL: https://github.com/davidelettieri/auto-tostring
- Owner: davidelettieri
- License: gpl-3.0
- Created: 2018-06-13T08:10:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-06T15:35:14.000Z (over 2 years ago)
- Last Synced: 2025-03-29T00:04:43.914Z (about 1 year ago)
- Topics: csharp, vb-net, visual-studio-extension
- Language: C#
- Size: 37.1 KB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# auto-tostring
VS extension to generate a simple tostring
The extension allow to generate a ToString method printing all the public properties of an object, it uses a formatted string implicitily calling ToString on property value. So if a classes does not have a proper ToString implementation it will print the name of the class e.g. arrays.
The extension register a code refactoring that is available on a class or a struct if it doesn't already contains a ToString method. [Here](https://www.loom.com/share/ad3fa5e155a145ec833c70169717efdc?sid=98d619ba-4637-424e-8790-bfcceece6d0b) a sample video that shows how it works