获取调用层级失败(CallHierarchy) #5006
Unanswered
fenixjiang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我尝试使用C# lsp客户端连接这个vue服务器, 在测试到获取调用层级(CallHierarchy)功能的时候,得不到正确的数据。 相同的情况下VSCode中vue插件是正确的。 我调试了一下vue的代码发现在node_modules\volar-service-typescript\lib\plugins\semantic.js中provideCallHierarchyItems中传入的docuemnt与provideCallHierarchyIncomingCalls中通过uri获取到的document是不同的。 而且在provideCallHierarchyIncomingCalls中按照传入的item.SelectionRange.start并不能在后续找到对应的Token --typescipt.js中的getTokenAtPositionWorker.
大家是否有类似的,尝试使用其他的lsp客户连接这个vue服务器的,遇到过类似的问题?
Beta Was this translation helpful? Give feedback.
All reactions