Skip to content
Discussion options

You must be logged in to vote

My blog is 1000 years old from a time where there was no ide proposal provider but the principle should be transposable to the ide one

Oh, I missed that. I managed to get it to work using a custom IdeCrossrefProposalProvider:

public class CustomIdeCrossrefProposalProvider extends IdeCrossrefProposalProvider {
	@Override
	protected ContentAssistEntry createProposal(IEObjectDescription candidate, CrossReference crossRef,
												ContentAssistContext context) {
		var qualifiedName = getQualifiedNameConverter().toString(candidate.getName());
		if (crossRef.getTerminal() instanceof RuleCall call) {
			if (call.getRule().getName().equals("STRING")) {
				qualifiedName = '"' + qualifiedName

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@cdietrich
Comment options

@cdietrich
Comment options

@cdietrich
Comment options

@iTob191
Comment options

Answer selected by iTob191
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants