I thought this used to work. I run a unit test in VS Code, and it panics. In the terminal I see stuff like:

1: core::panicking::panic_fmt at /rustc/[...]\core\src\panicking.rs:80 2: bambu_ui::doc_editor::model::tests::check_model_xml at .\src\doc_editor\model\tests\mod.rs:14 3: bambu_ui::doc_editor::model::tests::sections::create_section1 at .\src\doc_editor\model\tests\sections.rs:20 ... 

But if I control-click on those locations, it just copies them up to the command palette area and says "No matching results". I can thn manually edit it so instead of .\src\... it starts with my package name, bambu-ui\src\..., it works. Actually I can just remove the leading . and it also matches and finds it.

Is something misconfigured? I'm in a workspace, so I'm running tests in one of the packages inside the workspace. I'm running by clicking on the ":play_button: Run Test" in the editor above the test fn.

1 post - 1 participant

Read full topic