2004-07-28 11:54 PM
2004-07-29 11:14 PM
david wrote:It would be great if GS added colour-coding to GDL scripts, but their text editor needs help in many other ways too. I find it very frustrating to use. One alternative is to use an external text editor and copy/paste scripts across as needed. Many text editors can be 'trained' to recognise keywords from other languages like GDL too.
Since Graphisoft have not seen fit to provide smart colourtext (as in Dreamweaver etc and Visual GDL of 1995-6, and Codewarrior) whereby colour is used to distinguish keywords, comments, parameters, strings, the poor human working with the script needs some way of distinguishing words in the script. Good java and C++ editors like Codewarrior used coloured text.
david wrote:I would personally prefer to type commands in lower case because it makes it much easier to switch between GDL and other languages. There is a strong trend to certain conventions across many languages and I think this is one reason why GS might contemplate this change.
The proposal from GS is that ALL script should be in lower case - keywords, commands, parameters etc. The justification appears to be that this is how things are in java, C etc. and its good to shake off the heritage from BASIC.
david wrote:XML is case sensitive, so "EDITOR" is not the same as "editor" or "Editor". The choice to use upper/lower case is left open, but you have to be absolutely consistent.
The new languages on the block like HTML and XML can use Upper case for keywords (FONT, STYLE etc) and lower case for strings etc, and this is a perfectly good precedent for arguing that GDL should stay with a mixture of upper and lower case.
2004-07-30 04:56 PM
2004-08-02 12:47 PM
Jay wrote:no! lets go the dreamweaver route: combined 'code' and 'design' views. a 3D 'design' window for editing your object with 3D tools (possibly the addition of 'mere' surface/polygon tools. NURBS and the like: remember we don't necessarily need object-based 3D tools in GDL as we are
The more I thought about it, the more I realized that the editor I would like to see is essentially Microsoft's Visual Basic 6 editor.
2004-08-02 04:07 PM
2004-08-03 09:56 PM
2004-08-04 01:15 AM
2004-08-24 09:10 AM
2004-08-24 03:47 PM
Aussie wrote:I have been writing GDL code since 1989 and I very much like the idea of color coding and auto indenting.
Reading this thread I think the concensus is for automatic colour insertion for commands keywords etc.
I am sure the dedicated uses will hate this idea...
2004-09-01 11:34 PM
2021-09-16 06:08 AM - edited 2021-09-16 06:09 AM
I don't think @Ed_Brown is involved with this any longer - 17 years later (!) - if he is even still at Graphisoft. But, it does seem long past time to get an automatic color-coding / indenting / smarter editor for GDL - potentially a perfect project for a new Graphisoft programmer to cut his/her/their teeth on. 🙂