question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'Go to definition' not working

See original GitHub issue

Environment data

  • VS Code version: 1.31.1
  • Extension version (available under the Extensions sidebar): 2019.3.6558
  • OS and version: macOS Mojave 10.14.4
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.1
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): None
  • Relevant/affected Python packages and their versions: None

Expected behaviour

There is ‘go to definition’ in short cut menu, and press shortcut key defined in Visual Studio Code can lead to expected position.

Actual behaviour

No ‘go to definition’ in short cut menu, and press shortcut key defined in Visual Studio Code leads to nothing happens. image image image

Steps to reproduce:

None

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

Only startup logs:

Starting Microsoft Python language server.
[Info  - 下午1:47:15] GetCurrentSearchPaths /usr/local/bin/python3 
[Info  - 下午1:47:15] Python search paths:
[Info  - 下午1:47:15]     /private/var/folders/2t/zb3hw5b57yb77y58sshrxgx00000gn/T/bhgynxvd.okh
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pycrypto-2.6.1-py3.7-macosx-10.14-x86_64.egg
[Info  - 下午1:47:15] Configuration search paths:
[Info  - 下午1:47:15]     /
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/setuptools-28.6.0/build/bdist.macosx-10.11-intel/egg
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/caffe/python
[Info  - 下午1:47:15]     /Users/zhangyi/work/opera-news-antispam
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python37.zip
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pycrypto-2.6.1-py3.7-macosx-10.14-x86_64.egg
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/setuptools-28.6.0/build/bdist.macosx-10.11-intel/egg
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/caffe/python
[Info  - 下午1:47:15]     /Users/zhangyi/work/opera-news-antispam
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/setuptools-28.6.0/build/bdist.macosx-10.11-intel/egg
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/caffe/python
[Info  - 下午1:47:15]     /Users/zhangyi/work/opera-news-antispam
[Info  - 下午1:47:15]     /usr/local/bin

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

None, no output caused by operation. The following are startup logs.

[Extension Host] debugger listening on port 24601
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3364 Extension Host
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3364 Debugger listening on ws://127.0.0.1:24601/df5d714d-809a-49c7-b935-e07a2432283e
For help, see: https://nodejs.org/en/docs/inspector

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4635 Overwriting grammar scope name to file mapping for scope source.go.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/go/syntaxes/go.tmLanguage.json.
New grammar file: file:///Users/zhangyi/.vscode/extensions/dunstontc.vscode-go-syntax-0.0.18/syntaxes/go.tmLanguage.json
e.register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4635
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] (node:19017) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Create file systemwatcher with pattern */python
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Create file systemwatcher with pattern */*/python
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Register Intepreter Watcher, Class name = f, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python/common/kconf.py>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Build the workspace interpreter watcher, Class name = h, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python/common/kconf.py>, Return Value: <Return value cannot be serialized for logging>
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = settings, result = exit
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = windowsRegistry, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from windowsRegistry
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = settings, result = exit
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
3/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command python3.6 and args  failed
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.1 64-bit"}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Current value for rule windowsRegistry is nothing
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.47"
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, extension-output-#3
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.47"
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /Users/zhangyi/work/ks/ks/krp/python/common/kconf.py
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by CondaEnvFileService are of count 0
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by PipEnvService are of count 0
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = currentPath, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from currentPath
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Selected Interpreter from system, {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.1 64-bit"}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.47"
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = cachedInterpreters, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from cachedInterpreters
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by CondaEnvService are of count 0
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by WorkspaceVirtualEnvService are of count 0
3/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by KnownPathsService are of count 10
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by VirtualEnvService are of count 0
3/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by CurrentPathService are of count 5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: true
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Hide locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: All locators have completed locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.1 64-bit"}, Arg 2: undefined, Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = system, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from system
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:1535  INFO no standard startup: not just one text editor
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /Users/zhangyi/work/ks/ks/krp/python/app/control_center.py

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
brettcannoncommented, Apr 23, 2019

@kaushall go to https://github.com/Microsoft/python-language-server/issues, click “New issue”, and then fill in your details about your problem.

0reactions
kaushallcommented, Apr 23, 2019

@brettcannon Can you please tell me how to do it, I’m bit new to github.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode "go to definition" not working - Stack Overflow
The problem is in my case, with the angular language service extension. Install another version for instance v11.1.0 and it will work. ·...
Read more >
Fix: VS Code Go to Definition Not Working - YouTube
Visual Studio Code (VS Code) is a very popular code editor among the developers of the world. This is due to it's awesome...
Read more >
Go to definition not working · Issue #6854 - GitHub
"Go to definition" was working yesterday, but suddenly stop working. I tried to open my project in another computer using Ubuntu 20.04 and...
Read more >
Ctrl + Click go to definition not working. : r/vscode - Reddit
I had a the same issue: F12 and Ctrl + Click and Right Click "Go To Definition" wasn't working. The fix for me...
Read more >
Visual Studio 2019 F12 Goto definition not working with ...
When I press F12 on the CallMethodAction MethodName (BtnLoginClick) it says "cannot navigate to definition" If I press F12 on the Content ( ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found