Closed razvbir closed 3 months ago
Zed calls codeActions all the time to be able to show them in the UI. Metals tells the client to show that message quite manually if OrganizeImports isn't available because the file has errors, so that's what Zed does: it just shows the message as it was instructed.
I think Metals should be using disabled
in the response instead (which may not have existed in the LSP protocol back when OrganizeImports was first implemented), as in https://github.com/scalameta/metals/pull/6595
I don't actually have any imports in that file. Is there a way to make this warning disappear after awhile?