On 1/9/07, Nyenyec N <[EMAIL PROTECTED]> wrote:

Hi,

I'm using 2 external programs: nosetest and pep8.py

Both produce error messages pointing to locations in my code.

I was wondering if there is a way for PyDev to parse their outputs and
make these error messages clickable?

Nose produces stack traces, and pep8.py produces lines such as:

/twp/twp/bot.py:32:16: W291 trailing whitespace


Hi,

Yes, that's possible, should be easy to add, but would require changing the
code within pydev -- a flexible option would be adding preferences to let
the user choose to which patterns he wants to match for creating hyperlinks
(and saying which group in the match is the line and which one is the
file)...

Or, you can try it hard-coded playing with:
org.python.pydev.debug.ui.PythonConsoleLineTracker (should be pretty easy to
grasp).

Cheers,

Fabio

sunshade
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to