René's URL Explorer Experiment


Title: Autocompletion doesn't work for some numpy's functions · Issue #1621 · microsoft/python-language-server · GitHub

Open Graph Title: Autocompletion doesn't work for some numpy's functions · Issue #1621 · microsoft/python-language-server

X Title: Autocompletion doesn't work for some numpy's functions · Issue #1621 · microsoft/python-language-server

Description: I have searched issues and found microsoft/vscode-python#679. But it seems out of date since it was updated on 11 Jul 2018. Environment data VS Code version: 1.38.1 Extension version (available under the Extensions sidebar): 2019.9.34911...

Open Graph Description: I have searched issues and found microsoft/vscode-python#679. But it seems out of date since it was updated on 11 Jul 2018. Environment data VS Code version: 1.38.1 Extension version (available und...

X Description: I have searched issues and found microsoft/vscode-python#679. But it seems out of date since it was updated on 11 Jul 2018. Environment data VS Code version: 1.38.1 Extension version (available und...

Opengraph URL: https://github.com/microsoft/python-language-server/issues/1621

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Autocompletion doesn't work for some numpy's functions","articleBody":"> I have searched issues and found microsoft/vscode-python#679. But it seems out of date since it was updated on 11 Jul 2018.\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.38.1\r\n- Extension version (available under the Extensions sidebar): 2019.9.34911\r\n- OS and version: Windows_NT x64 10.0.18362\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.7.2 (64-bit)\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv\r\n- Relevant/affected Python packages and their versions: \r\n    - pyright 1.0.68\r\n    - Visual Studio IntelliCode 1.1.9\r\n- Jedi or Language Server? (i.e. what is `\"python.jediEnabled\"` set to; more info microsoft/vscode-python#3977): `\"python.jediEnabled\": false`\r\n\r\n## Expected behaviour\r\n\r\nI expect to see what parameters I need to fill and what will those functions return to me.\r\n\r\n## Actual behaviour\r\n\r\nAfter I imported numpy in the way `import numpy as np`, I tried to use some math functions. When I tried to type in `np.sin`, nothing about sin appeared. I could only see other methods like `_sanity_check`. This happened to cos and exp. But for matmul, sum, dot, autocompletion and hints sometimes work well. (It seems that after vs intellicode run for a moment, they work well for matmul. At the buttom of `how to use` is `matmul: unknown`)\r\n\r\nBesides, when I moved the cursor onto `np.sin()`, it showed `sin: unknown`\r\n\r\np.s. On another computer which I don't install visual studio intellicode, autocompletion works. But it only tells me sin and matmul are ufunc, which is no use.\r\n\r\n## Steps to reproduce:\r\n1. `import numpy as np`\r\n2. try to type in `np.sin`\r\n\r\n## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\n```\r\nUser belongs to experiment group 'AlwaysDisplayTestExplorer - experiment'\r\nUser belongs to experiment group 'ShowPlayIcon - start'\r\n> conda --version\r\n> pyenv root\r\n> python3.7 -c \"import sys;print(sys.executable)\"\r\n> python3.6 -c \"import sys;print(sys.executable)\"\r\n> python3 -c \"import sys;print(sys.executable)\"\r\n> python2 -c \"import sys;print(sys.executable)\"\r\n> python -c \"import sys;print(sys.executable)\"\r\n> py -3.7 -c \"import sys;print(sys.executable)\"\r\n> py -3.6 -c \"import sys;print(sys.executable)\"\r\n> py -3 -c \"import sys;print(sys.executable)\"\r\n> py -2 -c \"import sys;print(sys.executable)\"\r\n> d:\\Program\\python_hello_world\\venv\\Scripts\\python.exe -c \"import sys;print(sys.executable)\"\r\n> conda info --json\r\n> ~\\AppData\\Local\\Microsoft\\WindowsApps\\python.exe c:\\Users\\kpcam\\.vscode\\extensions\\ms-python.python-2019.9.34911\\pythonFiles\\interpreterInfo.py\r\n> ~\\AppData\\Local\\Microsoft\\WindowsApps\\python.exe c:\\Users\\kpcam\\.vscode\\extensions\\ms-python.python-2019.9.34911\\pythonFiles\\interpreterInfo.py\r\n> ~\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe c:\\Users\\kpcam\\.vscode\\extensions\\ms-python.python-2019.9.34911\\pythonFiles\\interpreterInfo.py\r\n> ~\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe c:\\Users\\kpcam\\.vscode\\extensions\\ms-python.python-2019.9.34911\\pythonFiles\\interpreterInfo.py\r\n> d:\\Program\\python_hello_world\\venv\\Scripts\\python.exe -m pep8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s d:\\Program\\python_hello_world\\main.py\r\ncwd: d:\\Program\\python_hello_world\r\n> d:\\Program\\python_hello_world\\venv\\Scripts\\python.exe -m pep8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s d:\\Program\\python_hello_world\\main.py\r\ncwd: d:\\Program\\python_hello_world\r\nStarting Microsoft Python language server.\r\n##########Linting Output - pep8##########\r\n> conda info --json\r\n> conda --version\r\n> d:\\Program\\python_hello_world\\venv\\Scripts\\python.exe -m yapf --diff d:\\Program\\python_hello_world\\main.py.99ad77dd49b9b85fe32975c34ba70b47.py\r\ncwd: d:\\Program\\python_hello_world\r\n> d:\\Program\\python_hello_world\\venv\\Scripts\\python.exe -m yapf --diff d:\\Program\\python_hello_world\\main.py.99ad77dd49b9b85fe32975c34ba70b47.py\r\ncwd: d:\\Program\\python_hello_world\r\n> d:\\Program\\python_hello_world\\venv\\Scripts\\python.exe -m pep8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s d:\\Program\\python_hello_world\\main.py\r\ncwd: d:\\Program\\python_hello_world\r\n> d:\\Program\\python_hello_world\\venv\\Scripts\\python.exe -m pep8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s d:\\Program\\python_hello_world\\main.py\r\ncwd: d:\\Program\\python_hello_world\r\n##########Linting Output - pep8##########\r\n\r\n```\r\n\r\nOutput 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`)\r\n\r\n```\r\nXXX\r\n```\r\n\r\n> Don't know what I need to paste here. There a lot of logs in `Console` under the `Developer Tools`\r\n\r\n---\r\n\r\nI have tried to uninstall python extension and reinstrall, nothing happen.\r\n\r\nI find a solution, using Jedi. But I want to try coding with visual studio intellicode, which needs me to use MS language server","author":{"url":"https://github.com/duskmoon314","@type":"Person","name":"duskmoon314"},"datePublished":"2019-10-03T17:38:10Z","url":"https://github.com/microsoft/python-language-server/issues/1621"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:efee6f9a-9bf7-5498-d47d-78597f1a2b65
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8F22:2A16C9:509936:69CE34:6AFE6958
html-safe-noncea79702fecc7226f5cab5a513d39109f7920de1e57c60d6403bfcf6652424734f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjIyOjJBMTZDOTo1MDk5MzY6NjlDRTM0OjZBRkU2OTU4IiwidmlzaXRvcl9pZCI6Ijg1Mzk2ODc3NzEzOTkxNTQwMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0734ec1cd52c2bd709bb0968cbbc962f07eb36d04bd0f9f6261dbc59a1d29766
hovercard-subject-tagissue:502281380
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/1621/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2626e3bc4c536326741f090972e93b44ab3647c8be927dd0b26d2c0393a45a72/microsoft/python-language-server/issues/1621
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2626e3bc4c536326741f090972e93b44ab3647c8be927dd0b26d2c0393a45a72/microsoft/python-language-server/issues/1621
og:image:altI have searched issues and found microsoft/vscode-python#679. But it seems out of date since it was updated on 11 Jul 2018. Environment data VS Code version: 1.38.1 Extension version (available und...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameduskmoon314
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id145901977
octolytics-dimension-repository_nwomicrosoft/python-language-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145901977
octolytics-dimension-repository_network_root_nwomicrosoft/python-language-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/python-language-server/issues/1621#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1621
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1621
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fpython-language-server
Reloadhttps://github.com/microsoft/python-language-server/issues/1621
Reloadhttps://github.com/microsoft/python-language-server/issues/1621
Reloadhttps://github.com/microsoft/python-language-server/issues/1621
microsofthttps://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Codehttps://github.com/microsoft/python-language-server
Issues309 (309)https://github.com/microsoft/python-language-server/issues
Pull requests6 (6)https://github.com/microsoft/python-language-server/pulls
Projectshttps://github.com/microsoft/python-language-server/projects
Wikihttps://github.com/microsoft/python-language-server/wiki
Security and qualityhttps://github.com/microsoft/python-language-server/security
Insightshttps://github.com/microsoft/python-language-server/insights
https://github.com/microsoft/python-language-server
Autocompletion doesn't work for some numpy's functionshttps://github.com/microsoft/python-language-server/issues/1621#top
duplicateThis issue or pull request already existshttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22duplicate%22
https://github.com/duskmoon314
Campbell He (duskmoon314)https://github.com/duskmoon314
on Oct 3, 2019https://github.com/microsoft/python-language-server/issues/1621#issue-502281380
microsoft/vscode-python#679https://github.com/microsoft/vscode-python/issues/679
How to update the language server to the latest stable version vscode-python#3977https://github.com/microsoft/vscode-python/issues/3977
Karthik Nadig (karthiknadig)https://github.com/karthiknadig
microsoft/vscode-pythonhttps://github.com/microsoft/vscode-python
on Oct 3, 2019https://github.com/microsoft/python-language-server/issues/1621#event-2685373634
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Oct 3, 2019https://github.com/microsoft/python-language-server/issues/1621#issuecomment-538115680
#1414https://github.com/microsoft/python-language-server/issues/1414
https://github.com/duskmoon314
Campbell He (duskmoon314)https://github.com/duskmoon314
on Oct 4, 2019https://github.com/microsoft/python-language-server/issues/1621#issuecomment-538322299
#1414https://github.com/microsoft/python-language-server/issues/1414
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
duplicateThis issue or pull request already existshttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22duplicate%22
on Oct 7, 2019https://github.com/microsoft/python-language-server/issues/1621#event-2693640768
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Oct 7, 2019https://github.com/microsoft/python-language-server/issues/1621#issuecomment-539251531
https://user-images.githubusercontent.com/12820357/66356980-f085bd80-e921-11e9-9871-3343dd1576c3.png
#1414https://github.com/microsoft/python-language-server/issues/1414
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/python-language-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 7, 2019https://github.com/microsoft/python-language-server/issues/1621#event-2693640823
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/python-language-server/issues/1621
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/python-language-server/issues/1621
duplicateThis issue or pull request already existshttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22duplicate%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.