Community
Participate
Working Groups
Created attachment 223103 [details] Feature proposal for annotation-based RichString extensions. Here is a patch containing my proposal for the extension of the RichString highlighting and content assist features. Both features can be enabled and disabled using the newly introduced annotation 'RichString'. If the Highlighting or the content assist feature is enabled, the work is delegated to the extension providing the appropriate delegate. If no such delegate exists, nothing happens and the RichStrings behave as if no annotation is present. Furthermore there is a content assist available for the configured languages. It is also possible to change the highlighting colors at the xtend syntax coloring preference page. I will add some screenshots afterwards to give a short impression of the new features.
This feature proposal handles the request Bug 377382.
Created attachment 223106 [details] Syntax coloring example
Created attachment 223107 [details] Content assist example
Created attachment 223108 [details] Content assist for languages
Created attachment 223109 [details] Highlighting preferences
*** Bug 377382 has been marked as a duplicate of this bug. ***
This is really a cool feature. I'd like to support this via library. So we need to come up with some macro facilities to support this kind of things.