Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete #93

Open
lhstrh opened this issue Jan 30, 2023 · 3 comments
Open

Autocomplete #93

lhstrh opened this issue Jan 30, 2023 · 3 comments
Assignees

Comments

@lhstrh
Copy link
Member

lhstrh commented Jan 30, 2023

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.

@petervdonovan
Copy link
Contributor

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.

@lhstrh
Copy link
Member Author

lhstrh commented Jan 30, 2023

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.

@soerendomroes
Copy link
Collaborator

You should check whether the ContentAssistService or IdeContentProposalProvider is called by setting breakpoints in there or exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants