react-codemirror icon indicating copy to clipboard operation
react-codemirror copied to clipboard

Why does custom completion cause mysql keyword prompts to not take effect?

Open resetsix opened this issue 2 years ago • 2 comments

Hello, when I customized auto-completion, the original mysql keyword prompts were gone. I hope that the auto-completion can merge rather than overwrite the original prompts.

This is a custom completion prompt

图片

This is a Mysql keyword tip

Expected a "select" prompt to appear, but it didn't

图片

This my code

code

This my package

code

resetsix avatar Oct 10 '23 07:10 resetsix

  • https://codemirror.net/examples/autocompletion/
  • https://github.com/codemirror/lang-sql/blob/main/src/sql.ts

You can refer to the official examples and source code

jaywcjlove avatar Oct 10 '23 07:10 jaywcjlove

OK code

resetsix avatar Oct 10 '23 12:10 resetsix