Enabling introspection in external libraries

Hi,

I can't find a way to enable introspection in my project's external libraries. It warns me of syntax errors but it won't do things like highlight unused imports. I seem to recall I got it work to in the past, but I can't figure out how now. Am I missing something?

I'm using version 1.5.3.

Many thanks.

Kind regards,

Julien

3 comments
Comment actions Permalink

Hello Julien,

This is intentionally disabled. An external library is something that is

not part of your project, so even if it had unused imports, you would not

want to do anything about them.

If the external library is not really external but an independent part of

your project, you can add it as a content root in Settings | Project Structure.

I can't find a way to enable introspection in my project's external

libraries. It warns me of syntax errors but it won't do things like

highlight unused imports. I seem to recall I got it work to in the

past, but I can't figure out how now. Am I missing something?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink

Thanks Dmitry, that makes perfect sense. Out of curiosity: I seem to recall it used to work in the past -- has it been disabled recently?

0
Comment actions Permalink

Hello Julien,

We slightly changed the way external libraries are configured inside PyCharm,

to be more consistent with other features of the platform. I think this was

changed in the 1.5 update.

Thanks Dmitry, that makes perfect sense. Out of curiosity: I seem to

recall it used to work in the past -- has it been disabled recently?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.