-
Notifications
You must be signed in to change notification settings - Fork 101
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
[Bug]: completionService 中的 entities 未能获取到内容 #405
Labels
bug
Something isn't working
Comments
是的 但是在其他位置加 . 又能够正常解析 例如这里
|
借个楼 顺便问一下有 api 可以获取光标所在位置 context 的 database / table 吗 例如
当光标在各自context的时候 能够正确拿到 database / table |
通过 |
当有 USE 语句的时候, suggestions.syntax 不同 有 USE 语句的时候 USE db;
SELECT * FROM db. ![]() 没有 USE 语句的时候 SELECT * FROM db. ![]() 导致很难有一种统一的方法去判断当前位置 应该是 table suggestion了 |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
4.1.1
Which SQL?
Spark
SQL content
JavaScript/TypeScript code
What happened?
我想要实现 column 的代码提示
但是当输入例如 . 的时候 参数
entities
就为空了我需要在 entities 中获取 alias / table 等参数来查询可选的 columns
Relevant log output
The text was updated successfully, but these errors were encountered: