forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Milestone
Description
Environment data
- VS Code version: 1.21.0
- Extension version (available under the Extensions sidebar): 2018.2.1
- OS and version: Linux Mint 18.3
- Python version: 3.5
- Type of virtual environment used (if applicable): venv
- Relevant/affected Python packages and their versions:
Actual behavior
Go to definition of some used class not open file with it definition
Expected behavior
Go to definition of some used class open file with it definition
Steps to reproduce:
- File a1.py have
class Foo: pass
- File b1.py have
from a1 import Foo
class Bar(Foo):pass
- Click "go to definition" in file b1 on
Foo
, must open a1 file with definition of Foo, but moving cursor to first line with import of Foo - Downgrade to 2018.1.0 solve this problem
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
##########Linting Output - flake8##########
##########Linting Output - flake8##########
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
[/home/john_16/.vscode/extensions/donjayamanne.githistory-0.4.0]: Команда "git.viewFileHistory" встречается несколько раз в разделе commands.
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] TypeDefinition null
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] Extension "currenttodos" activated!
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] vscode-icons is active!
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:257 [Extension Host] (node:23354) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
t.log @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:257
isvoboda, PeterJCLaw, SlivTime, CaselIT, geerk and 7 more
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug