Alex Rivera | Logout

No code completion and syntax highlighting in Pydev

Asked 2009-01-29T09:50:56.473
18

I just configured Eclipse with PyDev latest version, but when I import external modules, neither code completion nor syntax highlighting works. How do I enable it?

Komodo Edit does a better synax highlighting, apparently. - But Ctrl+R doesnt run the program.

I prefer a SciTE kind of editor with similar highlighting and fonts (aesthetics) and F5 working but with display of folder and files dynamically like Komodo Edit and a better code completion and vi emulation. Suggestions, please.

If I want to buy a Py IDE, Komodo or Wingware, which is better?-- Wrt syntax highlighting and code completion

Edit
Report

2 Answers

14

The typical reason that code completion doesn't work under PyDev is that the libraries aren't in the PYTHONPATH. If you go into the Project Properties, and setup PyDev PYTHONPATH preferences to include the places where the code you are trying to complete lives, it will work just fine...

Project > Properties > PyDev-PYTHONPAH > click 'Add source folder'

answered 2009-12-02T23:07:53.407
0

Between komodo and wingide i would go for wing. The license is not that expensive and the fact that it is commercial gives you a bigger probability of more updates and bug fixes. If you, like me, prefer a free solution, then stick with pydev. At least until aptana closes the free door :)

answered 2009-01-30T12:28:52.833

Your Answer