Skip to content

testing: implement related code - #222252

Merged
Connor Peet (connor4312) merged 5 commits into
mainfrom
connor4312/test-related-code-2
Jul 22, 2024
Merged

Connor Peet (connor4312) merged 5 commits into
mainfrom
connor4312/test-related-code-2

Conversation

@connor4312

Copy link
Copy Markdown
Member

This implements a simple provider-based related code feature, and
adopts it in the selfhost test extension.

It's surfaced to users via automatic delegation in the "run tests at
cursor" command, which I feel like it very natural. I also add two
commands which reuse the SymbolNavigationAction to implement
go to/peek views using the references infrastructure. The upstream
change involved in this is the addition of the "go to" preference
for tests.

cc Johannes Rieken (@jrieken) Matt Bierner (@mjbvz)

This implements a simple provider-based related code feature, and
adopts it in the selfhost test extension.

It's surfaced to users via automatic delegation in the "run tests at
cursor" command, which I feel like it very natural. I also add two
commands which reuse the `SymbolNavigationAction` to implement
go to/peek views using the references infrastructure. The upstream
change involved in this is the addition of the "go to" preference
for tests.

cc @jrieken @mjbvz
@connor4312
Connor Peet (connor4312) deleted the connor4312/test-related-code-2 branch July 22, 2024 17:52
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants