Skip to content

Improve error message no build target found for #452

@oharboe

Description

@oharboe

Is your feature request related to a problem? Please describe.

This error message is tough to decipher:

no build target found for .../LifeTests.scala. Using presentation compiler with project's scala-library version: 3.3.6

https://github.com/scalameta/metals/blob/0a5f5204cb1063d5f84783deb8297d3fcac5402f/metals/src/main/scala/scala/meta/internal/metals/Compilers.scala#L1241-L1242

Trying to chase down my particular problem here The-OpenROAD-Project/bazel-orfs#447

Describe the solution you'd like

The error message should give me good clues as to what I should fix to make it work

Describe alternatives you've considered

Reading the metals source code and try to follow it; tough...

Additional context

No response

Search terms

error messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions