Android Studio 2.3.
Following is the default template for toString() method
How can I change this template?
You can not change the default template, but you can add your custom template and use that instead of default.
Follow these steps to add a new template.
Press (Alt+Insert) or Go to Code -> Generate and select toString() from the contextual menu: This will open following window
In the opened dialog box, click on the Settings button on top right corner. a new dialog box will open with two tabs(Settings and Templates).
Select the Templates tab and it will show following dialog.
Use the + sign on top left corner to define your own template
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With