samuelpordeus / vscode-elixir-test

Visual Studio Code extension to interact with elixir tests
MIT License
37 stars 36 forks source link

More robust test switching #60

Closed danielcooper closed 4 years ago

danielcooper commented 4 years ago

In cases where there are multiple matching file names provide a more exact search for the file to the vscode workspace.

Previously jumping between a test and a code file when there was a structure like:

/lib/foo/bar/thing/baz.ex
/lib/foo/bing/thing/baz.ex
/lib/foo/bong/thing/baz.ex

would cause us to jump randomly depending on what vs code was the closest match.

samuelpordeus commented 4 years ago

Thanks for the contribution @danielcooper