Hi all,
Dani and I had the opportunity to meet in the last couple of days
and to work together on this topic, and it was IMHO a productive
meeting to find a way to have this extensible editor fit into
Platform.
As there is a strong opposition against changing the default text
editor, decision was taken to create a new editor supporting
extensibility. This story is tracked in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=497871 .
Then one can easily contribute specific behavior to this generic
text editor, according to the content-type of the document it's
editing.
The proposal on https://git.eclipse.org/r/75921 was updated to make
the generic editor a new one, without changing anything of the basic
text editor. It also includes some example of extensions that add to
to the generic editor support for better edition of .project files
(syntax highlighting, completion, hover).
Some local tests manged to take advantage of LicLipse or Language
Server Protocol (
https://bugs.eclipse.org/bugs/show_bug.cgi?id=496114 ) to provide
those features as extension to the generic editor. Another obvious
extension that would be interesting but that is not yet started
would provide syntax highlighting and some grammatical completion
using TextMate (
https://bugs.eclipse.org/bugs/show_bug.cgi?id=486961 )
Extenders providing extension for a given content-type would be
responsible of associating the content-type with the Generic Editor.
This note is mostly to give some general status, please prefer using
the most related bugs for technical discussion.
Cheers,
|