Some help with variable auto-completion #353
Replies: 4 comments 4 replies
-
Hi @paulfrench, That's weird, I just tried your grammar and there actually seems to be something wrong with the indexing. For example, when using only I will investigate this one in a separate issue. |
Beta Was this translation helpful? Give feedback.
-
Hello @msujew , I've not seen any issues created for this? Is it an issue? |
Beta Was this translation helpful? Give feedback.
-
Hello @msujew , not sure how this happened but there is a mistake in the grammar. Apologies for wasting your time... The following...
...should obviously be
Best regards |
Beta Was this translation helpful? Give feedback.
-
Yes, it almost works like a charm. I still have one weird issue which I'm double checking the grammar for, for example...
...if I place the cursor between the [] brackets then I get no sensible auto completion. I have to create a space first within the square brackets and then I get "id, surname and firstname" as possible choices. |
Beta Was this translation helpful? Give feedback.
-
Here is a simple grammar...
Here is a simple model based on this grammar
For the keys property I cannot get auto-completion to work. It works no problem for adding an "extends" clause, you get a nice list of Entities you can reference. For keys property I just get the last property specified in the entity as a possible choice. For example id in the Person entity gives an error. Can I achieve this or do I need to dig deeper into scoping etc and the index file used.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions