Bug 393412 - Editor Improvement - Syntax Highlighting & Content Assist for RichStrings
Summary: Editor Improvement - Syntax Highlighting & Content Assist for RichStrings
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 377382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-02 08:55 EDT by Stanley Hillner CLA
Modified: 2013-09-16 12:44 EDT (History)
2 users (show)

See Also:


Attachments
Feature proposal for annotation-based RichString extensions. (222.70 KB, patch)
2012-11-02 09:07 EDT, Stanley Hillner CLA
no flags Details | Diff
Syntax coloring example (113.24 KB, image/png)
2012-11-02 09:28 EDT, Stanley Hillner CLA
no flags Details
Content assist example (53.15 KB, image/png)
2012-11-02 09:29 EDT, Stanley Hillner CLA
no flags Details
Content assist for languages (31.70 KB, image/png)
2012-11-02 09:29 EDT, Stanley Hillner CLA
no flags Details
Highlighting preferences (54.54 KB, image/png)
2012-11-02 09:30 EDT, Stanley Hillner CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stanley Hillner CLA 2012-11-02 08:55:56 EDT

    
Comment 1 Stanley Hillner CLA 2012-11-02 09:07:30 EDT
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.
Comment 2 Stanley Hillner CLA 2012-11-02 09:10:01 EDT
This feature proposal handles the request Bug 377382.
Comment 3 Stanley Hillner CLA 2012-11-02 09:28:48 EDT
Created attachment 223106 [details]
Syntax coloring example
Comment 4 Stanley Hillner CLA 2012-11-02 09:29:23 EDT
Created attachment 223107 [details]
Content assist example
Comment 5 Stanley Hillner CLA 2012-11-02 09:29:48 EDT
Created attachment 223108 [details]
Content assist for languages
Comment 6 Stanley Hillner CLA 2012-11-02 09:30:09 EDT
Created attachment 223109 [details]
Highlighting preferences
Comment 7 Sven Efftinge CLA 2012-11-08 05:49:29 EST
*** Bug 377382 has been marked as a duplicate of this bug. ***
Comment 8 Sven Efftinge CLA 2013-09-16 12:44:00 EDT
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.