Open lhstrh opened 1 year ago
I would be hesitant to develop this feature using XText. I realize that it will probably be multiple years before we drop XText, but within a year we are likely to have the LDS forwarding requests to a non-XText language server that is not written in Java or Xtend. That might provide a better opportunity to implement such features.
That makes sense. I also tagged @a-sr who might be aware of a low-effort way of making this work with Xtext (the functionality is already there, it just needs to be leveraged in the language server). If there is such way, a quick fix would be welcome so that we have something decent to work with in the meantime.
You should check whether the ContentAssistService
or IdeContentProposalProvider
is called by setting breakpoints in there or exists.
It looks like autocomplete doesn't work as well in VS Code as it does in Epoch. The scope of suggestions (triggered by ctrl + space) appear to be generic and statistical rather than grammar-based. In Epoch, only elements that make sense syntactically are suggested.