Open danieldroit opened 6 years ago
If i am not mistaken, the tokens '{', '}', ':' are NOT marked as tokens for autocompletion, so they are skipped in the autocomplete suggest functionality. if you necessarily need these to be autocompleted try to insert them as separete tokens in LEX and mark them as autocomplete. Let me know how it goes.
I have the following grammar:
When I paste it to the grammar editor on http://foo123.github.io/examples/codemirror-grammar/ and clean the code editor the Ctrl+SPACE suggest
true | false
which is not valid language according to grammar as it must start with{
. Furthermore, if I type{
and then Ctrl+SPACE it correctly suggests"query"
but when I subsequently use Ctrl+SPACE instead of:
or: "
it suggests"where"
which again results in incorrect syntax.Please advise whether it is a bug or I'm doing something wrong. Many thanks for your work.