On 9/20/06, Sanjay <[EMAIL PROTECTED]> wrote: > On model diagram - The vision was something like an MDA tool, where we > can present the business model through a beautiful diagram, with a lots > of intelligent features. This diagram can work as a presentable > documentation for the Business Object Model as well as Database Model. > Eclipse with plugins available today can not support this, AFAIK, > although toolbox has got this potential to grow in this direction.
You'll find that a large number of people in the Python community aren't impressed by fancy diagrams. I personally consider non-code artifacts created during development to be a waste of time. > On code completion - Eclipse with plugins does support code completion, > so do some other python IDEs. But I don't think they support it for > dynamically added attributes. Is it technically possible to have some > advanced code completion, e.g. for dynamically added attributes, if the > IDE knows that it is being used only for TG? This was the vision on > code completion. I think IDEs can handle dynamically added attributes because they show up in the class dict. The problem is __getattr__ and friends. Handling this case is not possible unless IDE writers come up with some sort of de facto standardized method name to call in case this occurs. The only place I've seen this is with PyCrust and Schevo (both done by Patrick O'Brien) and, of course, it doesn't work anywhere else. As far as code completion, I had a fairly extensive set of TurboGears/SQLObject completion macros for Vim but I could never get them to work consistently, so I never released them and don't use them anymore. I'll probably try again now that Vim 7 is out. It helps that I can use python rather than vimscript. ;] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

