-
Notifications
You must be signed in to change notification settings - Fork 327
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
window/showDocument cannot show two documents because of preview mode #1588
Comments
This is something VS Code decides and is not under the control of the LSP VS Code client lib. I am pretty sure that the same happens when using the VS Code API directly. Have you tried this? |
No, I haven't. But yes, I presume it is the same when using the VS Code API directly. vscode-languageserver-node/client/src/common/client.ts Lines 1343 to 1352 in 8e6bf18
I guess my concern is that overlapping one file over the other seems counter to the intent of the I could also workaround the problem by using a middleware to intercept the request completely. 🤷 |
Actually I don't want to add |
If you have preview mode enabled,
window/showDocument
cannot be used to open two different documents because the last one will just overlap on top of the first one.Is this behaviour intentional?
The text was updated successfully, but these errors were encountered: