How to avoid opening files from 'python_stubs' directory?
Pressing Ctrl+B with the cursor placed on the line with import statement opens the file of module which is being imported. However this file is the copy of the original file placed in the PyCharm's stubs directory like:
c:\Documents and Settings\pdobrogost\.PyCharm30\system\python_stubs\-890172276\path\to\module.py
I'm on Windows, and project source is on remote Linux machine which I access through samba (mapped network drive on Windows' side). I have remote interpreter set for this project.
In Project Settings->Console->Python Console I added mapping in 'Path mappings' mapping one directory like this:
x:\projects\project_name\some_subdirectory -> /home/users/pdobrogost/projects/project_name/some_subdirectory, where x is a mapped drive pointing to the remote Linux host with project sources. This however does not help.
How can I avoid opening files from 'python_stubs' directory?
c:\Documents and Settings\pdobrogost\.PyCharm30\system\python_stubs\-890172276\path\to\module.py
I'm on Windows, and project source is on remote Linux machine which I access through samba (mapped network drive on Windows' side). I have remote interpreter set for this project.
In Project Settings->Console->Python Console I added mapping in 'Path mappings' mapping one directory like this:
x:\projects\project_name\some_subdirectory -> /home/users/pdobrogost/projects/project_name/some_subdirectory, where x is a mapped drive pointing to the remote Linux host with project sources. This however does not help.
How can I avoid opening files from 'python_stubs' directory?
请先登录再写评论。
Support package is already included with PyCharm license.
I created issue https://intellij-support.jetbrains.com/requests/25928