On 22.6.2010 14:08, Vladimir Kotal wrote:
On 06/21/10 10:31 PM, Bart Smaalders wrote:
On 06/21/10 04:46, anand bibhuti wrote:
Is there any code browser available for python . I need to study the
source code of IPS . In absence of any tool like Cscope or Ctags it is
vey tedious to understand the flow of code.

Please let me know if any such tool is available and where it can be
obtained from.

http://cvs.opensolaris.org/source/xref/pkg/gate/src/

works reasonably well....

Which is another way of saying 'try using OpenGrok':
  http://hub.opensolaris.org/bin/view/Project+opengrok/

However, looking at how it processes common Python files it is far from offering even basic functionality (to be on par with other Analyzers), e.g. cdm.py:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/tools/onbld/hgext/cdm.py

There is no real syntax highlighting, clicking on method calls (like CStyle.cstyle) returns empty search result, it is not possible to follow function calls even within the same file (not_check()) etc. Full search works, though.

So, for code reading it is probably okay, not so much for real code browsing.

Which brings us to this RFE:
  https://defect.opensolaris.org/bz/show_bug.cgi?id=11264
  (Add a python specific language analyzer)
- it seems to be dependent on quite a few fixes in ctags but these might be fixed already

let me push this into development trunk, I already have a skeleton, seems this is around for too long, so let's get on with it ...
Who would be willing to test it once I push the code ? ;)

--
L



v.
_______________________________________________
opengrok-discuss mailing list
opengrok-disc...@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to