Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion doesn't work with vscode intellisense in pipenv environment. #673

Closed
its-Kumar opened this issue Dec 3, 2020 · 10 comments
Closed
Labels
bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version

Comments

@its-Kumar
Copy link

I am using pylance extension and pylance language server. But when I work with a django project in a pipenv environment. The auto completion doesn't work for me. I have changed language server back to the Microsoft and auto completion is working now with vscode intellisense extention.
But why pylance language server did not work with vscode intellisense?

  • Python Language Server
[Info  - 11:08:21 AM] Pylance language server 2020.12.0 (pyright ea581b3f) starting
[Info  - 11:08:21 AM] Server root directory: /home/kumar/.vscode/extensions/ms-python.vscode-pylance-2020.12.0/dist
  • Python Version
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'LocalZMQKernel - experiment'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
User belongs to experiment group 'DeprecatePythonPath - experiment'
User belongs to experiment group 'RunByLine - experiment'
User belongs to experiment group 'CustomEditorSupport - control'
User belongs to experiment group 'pythonaa'
Error 2020-12-03 11:08:16: Failed to initialize source map support in extension
> conda --version
> pyenv root
> python3.7 ~/.vscode/extensions/ms-python.python-2020.11.371526539/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode/extensions/ms-python.python-2020.11.371526539/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 ~/.vscode/extensions/ms-python.python-2020.11.371526539/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode/extensions/ms-python.python-2020.11.371526539/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode/extensions/ms-python.python-2020.11.371526539/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode/extensions/ms-python.python-2020.11.371526539/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
> conda info --json
> conda info --json
Starting Pylance language server.
Python interpreter path: ~/anaconda3/bin/python
> conda env list
> conda info --json
> conda env list
  • OS Version
System:    Host: <filter> Kernel: 5.6.0-2-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.6.0-2-amd64 
           root=UUID=<filter> ro splash quiet 
           Desktop: Budgie 10.5 info: budgie-panel, plank wm: budgie-wm dm: LightDM 1.26.0 
           Distro: MX-19.3_x64 patito feo May 31  2020 base: Debian GNU/Linux 10 (buster)

Logs

[2020-12-03 11:15:17.384] [exthost] [info] extension host started
[2020-12-03 11:15:17.535] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2020-12-03 11:15:17.535] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/microsoft-authentication/dist/extension.js
[2020-12-03 11:15:17.558] [exthost] [info] ExtensionService#_doActivateExtension aaron-bond.better-comments {"startup":false,"extensionId":{"value":"aaron-bond.better-comments","_lower":"aaron-bond.better-comments"},"activationEvent":"onLanguage:plaintext"}
[2020-12-03 11:15:17.558] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/aaron-bond.better-comments-2.1.0/out/extension
[2020-12-03 11:15:17.563] [exthost] [info] ExtensionService#_doActivateExtension GrapeCity.gc-excelviewer {"startup":false,"extensionId":{"value":"GrapeCity.gc-excelviewer","_lower":"grapecity.gc-excelviewer"},"activationEvent":"onLanguage:plaintext"}
[2020-12-03 11:15:17.563] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/grapecity.gc-excelviewer-3.0.40/dist/extension
[2020-12-03 11:15:17.573] [exthost] [info] ExtensionService#_doActivateExtension vscode.configuration-editing {"startup":false,"extensionId":{"value":"vscode.configuration-editing","_lower":"vscode.configuration-editing"},"activationEvent":"onLanguage:jsonc"}
[2020-12-03 11:15:17.573] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/configuration-editing/dist/configurationEditingMain
[2020-12-03 11:15:17.586] [exthost] [info] ExtensionService#_doActivateExtension vscode.json-language-features {"startup":false,"extensionId":{"value":"vscode.json-language-features","_lower":"vscode.json-language-features"},"activationEvent":"onLanguage:jsonc"}
[2020-12-03 11:15:17.587] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/json-language-features/client/dist/node/jsonClientMain
[2020-12-03 11:15:17.616] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features {"startup":false,"extensionId":{"value":"vscode.typescript-language-features","_lower":"vscode.typescript-language-features"},"activationEvent":"onLanguage:jsonc"}
[2020-12-03 11:15:17.616] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/typescript-language-features/dist/extension
[2020-12-03 11:15:17.640] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2020-12-03 11:15:17.640] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/debug-auto-launch/dist/extension
[2020-12-03 11:15:17.644] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":true,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"*"}
[2020-12-03 11:15:17.644] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/emmet/dist/node/emmetNodeMain
[2020-12-03 11:15:17.671] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2020-12-03 11:15:17.671] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/git/dist/main
[2020-12-03 11:15:17.714] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":true,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"*"}
[2020-12-03 11:15:17.714] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/merge-conflict/dist/mergeConflictMain
[2020-12-03 11:15:17.719] [exthost] [info] ExtensionService#_doActivateExtension vscode.search-result {"startup":true,"extensionId":{"value":"vscode.search-result","_lower":"vscode.search-result"},"activationEvent":"*"}
[2020-12-03 11:15:17.719] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/search-result/dist/extension.js
[2020-12-03 11:15:17.722] [exthost] [info] ExtensionService#_doActivateExtension CoenraadS.bracket-pair-colorizer-2 {"startup":true,"extensionId":{"value":"CoenraadS.bracket-pair-colorizer-2","_lower":"coenraads.bracket-pair-colorizer-2"},"activationEvent":"*"}
[2020-12-03 11:15:17.722] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/extension
[2020-12-03 11:15:17.760] [exthost] [info] ExtensionService#_doActivateExtension donjayamanne.githistory {"startup":true,"extensionId":{"value":"donjayamanne.githistory","_lower":"donjayamanne.githistory"},"activationEvent":"*"}
[2020-12-03 11:15:17.761] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/donjayamanne.githistory-0.6.14/dist/src/extension
[2020-12-03 11:15:17.804] [exthost] [info] ExtensionService#_doActivateExtension oderwat.indent-rainbow {"startup":true,"extensionId":{"value":"oderwat.indent-rainbow","_lower":"oderwat.indent-rainbow"},"activationEvent":"*"}
[2020-12-03 11:15:17.804] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/oderwat.indent-rainbow-7.4.0/out/extension
[2020-12-03 11:15:17.807] [exthost] [info] ExtensionService#_doActivateExtension PKief.material-icon-theme {"startup":true,"extensionId":{"value":"PKief.material-icon-theme","_lower":"pkief.material-icon-theme"},"activationEvent":"*"}
[2020-12-03 11:15:17.808] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/pkief.material-icon-theme-4.4.0/dist/extension
[2020-12-03 11:15:17.823] [exthost] [info] ExtensionService#_doActivateExtension ritwickdey.LiveServer {"startup":true,"extensionId":{"value":"ritwickdey.LiveServer","_lower":"ritwickdey.liveserver"},"activationEvent":"*"}
[2020-12-03 11:15:17.823] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/ritwickdey.liveserver-5.6.1/out/src/extension
[2020-12-03 11:15:18.582] [exthost] [info] ExtensionService#_doActivateExtension vincaslt.highlight-matching-tag {"startup":true,"extensionId":{"value":"vincaslt.highlight-matching-tag","_lower":"vincaslt.highlight-matching-tag"},"activationEvent":"*"}
[2020-12-03 11:15:18.582] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/vincaslt.highlight-matching-tag-0.10.0/out/src/extension
[2020-12-03 11:15:19.290] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2020-12-03 11:15:19.291] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/github/dist/extension.js
[2020-12-03 11:15:19.596] [exthost] [info] eager extensions activated
[2020-12-03 11:15:19.672] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2020-12-03 11:15:19.672] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/ms-vscode.js-debug/src/extension.js
[2020-12-03 11:15:19.886] [exthost] [info] ExtensionService#_doActivateExtension eamodio.gitlens {"startup":false,"extensionId":{"value":"eamodio.gitlens","_lower":"eamodio.gitlens"},"activationEvent":"onStartupFinished"}
[2020-12-03 11:15:19.886] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/eamodio.gitlens-11.0.6/dist/gitlens
[2020-12-03 11:15:20.007] [exthost] [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github {"startup":false,"extensionId":{"value":"GitHub.vscode-pull-request-github","_lower":"github.vscode-pull-request-github"},"activationEvent":"onStartupFinished"}
[2020-12-03 11:15:20.007] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/github.vscode-pull-request-github-0.21.2/media/extension
[2020-12-03 11:15:20.087] [exthost] [info] ExtensionService#_doActivateExtension softwaredotcom.swdc-vscode {"startup":false,"extensionId":{"value":"softwaredotcom.swdc-vscode","_lower":"softwaredotcom.swdc-vscode"},"activationEvent":"onStartupFinished"}
[2020-12-03 11:15:20.087] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/softwaredotcom.swdc-vscode-2.3.21/dist/extension
[2020-12-03 11:15:21.923] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2020-12-03 11:15:21.924] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/github-authentication/dist/extension.js
[2020-12-03 11:15:40.874] [exthost] [info] extension host started
[2020-12-03 11:15:40.974] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2020-12-03 11:15:40.975] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/microsoft-authentication/dist/extension.js
[2020-12-03 11:15:41.003] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2020-12-03 11:15:41.003] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/debug-auto-launch/dist/extension
[2020-12-03 11:15:41.008] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":true,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"*"}
[2020-12-03 11:15:41.009] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/emmet/dist/node/emmetNodeMain
[2020-12-03 11:15:41.037] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2020-12-03 11:15:41.037] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/git/dist/main
[2020-12-03 11:15:41.073] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":true,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"*"}
[2020-12-03 11:15:41.073] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/merge-conflict/dist/mergeConflictMain
[2020-12-03 11:15:41.078] [exthost] [info] ExtensionService#_doActivateExtension vscode.search-result {"startup":true,"extensionId":{"value":"vscode.search-result","_lower":"vscode.search-result"},"activationEvent":"*"}
[2020-12-03 11:15:41.078] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/search-result/dist/extension.js
[2020-12-03 11:15:41.081] [exthost] [info] ExtensionService#_doActivateExtension CoenraadS.bracket-pair-colorizer-2 {"startup":true,"extensionId":{"value":"CoenraadS.bracket-pair-colorizer-2","_lower":"coenraads.bracket-pair-colorizer-2"},"activationEvent":"*"}
[2020-12-03 11:15:41.081] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/coenraads.bracket-pair-colorizer-2-0.2.0/out/src/extension
[2020-12-03 11:15:41.115] [exthost] [info] ExtensionService#_doActivateExtension donjayamanne.githistory {"startup":true,"extensionId":{"value":"donjayamanne.githistory","_lower":"donjayamanne.githistory"},"activationEvent":"*"}
[2020-12-03 11:15:41.115] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/donjayamanne.githistory-0.6.14/dist/src/extension
[2020-12-03 11:15:41.163] [exthost] [info] ExtensionService#_doActivateExtension oderwat.indent-rainbow {"startup":true,"extensionId":{"value":"oderwat.indent-rainbow","_lower":"oderwat.indent-rainbow"},"activationEvent":"*"}
[2020-12-03 11:15:41.164] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/oderwat.indent-rainbow-7.4.0/out/extension
[2020-12-03 11:15:41.166] [exthost] [info] ExtensionService#_doActivateExtension PKief.material-icon-theme {"startup":true,"extensionId":{"value":"PKief.material-icon-theme","_lower":"pkief.material-icon-theme"},"activationEvent":"*"}
[2020-12-03 11:15:41.166] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/pkief.material-icon-theme-4.4.0/dist/extension
[2020-12-03 11:15:41.180] [exthost] [info] ExtensionService#_doActivateExtension ritwickdey.LiveServer {"startup":true,"extensionId":{"value":"ritwickdey.LiveServer","_lower":"ritwickdey.liveserver"},"activationEvent":"*"}
[2020-12-03 11:15:41.180] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/ritwickdey.liveserver-5.6.1/out/src/extension
[2020-12-03 11:15:42.062] [exthost] [info] ExtensionService#_doActivateExtension vincaslt.highlight-matching-tag {"startup":true,"extensionId":{"value":"vincaslt.highlight-matching-tag","_lower":"vincaslt.highlight-matching-tag"},"activationEvent":"*"}
[2020-12-03 11:15:42.062] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/vincaslt.highlight-matching-tag-0.10.0/out/src/extension
[2020-12-03 11:15:42.285] [exthost] [info] ExtensionService#_doActivateExtension vscode.python {"startup":false,"extensionId":{"value":"vscode.python","_lower":"vscode.python"},"activationEvent":"onLanguage:python"}
[2020-12-03 11:15:42.286] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/python/dist/pythonMain
[2020-12-03 11:15:42.291] [exthost] [info] ExtensionService#_doActivateExtension aaron-bond.better-comments {"startup":false,"extensionId":{"value":"aaron-bond.better-comments","_lower":"aaron-bond.better-comments"},"activationEvent":"onLanguage:python"}
[2020-12-03 11:15:42.291] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/aaron-bond.better-comments-2.1.0/out/extension
[2020-12-03 11:15:42.295] [exthost] [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter {"startup":false,"extensionId":{"value":"ms-toolsai.jupyter","_lower":"ms-toolsai.jupyter"},"activationEvent":"onLanguage:python"}
[2020-12-03 11:15:42.296] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/ms-toolsai.jupyter-2020.11.392013122/out/client/extension
[2020-12-03 11:15:42.628] [exthost] [info] ExtensionService#_doActivateExtension njpwerner.autodocstring {"startup":false,"extensionId":{"value":"njpwerner.autodocstring","_lower":"njpwerner.autodocstring"},"activationEvent":"onLanguage:python"}
[2020-12-03 11:15:42.628] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/njpwerner.autodocstring-0.5.4/out/extension.js
[2020-12-03 11:15:42.801] [exthost] [info] ExtensionService#_doActivateExtension shamanu4.django-intellisense {"startup":false,"extensionId":{"value":"shamanu4.django-intellisense","_lower":"shamanu4.django-intellisense"},"activationEvent":"onLanguage:python"}
[2020-12-03 11:15:42.801] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/shamanu4.django-intellisense-0.0.2/out/extension
[2020-12-03 11:15:42.809] [exthost] [info] ExtensionService#_doActivateExtension VisualStudioExptTeam.vscodeintellicode {"startup":false,"extensionId":{"value":"VisualStudioExptTeam.vscodeintellicode","_lower":"visualstudioexptteam.vscodeintellicode"},"activationEvent":"onLanguage:python"}
[2020-12-03 11:15:42.809] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.10/dist/intellicode
[2020-12-03 11:15:43.367] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2020-12-03 11:15:43.368] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/github/dist/extension.js
[2020-12-03 11:15:45.959] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2020-12-03 11:15:45.959] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/ms-vscode.js-debug/src/extension.js
[2020-12-03 11:15:46.154] [exthost] [info] ExtensionService#_doActivateExtension ms-python.python {"startup":false,"extensionId":{"value":"ms-toolsai.jupyter","_lower":"ms-toolsai.jupyter"},"activationEvent":"api"}
[2020-12-03 11:15:46.154] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/ms-python.python-2020.11.371526539/out/client/extension
[2020-12-03 11:15:46.363] [exthost] [info] eager extensions activated
[2020-12-03 11:15:46.424] [exthost] [info] ExtensionService#_doActivateExtension eamodio.gitlens {"startup":false,"extensionId":{"value":"eamodio.gitlens","_lower":"eamodio.gitlens"},"activationEvent":"onStartupFinished"}
[2020-12-03 11:15:46.424] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/eamodio.gitlens-11.0.6/dist/gitlens
[2020-12-03 11:15:46.519] [exthost] [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github {"startup":false,"extensionId":{"value":"GitHub.vscode-pull-request-github","_lower":"github.vscode-pull-request-github"},"activationEvent":"onStartupFinished"}
[2020-12-03 11:15:46.520] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/github.vscode-pull-request-github-0.21.2/media/extension
[2020-12-03 11:15:46.594] [exthost] [info] ExtensionService#_doActivateExtension softwaredotcom.swdc-vscode {"startup":false,"extensionId":{"value":"softwaredotcom.swdc-vscode","_lower":"softwaredotcom.swdc-vscode"},"activationEvent":"onStartupFinished"}
[2020-12-03 11:15:46.595] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/softwaredotcom.swdc-vscode-2.3.21/dist/extension
[2020-12-03 11:15:47.310] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2020-12-03 11:15:47.310] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/share/code/resources/app/extensions/github-authentication/dist/extension.js
[2020-12-03 11:15:51.894] [exthost] [info] ExtensionService#_doActivateExtension ms-python.vscode-pylance {"startup":false,"extensionId":{"value":"ms-python.python","_lower":"ms-python.python"},"activationEvent":"api"}
[2020-12-03 11:15:51.894] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kumar/.vscode/extensions/ms-python.vscode-pylance-2020.12.0/dist/extension.bundle.js
@github-actions github-actions bot added the triage label Dec 3, 2020
@judej
Copy link
Contributor

judej commented Dec 3, 2020

@its-Kumar, would you please post the code snippet that is having the problem? Also, if you can include the logs from the "Pylance Language Server", that would also be helpful
thanks

@judej judej added the waiting for user response Requires more information from user label Dec 3, 2020
@github-actions github-actions bot removed the triage label Dec 3, 2020
@jakebailey
Copy link
Member

To clarify, we'd want logs in trace mode. The issue template asks for this, but the instructions are mirrored here: https://github.com/microsoft/pylance-release/blob/master/TROUBLESHOOTING.md#filing-an-issue

@savannahostrowski
Copy link
Contributor

This issue has been open for > 30 days with the waiting for info label. Because we haven't heard from you, I'm going to close this issue for now. If this still persists, please let us know and we can reopen the issue.

@enkeyz
Copy link

enkeyz commented Feb 9, 2021

Same for me.

@MasterKale
Copy link

MasterKale commented Apr 22, 2021

I'm experiencing the same issue: I use Pipenv in a Django project and, with Pylance enabled, intellisense finds "No suggestions" when I Ctrl+Space to try and preview importable modules:

Screen Shot 2021-04-21 at 8 22 01 PM

As requested I've brought some TRACE level logs:

[Info  - 8:18:33 PM] Pylance language server 2021.4.2 (pyright 3888d715) starting
[Info  - 8:18:33 PM] Server root directory: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist
[Info  - 8:18:33 PM] No configuration file found.
[Info  - 8:18:33 PM] No pyproject.toml file found.
[Info  - 8:18:33 PM] Setting pythonPath for service "backend": "/Users/matt/.local/share/virtualenvs/backend-LMrfrEz3/bin/python"
[Warn  - 8:18:33 PM] stubPath /Users/matt/Repos/fooProject/backend/typings is not a valid directory.
[Info  - 8:18:33 PM] Assuming Python version 3.9
[Info  - 8:18:33 PM] Assuming Python platform Darwin
Search paths for /Users/matt/Repos/fooProject/backend
  /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib
  /Users/matt/Repos/fooProject/backend
  /Users/matt/Repos/fooProject/backend/~/.local/share/virtualenvs/backend-LMrfrEz3/lib/python3.9/site-packages
  /Users/matt/Repos/fooProject/backend/typings
  /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stubs/...
  /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs
  /usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9
  /usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib-dynload
  /Users/matt/.local/share/virtualenvs/backend-LMrfrEz3/lib/python3.9/site-packages
  /usr/local/lib/python3.9/site-packages
[Info  - 8:18:33 PM] Searching for source files
[Info  - 8:18:33 PM] Found 47 source files
[FG] parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (39ms)
[FG] parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 3ms] (87ms)
[FG] binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/builtins.pyi (35ms)
[FG] binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[Info  - 8:18:33 PM] Background analysis(1) root directory: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist
[Info  - 8:18:33 PM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: ensurePartialStubPackages
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: analyze
[BG(1)] analyzing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py ...
[BG(1)]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (32ms)
[BG(1)]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 3ms] (85ms)
[BG(1)]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/builtins.pyi (31ms)
[BG(1)]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[BG(1)]   checking: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py ...
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/typing.pyi [fs read 4ms] (29ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/typing.pyi (11ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 3ms] (11ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stubs/typing-extensions/typing_extensions.pyi [fs read 1ms] (3ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stubs/typing-extensions/typing_extensions.pyi (1ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/__init__.pyi [fs read 0ms] (0ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/__init__.pyi (0ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/__init__.pyi [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/__init__.pyi (1ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/urls/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/urls/__init__.pyi (0ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/urls/conf.pyi [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/urls/conf.pyi (0ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/urls/resolvers.pyi [fs read 0ms] (13ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/urls/resolvers.pyi (3ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/http/response.pyi [fs read 0ms] (30ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/http/response.pyi (2ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/conf/urls/__init__.pyi [fs read 1ms] (8ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/conf/urls/__init__.pyi (0ms)
[BG(1)]     parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/sites.pyi [fs read 1ms] (28ms)
[BG(1)]     binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/sites.pyi (1ms)
[BG(1)]   checking: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (193ms)
[BG(1)] analyzing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (344ms)
Background analysis message: resumeAnalysis
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:15:34 [found null items] (1ms)

Those last two lines are what get added to log output when I hit Ctrl+Space.

What's strange to me is that intellisense won't suggest things to import, but as I type I get suggestions to autocomplete:

Screen.Recording.2021-04-21.at.8.25.25.PM.mov

Here's TRACE level logs that output as I typed admin.site.urls in the video above:

[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:20 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:20 [found 173 items] (12ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:21 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:21 [found 38 items] (13ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:22 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:22 [found 2 items] (10ms)
[FG] parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[FG] binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[BG(1)] analyzing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py ...
[BG(1)]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[BG(1)]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[BG(1)]   checking: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (7ms)
[BG(1)] analyzing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (8ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:25 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:25 [found 191 items] (3ms)
[BG(1)] analyzing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py ...
[BG(1)]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[BG(1)]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[BG(1)]   checking: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (7ms)
[BG(1)] analyzing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (8ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:26 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/decorators.pyi [fs read 1ms] (4ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/decorators.pyi (0ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/filters.pyi [fs read 0ms] (11ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/filters.pyi (0ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/helpers.pyi [fs read 0ms] (18ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/helpers.pyi (1ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/options.pyi [fs read 0ms] (40ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/options.pyi (3ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/sites.pyi [fs read 0ms] (10ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/contrib/admin/sites.pyi (1ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:26 [found 22 items] (100ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:27 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:27 [found 13 items] (13ms)
[FG] parsing: /Users/matt/.local/share/virtualenvs/backend-LMrfrEz3/lib/python3.9/site-packages/django/contrib/admin/sites.py [fs read 1ms] (57ms)
[FG] binding: /Users/matt/.local/share/virtualenvs/backend-LMrfrEz3/lib/python3.9/site-packages/django/contrib/admin/sites.py (4ms)
[FG] parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[FG] binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:30 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:30 [found 191 items] (5ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:31 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/db/models/base.pyi [fs read 1ms] (6ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/db/models/base.pyi (0ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/core/handlers/wsgi.pyi [fs read 0ms] (6ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/core/handlers/wsgi.pyi (1ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/http/__init__.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/http/__init__.pyi (0ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/http/request.pyi [fs read 1ms] (15ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/http/request.pyi (2ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/io.pyi [fs read 0ms] (5ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/io.pyi (2ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (0ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/typeshed-fallback/stdlib/abc.pyi (0ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/db/models/query.pyi [fs read 0ms] (18ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/db/models/query.pyi (5ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/db/__init__.pyi [fs read 0ms] (1ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/db/__init__.pyi (0ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/db/models/__init__.pyi [fs read 1ms] (2ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/db/models/__init__.pyi (0ms)
[FG]   parsing: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/template/response.pyi [fs read 0ms] (10ms)
[FG]   binding: /Users/matt/.vscode/extensions/ms-python.vscode-pylance-2021.4.2/dist/bundled/stubs/django/template/response.pyi (1ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:31 [found 12 items] (107ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:32 ...
[FG]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[FG] completion at /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py:19:32 [found 4 items] (18ms)
[FG] parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[FG] binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[BG(1)] analyzing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py ...
[BG(1)]   parsing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (1ms)
[BG(1)]   binding: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (0ms)
[BG(1)]   checking: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (19ms)
[BG(1)] analyzing: /Users/matt/Repos/fooProject/backend/_app/fooproject/urls.py (20ms)

And if it helps here's my project's .vscode/setings.json:

{
  "python.pythonPath": "~/.local/share/virtualenvs/backend-LMrfrEz3/bin/python",
  "python.linting.pylintEnabled": false,
  "python.linting.flake8Enabled": true,
  "python.linting.enabled": true,
  "python.languageServer": "Pylance",
  "python.analysis.extraPaths": [
    "~/.local/share/virtualenvs/backend-LMrfrEz3/lib/python3.9/site-packages"
  ]
}

@its-Kumar
Copy link
Author

@savannahostrowski reopen this issue

@erictraut erictraut reopened this Apr 22, 2021
@erictraut
Copy link
Contributor

I looked into this issue in more detail. The problem has nothing to do with pipenv. It's specific to a "from x import y, " statement when there is a hanging comma at the end and the insertion point is after that comma.

I've added a fix for this particular case. This fix will be in the next release.

@erictraut erictraut added bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version and removed waiting for user response Requires more information from user labels Apr 22, 2021
@its-Kumar
Copy link
Author

@erictraut thanks for clarify. I'm closing this issue 👍🏼

@jakebailey jakebailey reopened this Apr 22, 2021
@jakebailey
Copy link
Member

Leaving open until the fix is released.

@jakebailey
Copy link
Member

This issue has been fixed in version 2021.4.3, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202143-29-april-2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version
Projects
None yet
Development

No branches or pull requests

7 participants