Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto-generate interface methods in Java with Visual Studio Code

Using the Red Hat Java extension I can see a list of unimplemented methods, but there is no "auto-generate" button that I can find. Does this functionality exist?

enter image description here

like image 827
Alon Avatar asked Sep 10 '25 09:09

Alon


1 Answers

Refer to this post: https://github.com/redhat-developer/vscode-java/issues/270 , you can put your cursor on the class name and then press the shortcut "⌘.".

like image 150
Huan Zhang Avatar answered Sep 13 '25 02:09

Huan Zhang