scalameta / metals

Scala language server with rich IDE features 🚀

Home Page:https://scalameta.org/metals/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Implement missing members" bad placements in braceless syntax

iusildra opened this issue · comments

Describe the bug

When using the quick-fix "implement missing members" in braceless syntax it inserts the dummy implementation at the wrong place:

  • sometimes in the middle of a def
  • sometimes it adds a body like
case class ... extends ...:
  def foo = "foo" {
    override def ...
  }

Expected behavior

No response

Operating system

macOS

Editor/Extension

VS Code

Version of Metals

v1.3.1

Extra context or search terms

braceless, lsp