We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v4.0.2
Hive
SELECT concat(<cursor_pos>) as c from tb -- 这里<cursor_pos>是游标位置; SELECT concat(a, b) as c from tb -- 正常的语句
No response
这里我觉得 syntaxContextType 应该是 'function' 或者 'column',但是 getSuggestionAtCaretPosition 返回的结果没有column
column
这样我就没办法给用户提示出 tb 下的列名了
tb
官方demo页面可以复现:https://dtstack.github.io/monaco-sql-languages/
The text was updated successfully, but these errors were encountered:
函数参数的语法树结构里并没有包含columnList, 所以收集到的上下文中不会是column,要解决需要额外为函数参数添加一个上下文类型。
columnList
Sorry, something went wrong.
同时涉及到其他语言,需要同步处理。初步判断可以添加一个 functionParams 的规则,该规则支持 columnName
liuxy0551
No branches or pull requests
Version
v4.0.2
Which SQL?
Hive
SQL content
JavaScript/TypeScript code
No response
What happened?
这里我觉得 syntaxContextType 应该是 'function' 或者 'column',但是 getSuggestionAtCaretPosition 返回的结果没有
column
这样我就没办法给用户提示出
tb
下的列名了官方demo页面可以复现:https://dtstack.github.io/monaco-sql-languages/
Relevant log output
No response
The text was updated successfully, but these errors were encountered: