Skip to content

Duplicate CodeLenses #8389

@snjeza

Description

@snjeza

Metals version: main-v2
Steps To Reproduce:

  • clone simple-java-maven-app
git clone git@github.com:jenkins-docs/simple-java-maven-app.git
  • add
{
      "metals.serverVersion": "2.0.0-M12",
}

to .vscode/settings.json

  • import the project in VS Code/Cursor
  • open App.scala

You will see duplicate "run", "debug" CodeLenses above the main method.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that is making a piece of functionality unusablemavenMaven related ticketsmetals-v2

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions