code completion practically unusable
At current (2.13.1) in the VSCode environment in combination with dzn-lsp v1.2.0 on Windows, code completion is practically unusable:
- when hitting ctrl-space, one first gets a 'loading' notification for about 5 to 8 seconds
- when the code completion list appears, it is a large list of items most of the time, even with items that do not relate with Dezyne and your model
- it appears not to be context aware. For instance when you have declared an
enum
, when defining it in thebehaviour
. SayMyEnum foo =
and then hit ctrl-space it will come back with a large list of irrelevant items. I have to 'help' it with adding a few hints, likeMyEnum foo = MyEn
, then ctrl-space but then again a long list. Finally, withMyEnum foo = MyEnum.
and ctrl-space, still a long list of irrevelant proposals.
In Dezyne 2.9.2 this actually worked like a charm, quick and really to-the-point assisting. It really sped up writing models. I guess most Dezyne developers are used to that experience.
Example:
Edited by Michael van de Ven