修改vue 文件时,出现错误提示
Request textDocument/documentSymbol failed.
Error: selectionRange must be contained in fullRange
at Function.validate (file:///c:/Users/86131/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:108:33675)
at new Hd (file:///c:/Users/86131/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:108:33883)
at dn (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:37:46612)
at o (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:37:21036)
at Object.NS [as map] (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:37:21122)
at Object.pr [as asDocumentSymbols] (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:37:46579)
at c (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:41:56059)
at OC.provideDocumentSymbols (file:///c:/Users/86131/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:137:125496)
Vue - Official extension or vue-tsc version
2.1.8
VSCode version
版本: 1.95.0 (user setup) 提交: 912bb683695358a54ae0c670461738984cbb5b95 日期: 2024-10-28T20:16:24.561Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.22631
Vue version
3.2.45
TypeScript version
未引入
System Info
No response
package.json dependencies
Steps to reproduce
安装最新版本vue-official , 在vue 文件中书写代码时,不停的提示Request textDocument/documentSymbol failed.
What is expected?
取消提示影响
What is actually happening?
修改vue 文件时,出现错误提示 Request textDocument/documentSymbol failed. Error: selectionRange must be contained in fullRange at Function.validate (file:///c:/Users/86131/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:108:33675) at new Hd (file:///c:/Users/86131/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:108:33883) at dn (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:37:46612) at o (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:37:21036) at Object.NS [as map] (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:37:21122) at Object.pr [as asDocumentSymbols] (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:37:46579) at c (c:\Users\86131.vscode\extensions\vue.volar-2.1.8\dist\client.js:41:56059) at OC.provideDocumentSymbols (file:///c:/Users/86131/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:137:125496)
Link to minimal reproduction
No response
Any additional comments?
No response