Re: Wishlist IDE * Reload ".exw"-Files

new topic     » goto parent     » topic index » view thread      » older message » newer message

I don't know anything about IDE design or real programming, but I may have
an idea for a hack that would work, and maybe be beneficial in other ways.

Why not create an .exw and multiple .ew files from the .prj files? For
example, the main file would look like:

-----------------
include win32lib.ew
include controls.ew
include dofoo1.ew
include dofoo2.ew

winmain(MainWin, Normal)
------------------

The controls would be created in controls.ew. Then the IDE could look in
there, and as long as the controls created by hand followed correct syntax
and some broad conventions, it would be able to translate them back into
.prj file format.

The dofoo1.ew include would include the on_blah(open, click, whatever) code
for a particular control. You would have a different include for each
control created.

I know that's a lot of files and a lot of global variables, but it makes
the code extremely modular and easy to edit. It also enforces modular
thinking, which is a good thing IMO.

I'm sure there are disadvantages to this, but I don't really know enough to
see them. Shoot away, and after we see the holes, maybe someone will have
an idea that will actually work.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu