-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Request textDocument/documentSymbol failed. #4959
Comments
me too |
I've been in the same situation. |
Would you be willing to assist us with remote investigation? https://github.com/vuejs/language-tools/wiki/Help-Us-Investigate-Issues-Remotely |
+1 |
same pb, don't know what to do... |
I don't even think this issue needs to be remote, as I get it when I use vscode.dev to install only vue-official @KazariEX |
2024-10-29.193724.mp4https://github.com/lvzhenbo/localStorage-manager |
+1 |
Does entering any content in |
@KazariEX seems to have solved the problem, but since it's not 100% reproducible I can't tell if it's due to empty style tags or not. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@ungive For unrelated problems, please open a new issue. |
This solved it here... |
+1 Properly issue with
And
|
|
Hello. I had a similar problem. I tried to use "Vue Snippets" by adding the following custom Snippet: {
"Vue Single File Component with Css (Custom)": {
"prefix": "vbase-css-custom",
"body": [
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<script>",
"\texport default {",
"\t\tname:\"${TM_FILENAME_BASE}\",",
"\t\t${0}",
"\t}",
"</script>",
"",
"<style scoped>",
"",
"</style>"
],
"description": "Base for Vue File with CSS (Custom)"
}
} When I tried to use the snippet above, I kept getting the following error:
To resolve this, I added a comment to the style tag so that it wasn't empty, and the error warning disappeared: "<style scoped>",
"/** Add style next time */",
"</style>" Finally, I downgraded "Vue.official" to 2.1.6, and the error no longer occurred even when the "style" tag content was empty. |
Vue - Official extension or vue-tsc version
2.1.8
VSCode version
1.94.2
Vue version
3.5.12
TypeScript version
5.6.3
System Info
package.json dependencies
Steps to reproduce
I'm not sure of the exact steps, it's pretty random, but it usually happens during code removal
What is expected?
No errors will be reported.
What is actually happening?
An error occurs that I don't know how to fixAn error occurs that I don't know how to fix
Link to minimal reproduction
No response
Any additional comments?
Here's a video that illustrates what happened
2024-10-29.152230.mp4
The text was updated successfully, but these errors were encountered: