|
Re: Access to the proposal provider through the Xtext Web application [message #1723588 is a reply to message #1723577] |
Tue, 16 February 2016 16:55 |
|
hi,
can you be a bit more specific about your question.
the web version has support for proposals by default. (crtl + space)
the proposal provider to implement (subclass) and bind (in the webmodule) is
class MyDslWebModule extends AbstractMyDslWebModule {
def Class<? extends IdeContentProposalProvider> bindIdeContentProposalProvider() {
MyDslProposalProvider
}
}
class MyDslProposalProvider extends IdeContentProposalProvider {
override createProposals(Collection<ContentAssistContext> contexts, IIdeContentProposalAcceptor acceptor) {
println("start here")
super.createProposals(contexts, acceptor)
}
}
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04696 seconds