-
-
Notifications
You must be signed in to change notification settings - Fork 447
Error: Request textDocument/documentSymbol failed. #2438
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
Comments
Thanks for the report, can you provide the code that lead to throw this error? |
actually i didn't do anything; I opened VSCode as usual and there a notification reminding me to relaunch VSCode to upgrade volar, and I did that, and the error showed after relaunching. |
Can you provide the code for the file that VSCode is currently opening when the crash occurs? |
I'm having the same problem, opening any vue file will report an error |
@AmelloAster Please provide the vue code that reporting error as I cannot reproduce. |
The same problem occurs |
I am sorry I couldn't provide the file 😂, but I will try to build a minimal reproduction later;
|
I reinstall volar 1.1.5, and the same eslint problems are also output in the preblems pannel, but volar had not crashed |
I think I may have found the problem, I noticed that when I opened another vue project |
I dont have this plugin, but it looks like volar will crash if your code have some problems like ts error, syntax error, or even just warning. |
@AmelloAster This is another problem, please track #2434 and provide minimal reproduction if possible. |
The same problem occurs |
The same problem occurs |
v1.1.6 The same problem occurred after reloading today. |
I think you are right, I started having this problem again |
In case you didn't already know, v1.1.7 has been released and fixed this problems. |
thank you |
I have this problem today, my vue-official version is v2.1.8,now I return to v2.1.6, it is working. |
Please open a new issue with codes that throw the error. |
Hey i have the same problem today. Request textDocument/documentSymbol failed. |
"This resolves the issue." |
今天更新至 |
same problem happen when upgrade to v2.1.8 |
same problem happened to me Vue - Official v2.1.8 |
same pb now |
same problem happened to me Vue - Official v2.1.8 |
This issue was closed 2 years ago. Please consider opening a new issue instead of leaving a comment here. |
Request textDocument/documentSymbol failed. |
Error: selectionRange must be contained in fullRange |
I can't reproduce this issue. Since this issue is very old, please open a new issue and provide minimal reproduction so we can investigate, thanks. |
Uh oh!
There was an error while loading. Please reload this page.
I got the below error after upgrading volar:
and I found I lost all the snippet or suggestion from voloar.
volar version: 1.1.6
vscode version: 1.75.1
OS: MacOS M1 pro, Ventura 13.1
The text was updated successfully, but these errors were encountered: