Search code examples
javavisual-studio-codeidecode-completion

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


Solution

  • 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 "⌘.".