-
Notifications
You must be signed in to change notification settings - Fork 349
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
對於同一個 working dictionary,無法跨文件跳轉到自定義的 function #59
Comments
非常感谢这么详细的 issue。 从状态栏我看到Luapanda已经正确启动了,根据描述能做同文件的跳转。 关于定义跳转部分,我们预设的逻辑是: 但是有几种情况可能会影响查询:
关于定义跳转和补全,其实我们是搭了一个框架,用户操作时插件就会按照框架中的逻辑递归查找,通常我们也需要借助对具体案例的调试才能够得到确切的原因。我们会逐步完善这个框架。如果遇到定义查找和代码补全的问题希望解决,可以抽象成一两个文件的简单用例(纯lua就行,不要求能运行起来,但不能有语法错误)发给我们。这样我们可以对具体案例进行分析。 再次感谢详细的 issue |
謝謝你的詳細回覆。這是根據實際目錄結構、函式結構,做出的測試案例。在我的環境上可以重現我在 Describe the bug 描述的「兩個可以,一個不能」 |
非常感谢,我看到用例了。 OpcodeX.swap_echo_return 没有办法正确跳转。 |
Describe the bug
定義跳轉功能的問題
require()
To Reproduce
Steps to reproduce the behavior:
XXX()
的定義,但XXX()
是宣告在同一個 working dictionary 甚至是同一個 dictionary 內的 *.lua。Expected behavior
如同跳轉到 Lua 原生 function 一樣,游標自動到達定義處。
Screenshots
Desktop (please complete the following information):
Additional context
Lua Version: 5.3.5
這裡提及的 *.lua 皆能在 VSCode 上被辨認出正確格式:
The text was updated successfully, but these errors were encountered: