Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jump between test file and actual file not working im module name also contains "Test" #89

Open
rrrene opened this issue Feb 5, 2024 · 2 comments

Comments

@rrrene
Copy link

rrrene commented Feb 5, 2024

When in a file wrong_test_file_extension.ex and trying to jumpo to wrong_test_file_extension_test.exs, it tries to jump somewhere it can't find (probably wrong_file_extension_test.exs ).

It is probably this part of the code that is responsible, since it just assumes that nothing will ever have "_test" in the filename anywhere except an actual test:

const strippedFileName = fileName.replace('_test', '');

@rrrene
Copy link
Author

rrrene commented Apr 12, 2024

Following up: Any news on this? 🙂

@randycoulman
Copy link

I'm also running into this issue. I maintain the mix_test_interactive project, and pretty much every file and module name has Test in the name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants