Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6873858
By: olah

We are using Eclipse with Pydev and Pydev Extension and I have a question 
regarding
code completion and token comments. We does not know how to best receive this
functionality in our hard coded python interfaces. We have modules written in
non-python languages and provide python interfaces to these modules, not using
SWIG wrappers. For functions located in these modules code completion is not
available since there is no python code that Pydev could parse, they are just
located in binary modules.

A dirty workaround to this problem could be to generate wrapper files in python,
containing stubs with docstrings that can be parsed by Pydev, followed by an
import of the real interface module that rebinds all symbols. Today we already
produce such stubs, they are used to produce documentation with epydoc.

For other modules we use doxygen and SWIG and then its quite easy to get code
completion and comments to work correctly. Run doxygen and generate xml files,
then run doxy2swig.py that converts the xml information into docstrings, and
include the generated file in the SWIG configuration.

Is there any similar process that could be used to solve our problem with the
hard coded interfaces. Is there anyway that code completion and token comments,
in any format, could be associated with the functions located in the binary
modules? Or is there any other way in which this problem could be solved?

Best regards
/Ola

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to