eclipse.jdt.ls icon indicating copy to clipboard operation
eclipse.jdt.ls copied to clipboard

Implement methods in newly created type from an inherited sealed class.

Open rgrunber opened this issue 5 years ago • 3 comments

  • When a non-existent type is permitted by a sealed class, the newly created type should implement the necessary methods
  • Related #1553

.. turns out it's possible after all. Still need to clean it up a bit though.

rgrunber avatar Oct 14 '20 20:10 rgrunber

Creates a new class as you type 😂 Oct-15-2020 18-44-05

fbricon avatar Oct 15 '20 16:10 fbricon

... and the generated classes don't even implement the interface method :-)

fbricon avatar Oct 15 '20 16:10 fbricon

:joy: thanks for verifying in IDE. I think what's happening is the main issue I had from before. The creation of the problem marker, causes the associated text edit to also be created. In our case, the text edit immediately creates the type. I'll see what I can do.

rgrunber avatar Oct 15 '20 17:10 rgrunber