How to enable autofill WebOb response / request objects in Pydev for Eclipse?

I am using Pydev / Eclipse to develop Google App Engine (GAE) applications, but I was not able to get response / request objects from WebOb for automatic completion. I used the widely recommended tutorial to configure all settings; automatic completion works in everything that I used.

As an example: if I type "I". I get autocomplete for response and request; if I select one of them, say “answer” and add “.”. (bringing the complete line to "self.response".) I don't get any options - since the WebOb library is on, I would expect to get things like "out.write ()" as an option.

I have included the following libraries in the Pydev project:

  • C: \ Program Files \ Google \ google_appengine
  • C: \ Program Files \ Google \ google_appengine \ lib \ django
  • C: \ Program Files \ Google \ google_appengine \ lib \ webob
  • C: \ Program Files \ Google \ google_appengine \ lib \ yaml \ lib

Any help would be greatly appreciated, thanks.

+3
source share
2 answers

I tried my installation and it works. However, keep in mind that PyDev analysis stops whenever it encounters an error, and this may be the reason that autocomplete does not work in your case.

, ; , blog PyDev .

+2

-, IDE Python - , , . Google , , python. Pydev, Wing IDE :

Goto-Definition

Wing sys.path Google App Engine, , goto-definition . , fix_sys_path dev_appserver.py .

Debug Probe ( Wing Pro) :

os.pathsep.join(EXTRA_PATHS)

dev_appserver.py, . " " "" Python, " " .

, , ${WING: PROJECT_DIR}, .

( : http://www.wingware.com/doc/howtos/google-app-engine)

0

Source: https://habr.com/ru/post/1698408/


All Articles