Open allwefantasy opened 2 years ago
It's a bug about hint in Byzer-notebook. When users type character in notebook, notebook will first execute hint code (written by scala). Then call auto-suggestion api in Byzer-lang. Some of hints will also call Byzer-lang api with 'sql' params, which contains all sentence before cursor. So, if your sentence haven't finished, this call would failed and block auto-suggestion.
Divide hint into two kinds. When auto-suggestion, try execute no effective ones.
Here is my pr: #45
When I write code like this:
It seams the autosuggest will trigger the notebook to convert the hint/annotation and execute it which may cause something wrong.
The exception is like following: