-
Notifications
You must be signed in to change notification settings - Fork 47
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
输入create的时候没有提示create table #163
Comments
目前进行的都是单个语法块的提示,输入 CREATE 后可以提示 TABLE、VIEW、DATABASE 等。 你说的这种场景有点类似于代码片段,目前我们正在做,接近完成,具体可以查看这个 PR: |
好的,太强了 |
看了一下,好像是只有新语句开头才会触发这个? |
对的 |
明白明白,借鉴一下,我再看看可不可以根据语法规则再加强一下,谢谢佬!顺便问一句,有没有交流群? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
看了一下c3的官方介绍
按道理来说,应该可以从
create
那个entry的value中获得table
, 但是现在居然没有获取到,但是这个if not exists
确实可以获取到。还有一种比较笨的方法,就是检测到有
create
关键字就给塞进去,但是这种测试发现问题,就是如果是修改表的时候,想要删除一个字段,但是检测到delete
就塞入一堆快捷组合,就显得很蠢,希望删除一个字段,提示出来删除数据库The text was updated successfully, but these errors were encountered: