-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Adding Run and Debug Selected Test Commands #15979
Conversation
I am blocked on CI failing. I don't understand what I need to 'adjust'. The PR makes modifications to both
|
maybe this help change the commit hash in |
Thanks! |
r? @lnicola |
Do I need to do anything now this is waiting on decision? |
☔ The latest upstream changes (presumably #16024) made this pull request unmergeable. Please resolve the merge conflicts. |
No, this just needs time from a reviewer (as you can see there is a big backlog of PRs right now) |
There are merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged. You can start a rebase with the following commands:
The following commits are merge commits: |
I am sorry about this, may I ask why it closed? |
Adds two new commands for quickly executing a selected test in VSCode:
Works by walking up the syntax tree, starting from the position of the user's cursor, looking for a function that has a 'test' attribute. To assist with this discovery process, I've added an LSP extension method 'rust-analyzer/selectedTest' which is used to find the test and then, if found, build a corresponding runnable to execute.
This attempts to address #14805.