Skip to content

It infers the wrong file path from json error msg #234

Closed
@Boscop

Description

@Boscop

When I get an error like:

error: server\src\controllers\driver.rs:241: cannot find struct, variant or union type `Location` in this scope

When I click on it, it opens a non-existing file <project_root>\server\server\src\controllers\driver.rs
but it should instead open the right file at <project_root>\server\src\controllers\driver.rs.
(Btw, this project is in a workspace, of which server is one crate.)

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