Re: Code completion in ada IDE's



mchm wrote:
I am mostly C++ and Java programmer and during mmy new project i came across Ada and IDE Apex. I have also tried GPS for GNAT and Objet Ada and my question is such : is there any environment wich could show code comlpetion for ada sources, documentation for code or any info while writing code?? I saw Aonix plugin for the Eclipse which is very good IDE but i could not get t any ideas

Depending on how it's configured, Apex can do code completion (my definition of the term, which may be different from yours). AdaGIDE will complete library package names, and the names of operations in those packages, and will create a skeleton for named parameter association for those operations. Other IDEs will have different capabilities.


GNAT 3.15p has gnatstub, which creates body skeletons for packages. It also adds a short comment to each operation. Unfortunately, that comment simply repeats the operation name, violating the basic rule that comments should not repeat what's in the code.

--
Jeff Carter
"Have you gone berserk? Can't you see that that man is a ni?"
Blazing Saddles
38
.



Relevant Pages

  • Re: How do I go about creating a minimal GNAT runtime?
    ... the Ada program is the OS and all libraries must be static. ... A problem with GNAT and this design is that GNAT uses around 50 packages ... That program uses Text_IO but not any tasking (tasking is ...
    (comp.lang.ada)
  • Re: Manifesto against Vector
    ... > Well, call me old school or so, but most of the times the only IDE I ... >>Ada allows view management. ... The problems are caused solely by renaming. ... > No, not exactly, we're talking about different packages here. ...
    (comp.lang.ada)
  • Re: A bug in gnat/gcc 3.3.3?
    ... The quality of GCC 3.4 is similar to, ... I still think that GNAT 3.15p is the best ... development in Ada and C++. ... The packages conflict with each other (i.e. you can install ...
    (comp.lang.ada)
  • Re: GNAT in Debian, heads up
    ... If you just want to write Ada software, ... > recommend using Debian Sarge and gnat 3.15p-12. ... GNAT and using it in my new projects. ... > gcc-snapshot packages are built. ...
    (comp.lang.ada)
  • Re: #Ada IRC channel on Freenode
    ... As a huge fan of your work maintaining the GNAT and Ada ... packages for Debian, ...
    (comp.lang.ada)