testing: implement related code (#222252)

* wip

* testing: implement related code

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

* bump distro for API enablement
This commit is contained in:
Connor Peet
2024-07-22 10:52:40 -07:00
committed by GitHub
parent b832b859e8
commit 642700c7ef
21 changed files with 744 additions and 117 deletions

View File

@@ -12,6 +12,7 @@
"../../../src/vscode-dts/vscode.d.ts",
"../../../src/vscode-dts/vscode.proposed.testObserver.d.ts",
"../../../src/vscode-dts/vscode.proposed.testMessageStackTrace.d.ts",
"../../../src/vscode-dts/vscode.proposed.testRelatedCode.d.ts",
"../../../src/vscode-dts/vscode.proposed.attributableCoverage.d.ts"
]
}