Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening a reference document sends a textDocument/didClose notification to LSP instead of textDocument/didOpen #1278

Closed
ahoppen opened this issue Dec 13, 2024 · 1 comment

Comments

@ahoppen
Copy link
Member

ahoppen commented Dec 13, 2024

When opening a URL scheme whose content is provided by a workspace/getReferenceDocument request from SourceKit-LSP, VS Code will send a textDocument/didClose request to SourceKit-LSP instead of a textDocument/didOpen. Closing the document sends another textDocument/didClose notification.

Steps to reproduce:

@ahoppen
Copy link
Member Author

ahoppen commented Dec 13, 2024

This no longer reproduces after updating my vscode-swift checkout.

@ahoppen ahoppen closed this as completed Dec 13, 2024
@award999 award999 moved this from Unscreened to Needs Verification in Swift Extension for Visual Studio Code Dec 20, 2024
@award999 award999 moved this from Needs Verification to Done in Swift Extension for Visual Studio Code Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant