[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ide-dev] Code editors in the Eclipse (IDE)

I agree that this would have to be a new editor and not add-ons to the existing Text Editor.

Dani



From:        Fabio Zadrozny <fabiofz@xxxxxxxxx>
To:        Discussions about the IDE <ide-dev@xxxxxxxxxxx>
Date:        16.06.2016 17:14
Subject:        Re: [ide-dev] Code editors in the Eclipse (IDE)
Sent by:        ide-dev-bounces@xxxxxxxxxxx




Finally implementing all this directly into TextEditor will most likely
not work because one will interfere with subclasses like JDT, Xtext, ...
and IIRC the editor uses SourceViewer as now (subclasses like JDT
overwrite that) and eg for Folding you need to have a ProjectionViewer.

Leave it alone and start with a clean code base who takes the lessons
learned since then and implement a new one:
* who uses services
* who uses dependency injection
* who can run in
  - the Eclipse IDE
  - an e4 application with core.resources
  - an e4 application without core.resources
  - an plain java-application without core.resources
  - an e4 application with SWT
  - an e4 application with *fill-in-your-favorite*
* don't use preferences to carry colors, they should come from a theme

Now to finish up: Can this be done, is there a PoC.

Yes there is:

SWT:

https://github.com/BestSolution-at/code-swt

JavaFX

https://github.com/BestSolution-at/dartedit

​Hi​ ​Tom,

​A question, how does such an editor leverage existing technology in Eclipse? For instance, does AnyEdit work with it? (from your description, it seems it won't work, in which case it's almost a new Eclipse -- not that it's not valid, this is the path taken by Eclipse Che and Orion, but I'm not sure if this should be the path in the Eclipse codebase itself).

Cheers,

Fabio_______________________________________________
ide-dev mailing list
ide-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ide-dev