Re: wishlist : structures
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Nov 07, 2000
- 459 views
David, I have already made a "variation" for part of Judith's development of the IDE which does better than "tooltips" for routine prototypes: I listed b= oth Euphoria and Win32Lib routines in combo boxes (in categories), and if you click on any routine, its prototype is put into the clipboard, so a simpl= e "paste" then puts it right away directly into the Code Editor (along with= , for those Euphoria routines which need an include to work, a commented "--include xyz.ew" following the routine prototype). Dan Moyer ----- Original Message ----- From: "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Tuesday, November 07, 2000 3:43 PM Subject: Re: wishlist : structures =A9koda wrote: >> -- type foo >> constant >> this =3D 0, >> that =3D 1, >> the_other =3D 3 > > No one would use these nopractical artificial structures. Your point is taken - there's little incentive to use an artificial syste= m. I used a pre-processor for a while to write code, but eventually abandone= d it because I got tired of the overhead. > Yes, but while there are no structures we for > sure won't get that cool dropdown in any IDE. No, but I agree that it's unlikely that people will be happy with a compromise - especially if it only worked in one particular Euphoria IDE. But I think my point remains. Even if we had sequences added to Euphoria,= it would still take a bit of work to add that cool VB magic to the IDE. The editor would have to be able to parse the source file (and included files= ) that was being edited, and track the types of each variable, along with t= he fields of each struct. There are a lot of things that could be added to t= he editor right now, for example: keyword completion, or tooltip help showin= g routine prototypes. While it's certainly possible, it's not entirely trivial. -- David Cuny