How to clear sourcekit-lsp cache?

when i move files to new locations, sourcekit-lsp can’t forget about the old file so i get duplicates of every definition in that file when doing ctrl-click. where is the sourcekit-lsp cache and how do i clear it?

That sounds like a bug to me. Could you file a bug report at Sign in to GitHub · GitHub?

To work around the problem, you could restart the SourceKit-LSP process. You can do this from VS Code by invoking “Developer: Reload Window” from the command pallet.