You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a request to re-index all files in SourceKit-LSP
Users should not need to rely on this request. The index should always be updated automatically in the background. Having to invoke this request manes there is a bug in SourceKit-LSP's automatic re-indexing. It does, however, offer a workaround to re-index files when such a bug occurs where otherwise there would be no workaround.
rdar://127476221
Resolves#1263
Copy file name to clipboardExpand all lines: Documentation/LSP Extensions.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -431,3 +431,17 @@ New request that returns symbols for all the test classes and test methods withi
431
431
```ts
432
432
exportinterfaceWorkspaceTestsParams {}
433
433
```
434
+
435
+
## `workspace/triggerReindex`
436
+
437
+
New request to re-index all files open in the SourceKit-LSP server.
438
+
439
+
Users should not need to rely on this request. The index should always be updated automatically in the background. Having to invoke this request means there is a bug in SourceKit-LSP's automatic re-indexing. It does, however, offer a workaround to re-index files when such a bug occurs where otherwise there would be no workaround.
0 commit comments