You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me it's fine if we merge this issue with the other that you have mencioned, but that issue is almost two years old, altough is the same topic.
We can include this issue in the mencioned issue under the same name, but with a more generic name, like this issue
This should be fixed in pre-release and will be out in the 1.29.0 release. I think we still identified some issues worth fixing in eclipse-jdtls/eclipse.jdt.ls#3055 (review) but it should be possible to use inherited members in forming to toString declaration now.
Generate toString() action will only generate a toString method with the class fields instead of with the super class fields too
Environment
Steps To Reproduce
Current Result
Only generates a toString method with the class fields
Expected Result
Generate a toString method with the class fields super's class fields
Additional Informations
Super class:
![Captura de pantalla 2024-01-28 190417](https://private-user-images.githubusercontent.com/68470515/300283816-43efe149-4d11-4cfc-b733-451b0aaffb00.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MDE0MzAsIm5iZiI6MTczOTUwMTEzMCwicGF0aCI6Ii82ODQ3MDUxNS8zMDAyODM4MTYtNDNlZmUxNDktNGQxMS00Y2ZjLWI3MzMtNDUxYjBhYWZmYjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDAyNDUzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYzZWM0Yzg1ZjUyZjE0YmU0NGIxNmFiMTBmZjk1YjIwYmE2N2I4ODcwMzlkY2Q3MmI2MGY3YWRhNDJhZDZjNGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._ueGiSMC9wSz68S_qtwR-BKElIoERy3qXphipZeT-Bo)
Child class with the toString method generated:
![Captura de pantalla 2024-01-28 190430](https://private-user-images.githubusercontent.com/68470515/300283832-c3ac8581-9912-4096-90b9-35f12008da3a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MDE0MzAsIm5iZiI6MTczOTUwMTEzMCwicGF0aCI6Ii82ODQ3MDUxNS8zMDAyODM4MzItYzNhYzg1ODEtOTkxMi00MDk2LTkwYjktMzVmMTIwMDhkYTNhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDAyNDUzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNiYjMxZDc2OTBjMDI1YzI3YTllZWFiMGFmZTcwZTM0OWY5Y2U1MzgxMmIyNThkMjdiOWRkYWI2Yjg2ZDYzMmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Of1MOl_yrCkM3U92r9vV342Juyoxs4_m87j-wyd9d1o)
The text was updated successfully, but these errors were encountered: