home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 16022 < prev    next >
Encoding:
Text File  |  1992-11-10  |  3.1 KB  |  67 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!erc
  3. From: erc@netcom.com (Eric Smith)
  4. Subject: Re: WANTED: A SOURCE CODE based C++ class browser for MS Windows.
  5. Message-ID: <1992Nov10.133726.15124@netcom.com>
  6. Keywords: c++ browser 
  7. Organization: Netcom - Online Communication Services (408 241-9760 guest)
  8. References: <1992Nov9.203226.26681@is.morgan.com>
  9. Date: Tue, 10 Nov 1992 13:37:26 GMT
  10. Lines: 55
  11.  
  12. In article <1992Nov9.203226.26681@is.morgan.com> jlieb@is.morgan.com (Jerry Liebelson) writes:
  13. >Does anyone know a good C++ class browser for MS Windows that will
  14. >browse source code in multiple header and source directories? I don't
  15. >want to buy another compiler, just need the browser.  Such a class
  16. >browser should do the following:
  17. >
  18. >   1. Let you specify a list of include and source directories and
  19. >optional preprocessor #defines and see something like a FileManager-like
  20. >class hierarchy tree.
  21. >   2. Then by clicking on any class, selectively list all/some/none inherited
  22. >methods and data by indicating how far up the inheritance tree to show.
  23. >   3. In addition, selectively show any combination of
  24. >public/private/protected and virtual/const/static functions and data.
  25. >   4. By clicking any particular method or data, see its complete declaration
  26. >and definition.
  27. >
  28. >When I purchased Borland's C++ with App Frameworks, I was rather shocked
  29. >that the builtin class browser only worked on executables. I like what
  30. >Borland has done but honestly, any good OO development environment, C++
  31. >or otherwise, should have a class hierarchy browser for use with source code.
  32. >After all, code comes before executable!
  33. >
  34. >
  35. >-- 
  36. >Jerry Liebelson
  37. >jlieb@is.morgan.com
  38. >Compuserve: 73477,2740
  39. >
  40.  
  41.  
  42. I would like to know too, because I am going to be implementing one soon
  43. and would like to compare it with others.  I would also like to know what
  44. features people most want, etc.
  45.  
  46. The feature most important to me is speed of accessing symbols, etc.  For
  47. example, if I select foo, I want to be able to instantly pop up the
  48. definition of foo, and to go there and select bar and pop up its definition.
  49. Any delays in accessing definitions would in my opinion make it a much
  50. lower quality browser, so that is my top priority, even if it means mine
  51. will require more memory than some others.
  52.  
  53. A C++ class browser is a lot more complicated to implement than it sounds,
  54. but I already have most of the work done, effectively, because I have
  55. been working on other programs which share a lot of the same functionality.
  56. The main complexity is in parsing/indexing the C++ code such that it can be
  57. located instantly when needed.  It needs to keep track of the type and scope
  58. of every name it sees, and be able to retrieve that information fast.  Macros
  59. complicate it too by making it keep track of the names seen before and after
  60. preprocessing, and still be able to locate the original source code instantly
  61. whenever a name is selected.
  62.  
  63. But the complicated parts mentioned above are the parts I have effectively
  64. already done, so the rest is just a matter of getting enough time to
  65. implement it, because I'm working on a couple of other programs first, which
  66. also share a lot of the same functionality.
  67.