Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] JavaScript code formatters

I do not know if it is completely decoupled from UI. Its code was largely derived from JDT and it should run as a Job (I can't find a pop-up action to test this). 

On Tue, Jan 25, 2011 at 11:50 AM, Boris Bokowski <Boris_Bokowski@xxxxxxxxxx> wrote:

Do you happen to know if the JSDT formatter can be run headless? If yes, that would make it an obvious choice.

Nevertheless, I'd still be interested in the ability to integrate other formatters "out there on the web", to ensure that our architecture supports this scenario.

We could use other examples too, like http://smush.it or http://www.punypng.com/ for image compression, http://framebox.org/ for UI mockups, http://spritegen.website-performance.org/ or http://www.spritebox.net/ for CSS sprite generation, you name it...

Boris

Inactive hide details for Eugene Ostroukhov ---2011/01/25 14:32:00---I had a pretty good experience with JSDT formatter. It is Eugene Ostroukhov ---2011/01/25 14:32:00---I had a pretty good experience with JSDT formatter. It is based on JDT code and I believe that both


From:

Eugene Ostroukhov <eostroukhov@xxxxxxxxx>

To:

Orion developer discussions <orion-dev@xxxxxxxxxxx>

Date:

2011/01/25 14:32

Subject:

Re: [orion-dev] _javascript_ code formatters

Sent by:

orion-dev-bounces@xxxxxxxxxxx




I had a pretty good experience with JSDT formatter. It is based on JDT code and I believe that both Orion and JSDT would benefit from sharing this codebase.

Best regards,
Eugene

On Tue, Jan 25, 2011 at 11:23 AM, Boris Bokowski <Boris_Bokowski@xxxxxxxxxx> wrote:
    Does anybody have experience with existing code formatters? I've seen http://jsbeautifier.org/ and http://jsutility.pjoneil.net/ - there are probably others as well.

    Who could look at integrating these (or one of them) with Orion?

    With integration, I mean how can I make use of the functionality in a useful way from Orion's code editor or navigator? It would be OK to assume that the code formatter tools are running on some other server (I am not even sure if the code formatters above have a server component). Being able to demo these kinds of loosely-coupled integrations and not assume that everything has to happen on one monolithic server would be good. In case the formatting code is client-side code, we could do something similar to how we are using JSLint today.

    If there are any takers, please let me know on IRC (see
    http://wiki.eclipse.org/Orion for details). This would be something to do after we've shipped M5 (i.e. after this week).

    Thanks!

    Boris


    _______________________________________________
    orion-dev mailing list

    orion-dev@xxxxxxxxxxx
    http://dev.eclipse.org/mailman/listinfo/orion-dev
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/orion-dev



_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/orion-dev



Back to the top