about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-29 02:06:22 +0000
committerbors <bors@rust-lang.org>2024-03-29 02:06:22 +0000
commita8b7acf22ff5f4e9d075dfa45ddaacf7b608e35e (patch)
tree07cc076b390bd20751990adcd7b3cce0050bf2dd /docs/dev
parentab10eea62ec59bc676a946ae8be562edcaccb950 (diff)
parentbeec6914c84b1f7459847d0226086759e63b3f2c (diff)
downloadrust-a8b7acf22ff5f4e9d075dfa45ddaacf7b608e35e.tar.gz
rust-a8b7acf22ff5f4e9d075dfa45ddaacf7b608e35e.zip
Auto merge of #16971 - HKalbasi:test-explorer, r=HKalbasi
Resolve tests per file instead of per crate in test explorer

Fix part of #16827
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/lsp-extensions.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index 8db66687aae..939b1819c7e 100644
--- a/docs/dev/lsp-extensions.md
+++ b/docs/dev/lsp-extensions.md
@@ -1,5 +1,5 @@
 <!---
-lsp/ext.rs hash: d5febcbf63650753
+lsp/ext.rs hash: 223f48a89a5126a0
 
 If you need to change the above hash to make the test pass, please check if you
 need to adjust this doc as well and ping this issue:
@@ -440,7 +440,11 @@ interface DiscoverTestResults {
     // For each test which its id is in this list, the response
     // contains all tests that are children of this test, and
     // client should remove old tests not included in the response.
-    scope: string[];
+    scope: string[] | undefined;
+    // For each file which its uri is in this list, the response
+    // contains all tests that are located in this file, and
+    // client should remove old tests not included in the response.
+    scopeFile: lc.TextDocumentIdentifier[] | undefined;    
 }
 ```