The changes introduced in CDT 9* (diff link) removes support for ASTCompletionNode
's of different type than org.eclipse.cdt.core.dom.ast.ASTCompletionNode
.
If a plugin adds a contribution and inserts completion proposals which implement a different IASTCompletionNode
, (e.g. the ASTCompletionNode
from the org.eclipse.cdt.core.lrparser
, the following exception is thrown on Ctrl + Space
:
java.lang.ClassCastException: org.eclipse.cdt.core.dom.lrparser.action.ASTCompletionNode cannot be cast to org.eclipse.cdt.core.dom.ast.ASTCompletionNode
at
org.eclipse.cdt.internal.ui.text.contentassist.DOMCompletionProposalComputer.computeCompletionProposals(DOMCompletionProposalComputer.java:165)
What workarround do I have in this situation?
As mentioned on the mailing list, the cast is unnecessary, and has been removed.