Home » Eclipse Projects » Eclipse Platform » Introducing MelnormeEclipse, a framework for building Eclipse-based IDEs
Introducing MelnormeEclipse, a framework for building Eclipse-based IDEs [message #1725801] |
Mon, 07 March 2016 12:41  |
Eclipse User |
|
|
|
I want to introduce a project that's been worked on for some time now, and that might be of interest to other people out there.
MelnormeEclipse (formelly "LangEclipseIDE") is a framework for building Eclipse based IDEs for general purpose languages:
https://github.com/bruno-medeiros/MelnormeEclipse/wiki
MelnormeEclipse has a focus on the IDE paradigm of using external programs for building, code completion, and any others sorts of language semantic functionality. In this way it differs from XText, which aims to build language functionality all the way from the ground up (from parsing to semantic analysis, etc.) directly in XText. In MelnormeEclipse an internal semantic engine can be used as well, but MelnormeEclipse provides no infrastructure for building such an engine, only to integrate with it. What MelnormeEclipse provides is mostly UI infrastructure (and boilerplate code to integrate with external programs).
MelnormeEclipse is more akin to a project like DLTK, and indeed it shares a common history and even some code lineage. (See https://github.com/bruno-medeiros/MelnormeEclipse/blob/master/README-MelnormeEclipse.md#historybackground )
LangEclipseIDE is currently used "in the real world" by 3 IDEs: Goclipse, RustDT, and DDT (https://github.com/bruno-medeiros/MelnormeEclipse/wiki#projects-using-melnormeeclipse)
[Updated on: Mon, 07 March 2016 12:52] by Moderator
|
|
|
Re: Introducing MelnormeEclipse, a framework for building Eclipse-based IDEs [message #1725810 is a reply to message #1725801] |
Mon, 07 March 2016 15:12   |
Eclipse User |
|
|
|
Hi,
This is interesting I've been working on a very similar idea where I
have today support for:
- Typescript (using the LanguageService in memory)
- Dart (using the DartAnalysis-Server)
Rust and Go are high on my list of other languages, the difference to
your project is that I'm not targeting SWT and I'm not trying to built
an IDE but more a smart code editor like VSCode, so no workspace no core
resources, ... .
Tom
On 07.03.16 12:41, Bruno Medeiros wrote:
> I want to introduce a project that's been worked on for some time now,
> and that might be of interest to other people out there.
> MelnormeEclipse (formelly "LangEclipseIDE") is a framework for building
> Eclipse based IDEs for general purpose languages:
>
> https://github.com/bruno-medeiros/MelnormeEclipse/wiki
>
> MelnormeEclipse has a focus on the IDE paradigm of using external
> programs for building, code completion, and any others sorts of language
> semantic functionality. In this way it differs from XText, which aims to
> build language functionality all the way from the ground up (from
> parsing to semantic analysis, etc.). In MelnormeEclipse an internal
> semantic engine can be used as well, but MelnormeEclipse provides no
> infrastructure for building such an engine, only to integrate with it.
>
> MelnormeEclipse is more akin to a project like DLTK, and indeed it
> shares a common history and even some code lineage. (See
> https://github.com/bruno-medeiros/MelnormeEclipse/blob/master/README-MelnormeEclipse.md#historybackground
> )
>
> LangEclipseIDE is currently used "in the real world" by 3 IDEs:
> Goclipse, RustDT, and DDT
> (https://github.com/bruno-medeiros/MelnormeEclipse/wiki#projects-using-melnormeeclipse)
>
|
|
|
Re: Introducing MelnormeEclipse, a framework for building Eclipse-based IDEs [message #1725898 is a reply to message #1725810] |
Tue, 08 March 2016 06:53   |
Eclipse User |
|
|
|
Thomas Schindl wrote on Mon, 07 March 2016 20:12Hi,
This is interesting I've been working on a very similar idea where I
have today support for:
- Typescript (using the LanguageService in memory)
- Dart (using the DartAnalysis-Server)
Rust and Go are high on my list of other languages, the difference to
your project is that I'm not targeting SWT and I'm not trying to built
an IDE but more a smart code editor like VSCode, so no workspace no core
resources, ... .
Tom
>
Not targeting SWT? Does it target/use any other Eclipse technologies though?
I'm curious, if it's not targeting SWT or the Eclipse Platform, why not just based it on VSCode itself, Sublime, or a similar editor?
|
|
|
Re: Introducing MelnormeEclipse, a framework for building Eclipse-based IDEs [message #1725915 is a reply to message #1725898] |
Tue, 08 March 2016 08:48   |
Eclipse User |
|
|
|
It's based on JavaFX, it uses Eclipse Text and can be used in an e4
application or plain java.
Tom
On 08.03.16 06:53, Bruno Medeiros wrote:
> Thomas Schindl wrote on Mon, 07 March 2016 20:12
>> Hi,
>>
>> This is interesting I've been working on a very similar idea where I
>> have today support for:
>> - Typescript (using the LanguageService in memory)
>> - Dart (using the DartAnalysis-Server)
>>
>> Rust and Go are high on my list of other languages, the difference to
>> your project is that I'm not targeting SWT and I'm not trying to built
>> an IDE but more a smart code editor like VSCode, so no workspace no core
>> resources, ... .
>>
>> Tom
>> >
>
>
> Not targeting SWT? Does it target/use any other Eclipse technologies
> though?
> I'm curious, if it's not targeting SWT or the Eclipse Platform, why not
> just based it on VSCode itself, Sublime, or a similar editor?
>
>
>
|
|
|
Re: Introducing MelnormeEclipse, a framework for building Eclipse-based IDEs [message #1729722 is a reply to message #1725915] |
Mon, 18 April 2016 09:15  |
Eclipse User |
|
|
|
Thomas Schindl wrote on Tue, 08 March 2016 13:48It's based on JavaFX, it uses Eclipse Text and can be used in an e4
application or plain java.
Tom
Interesting. Well, there probably isn't much MelnormeEclipse can offer to help you on your project, as it currently stands. Most of the framework is UI code. Although there is a fair bit to help manage language SDK toolchain settings and build operations (and report errors back to the workspace, as markers). Does your project aim to have integration with build operations ? Since you mentioned it is meant to be more like a smart code editor, I'm not sure. If it does integrate with build operations there might be a bit MelnormeEclipse can offer. Depends on what kind of functionality you want.
I've also wanted to enable editor auto-save, and on-the-fly compilation of MelnormeEclipse projects (https://twitter.com/brunodomedeiros/status/712327368157876225) , but this requires changes to Platform Text code, namely asynchrounous auto-save. I've submitted a patch to the Eclipse, hopefully it will be reviewed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=487653 . This seems like it would be useful for your project too, if accepted.
Perhaps more interestingly, I've starting thinking about the idea of porting MelnormeEclipse to IntelliJ. Although I've been a long time Eclipse user, I've grown a bit disillusioned with it on the last few years, and I fear Eclipse may be becoming a dinosaur in the face of IntelliJ, VSCode, etc.. (some would say it already is)
The UI code of Melnorme already uses a widget functionality layer over most SWT/JFace code (like JDT's DialogField's), so porting that bit should be quite feasible and not too hard. The harder bit would be all the dependencies on Eclipse workspace and resources code. In any case, it's just a thought for now, I haven't had time to look into any of that. I'm not even familiar with IntelliJ plugin development.
|
|
|
Goto Forum:
Current Time: Tue Apr 15 02:56:24 EDT 2025
Powered by FUDForum. Page generated in 0.25093 seconds
|