On 05/31/2016 10:28 AM, Mickael Istria wrote:
On 05/31/2016 10:21 AM, Angelo zerr wrote:
Ideally, I would like to see a generic language editor that can host
any language and integrate to these services.
Even more ideally, it would be the default Eclipse text editor that
would support some extensions providing coloration, completion,
navigation (Ctrl+Click/F3).
Validation and quickfix can already be added by builders and markers,
and are hooked at the resource level, so there is nothing more to do.
Once such extension points exist, typescript.java could be used to
hook services to the default Text Editor. However, it still makes
sense to already try to integrate it right now in JSDT editor so 1.
value is still delivered while Text Editor doesn't yet support such
extensions and 2. the code written will probably be easy to reuse later.
Note that most of those extension points do already exist in SSE and
derived editors, so a possibility is to 1st evaluate the possibility to
get SSE editor to work without being subclassed but still consuming
extensions.
The feature still make more sense in Platform Text though, as we cannot
safely assume that users are going to open some default SSE editor for
unknown files. Also, the SSE editor has some additional complexity
(partitions), that are probably too fine grained for generic extensions
in Platform Text. Such support for partition would rather be
"blackboxed" by the extensions that need it rather than exposed in
default text editor.
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>
_______________________________________________
wtp-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev