Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » generating an IDE
generating an IDE [message #480144] Fri, 14 August 2009 03:11 Go to next message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

I followed the guide to create a new IDE and noticed that there is a lot
of boilerplate code that has to be written to connect all the stuff
together. Wouldn't it be easier to have a wizard that would do that
instead?

Since I'm going to try to migrate to DLTK anyway, it will be just as
easy to write the wizard myself. I think that it should generate
placeholders for all the services, like an extended "example python"
application.

Actually, I will probably take the "example python" and add to it more
hooks (like for example semantic highlighting)

Any thoughts?

best regards,
Vlad

P.S. Another way to do this would be to have a generic DLTK application
that has all the hooks but does nothing, and be able to plug in various
language-specific participants. Kind of an IDE with only the basic
AbstractScriptSomething classes.

The user should still be able to override the generic functionality, so
that if a hook he needs is missing, he still can proceed. Also very
specific things like debugging can't be made generic. But it feels like
the "normal" IDE functionality can.

Would that be a better way? I like this better, but I'm not sure if it
can work.

/Vlad
Re: generating an IDE [message #480151 is a reply to message #480144] Fri, 14 August 2009 03:37 Go to previous messageGo to next message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Vlad Dumitrescu wrote:
> I followed the guide to create a new IDE and noticed that there is a lot
> of boilerplate code that has to be written to connect all the stuff
> together. Wouldn't it be easier to have a wizard that would do that
> instead?

One problem is that one might want to generate several plugins for the
IDE. I'm not sure if the NewProjectWizard can do that.

Also the plugin structure would be fixed, but after generating the
project(s) one is free to move things around at will.

regards,
Vlad
Re: generating an IDE [message #482364 is a reply to message #480144] Wed, 26 August 2009 07:24 Go to previous messageGo to next message
Tim  is currently offline Tim
Messages: 21
Registered: August 2009
Junior Member
Hi Vlad,

I followed the python IDE guide as well. Currently i'm creating the parser though the ANTLR.

My objective is to create a nice IDE for a very small programming language, but with e.g. the highlighting and syntax error messages.

Let me know about your progress!

Rgrds,
Tim
Re: generating an IDE [message #482811 is a reply to message #482364] Fri, 28 August 2009 03:36 Go to previous message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Hi Tim,

Tim wrote:
> I followed the python IDE guide as well. Currently i'm creating the
> parser though the ANTLR.
>
> My objective is to create a nice IDE for a very small programming
> language, but with e.g. the highlighting and syntax error messages.
>
> Let me know about your progress!

I'll try to remember to post updates, but from how it looks like right
now it will be postponed for at least a couple of months.

The big problem is (as usual?) that we have to maintain the current
version too, and there's only 24 hours in a day... :-)

I've also been trying to take the Ruby IDE and cut out the Ruby specific
parts (and rename everything, of course), because there is a lot of
functionality that is available there and I thought I might get it
almost for free, but it doesn't feel like it's going to work. It feels
like practicing black magic and I don't like that, I need to understand
at least partially the "what"s and the "why"s.

regards,
Vlad
Previous Topic:[BUILD] M-M200908241320-200908241320
Next Topic:comparing 0.95 with 1.0
Goto Forum:
  


Current Time: Wed Jul 30 07:22:20 EDT 2014

Powered by FUDForum. Page generated in 0.01816 seconds