-
I've been writing a BSP to connect with scala-metals. So far this has been super easy thanks to adequate documentation and However, when I open metals doctor, I see that each project has three green checkmarks for Diagnostics, Goto definition, and Completions, but not for Find references. I used semanticdb to get the first three working. Is there another compiler plugin I need to enable the last feature? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Thanks for the question! Actually diagnostics, goto definition and completions all work without the semanticdb. Semanticdb is only needed for references, implementations and renames. Whenever references is not found it means that Metals did not detect semanticdb flags within the build information that was given to the Metals server. If you did enable semanticdb, but Metals does not have that information the doctor will report it as an issue. |
Beta Was this translation helpful? Give feedback.
Thanks for the question! Actually diagnostics, goto definition and completions all work without the semanticdb. Semanticdb is only needed for references, implementations and renames. Whenever references is not found it means that Metals did not detect semanticdb flags within the build information that was given to the Metals server. If you did enable semanticdb, but Metals does not have that information the doctor will report it as an issue.