Hi, after following the discussion I'd like to let you know that I am currently doing nearly the same as Tom. Before talking about that I'd like to introduce myself, too. My name is Holger and I am working for itemis especially on xtext / xtend. Currently we have a research project to bring dsls in the web.
I started to create a standalone editor with orion without orion server and let a eclipse based server compute proposals , validation and so on. Doing that I had the same issues that Tom reported and came up with a forked version of orion, too. The only thing that might be different is that I am using embedded base64 encoded images that are coming from the server to be more flexibel.
The last point Tom mentioned is something we are currently working on, too. Because of the fact that everything is computed on a eclipse server we planed to send the whole model to the same - let,the server do themwork and after that just replace the whole text in the editor. But... a hook to so that on the client World be more fun! May be we could talk about this in a more detailed level on eclipsecon next week?
Cheers, Holger Hi Tom,
Thanks for introducing yourself here
for those you might not know you. Consuming the Orion editor without the
server is quite a common case and one I think we support fairly well.
Both of your content assist suggestions
are very reasonable requests, and I think we can easily add them immediately
after 1.0 is out. We can cherry-pick a change from GitHub but we still
need a bug report to track. For a) we would need to do some sanity check
of the HTML to ensure it is not inserting malicous HTML or scripts. We
actually had code much like this early on, but we restricted it because
of security concerns. However we could open this up to accept img and formatting
tags at least to allow it to be made prettier. Please enter bug reports
for both of these enhancements and include a pointer to the commit on github.
Contributions are most welcome!
John
Hi,
Before filing bugs against Orion I'd like to introduce myself and give
some background informations on what I'm doing with Orions-Editor.
I'm currently working on a proof of concept Desktop-(Java)-IDE using
JavaFX as the widget toolkit because JavaFX does not yet have a rich
text widget I'm simply embedding Orions editor component through the so
called WebView and use the _javascript_ <=> Java bridge provided by
JavaFX
=> I don't have an orion-server! [1,2]
Now to my request I have 2 problems with the current content assist:
a) the proposals are not nice enough (compare them to the proposals
provided by the Eclipse-IDE). I'd like to show an icon in front
and
meta informations like the package, owning class, ... in more light
color
b) I need not only insert informations after the prefix but replace the
prefix instead.
There are various reasons:
* FQN class names need to be inserted (see attached screenshot)
* Upper/lower case replacement e.g. imagine in write sett and popup
the content assist which proposes setText()
I've forked the client stuff to my github repo and implemented both
functions. [3,4,5]
Is this something you want to integrate into your codebase after you
have shipped your release? How is your process? Are you using gerrit or
accept pull request on github. I'm committer on various eclipse projects
if that matters.
Next thing I'll have to take a look is to automatically add imports on
content proposals but those 2 feature are the most important.
Tom
[1]https://github.com/tomsontom/fx-ide
[2]http://tomsondev.bestsolution.at/2012/10/04/eclipse-techs-on-steroids/
[3]https://github.com/tomsontom/orion.client/commits/master/
[4]https://github.com/tomsontom/orion.client/commit/368ecc215c159aa5513cd89adcdb9331bd74086e
[5]https://github.com/tomsontom/orion.client/commit/35ad2c842332a03fedd2658fd43a0e59347ed054
--
B e s t S o l u t i o n . a t
EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax
++43 512 935833
http://www.BestSolution.at
phone
++43 512 935834
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
<replace.png>
|