bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #24751] Gorm should be able to update existing class files


From: Richard Frith-Macdonald
Subject: [bug #24751] Gorm should be able to update existing class files
Date: Wed, 05 Nov 2008 08:14:35 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1

Follow-up Comment #1, bug #24751 (project gnustep):

This was something I considered when I first wrote Gorm, but the variety of
ways in which an ObjC source file can be written (when you add in the
complications of the use of the C preprocessor and conditional compilation
etc) mean that it's almost impossible to do reliably.  The programmer would
need to be very careful about what they did, in order to avoid breaking the
parsing etc.

The only solution I could  come up with was to have an option to scrap the
normal paradigm of allowing the programmer to use their favorite editor, and
store the code for each individual method in a separate file or database
record, and have an integrated editor allowing you to edit the contents of one
method per window.  If Gorm controlled the editing environment that way, it
could just generate the source code on demand by pasting together the
individual method implementations  together with some prefix code before the
method implementations I guess.

It would be a big job to do add the editing facilities you would want though
,,, so I just went the way NeXT went, though the idea of an integrated editor
of that sort still appeals to me.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24751>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]