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

Class renaming is broken when you have other tab opened with import

brndt opened this issue · comments

Describe the bug

  1. Rename class A name to B
  2. Everything works
  3. Open class C that have imported class B
  4. Try to rename class B to class D
  5. Sometimes is broken as you can see in the video
    https://github.com/scalameta/metals/assets/21007364/49fe71de-7583-4ee9-b2a1-0cc7aaffa339

Maybe related to: #5759

Expected behavior

No response

Operating system

macOS

Editor/Extension

VS Code

Version of Metals

v1.3.1

Extra context or search terms

No response