vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

Extract Interface from class

Open vairamsvsjdo opened this issue 6 years ago • 8 comments

Need ability to extract interface from class or update interface from available methods not already in an interface or provide option to update an interface if an interface is implemented in the class as an additional option

Environment
  • Operating System: Windows_NT x64 10.0.18309
  • JDK version: 11
  • Visual Studio Code version: 1.30.1
  • Java extension version: 11
  1. RIght click a class script in editor
  2. Have option to extract Interface

vairamsvsjdo avatar Jan 08 '19 09:01 vairamsvsjdo

This would be awesome!

okonon avatar Aug 19 '19 18:08 okonon

yes this would be great

Sandalorian avatar Dec 03 '20 10:12 Sandalorian

+1

vulkman avatar Aug 05 '21 09:08 vulkman

any update on this feature ?

prakritidev avatar Oct 12 '21 07:10 prakritidev

Any updates?

SlappyAUS avatar Jan 10 '22 09:01 SlappyAUS

+1

StephaneAdeso avatar Jan 20 '22 11:01 StephaneAdeso

+1

itaygoz avatar Mar 28 '22 14:03 itaygoz

I can take this up if nobody is working on this. As this is very old requested feature.

prakritidev avatar Jul 09 '22 18:07 prakritidev

+1

lucksjb avatar Oct 06 '22 08:10 lucksjb

+1

edurbs avatar Nov 08 '22 16:11 edurbs

+1

dax-westerman avatar Dec 07 '22 10:12 dax-westerman

I'll take a look and make a prototype these days. @snjeza WDYT?

CsCherrYY avatar Dec 07 '22 10:12 CsCherrYY

@CsCherrYY np

snjeza avatar Dec 07 '22 13:12 snjeza

Now we have an upstream PR making the related utility available in jdt.ui side: https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/344

CsCherrYY avatar Dec 12 '22 08:12 CsCherrYY