Search code examples
eclipsextextxtendcontent-assist

Is it possible to set auto-activation triggers for Xtend and other Xtext-generated languages?


In Eclipse, we can trigger Content-Assist automatically for Java for a given of characters, but I noticed that there is no such option in the Xtext generated languages or Xtend. Is it possible to set auto-activation triggers for these languages other than the default Ctrl + Space?


Solution

  • You just need to a string binding named XtextContentAssistProcessor.COMPLETION_AUTO_ACTIVATION_CHARS as described here: https://christiandietrich.wordpress.com/2011/09/19/xtext-content-assist-auto-activation/