Community
Participate
Working Groups
When Ctrl-1 is about to change your code, it shows you a preview of what it will look like to the right of the autocompletion box. That's very useful. It would be even more noticeable if it was using the same syntax coloring as the editor. Reported here after a discussion there: https://twitter.com/EclipseJavaIDE/status/1036622241843343360?s=19
The model seems to come from CUCorrectionProposal.getAdditionalProposalInfo(). It would be worth putting a breakpoint on this method and see if the view part can be tweaked from inside JDT. One possible issue is that this is the default JFace dialog or the JavaDoc one from JDT, and that the model sends a plain String. If it is so, then it means we'd had to implement another case from when the proposal is a CUCorrectionProposal to use a rendering using JDT's syntax highlighter.