import and code completion

Just want to drop in and say that I cannot wait for this product to be released. After trying all the other editors and IDE's, this looks the most promising.

Playing with PyCharm and Django a little today, I wonder if code completion on this is possible (as it was not working for me):

from projectname.appname.models import (code completion window does not pop up here).

I tried control space and control alt space to force it, but it came up with a list that does not list my Django models.

However, this works fine:

from django.http import HttpRequest, HttpResponse

(HttpRequest, HttpResponse came up without problems on code completion)

Any ideas why?

Thanks,

LXB

PS: Is there any way to set the code completion shortcut to something else other than Control Space?

4 comments
Comment actions Permalink

Hello LXB,

Which version of PyCharm are you using? There are a number of import completion

fixes in the latest EAP build (96.176).

The code completion shortcut, as well as all other shortcuts, can be configured

in Settings | Keymap.

Just want to drop in and say that I cannot wait for this product to be

released. After trying all the other editors and IDE's, this looks the

most promising.

Playing with PyCharm and Django a little today, I wonder if code

completion on this is possible (as it was not working for me):

from projectname.appname.models import (code completion window does

not pop up here).

I tried control space and control alt space to force it, but it came

up with a list that does not list my Django models.

However, this works fine:

from django.http import HttpRequest, HttpResponse

(HttpRequest, HttpResponse came up without problems on code

completion)

Any ideas why?

Thanks,

LXB

PS: Is there any way to set the code completion shortcut to something

else other than Control Space?

---

Original message URL:

http://www.jetbrains.net/devnet/message/5263579#5263579

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink

I'm using 96.115 (Mac OSX version) - I downloaded this last night!

Is this not the latest?

EDIT: Nevermind, I found out what EAP stands for =)

0
Comment actions Permalink

Hello Little,

I'm using 96.115 - I downloaded this last night!

Is this not the latest?

Unfortunately we didn't update the download page at jetbrains.com when the

latest build was released. You can download it from http://confluence.jetbrains.net/display/PYH/JetBrainsPyCharmPreview

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink

Hi Dmitry,

I am now running on 96.176, and I'm having the same problem.

In views.py, code completion is not detecting anything from models.py. It does however work great with the default django modules.


LXB

0

Please sign in to leave a comment.