Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

numpy's function prompt does not work correctly with Microsoft language server #2131

Open
zhiyiYo opened this issue Nov 5, 2020 · 3 comments

Comments

@zhiyiYo
Copy link

zhiyiYo commented Nov 5, 2020

Environment data

  • VS Code version: 1.50.1(user setup)
  • Extension version (available under the Extensions sidebar): v2020.10.332292344
  • OS and version: Windows_NT x64 10.0.19042
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.6 64-bit
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: numpy==1.19.2
  • Value of the python.languageServer setting: "python.languageServer": "Microsoft"

Expected behaviour

I hope np.arange can get the function prompt like np.argmax
预期效果

Actual behaviour

Intellisense dosen't work correctly for np.arange, I can't see any function prompt
非预期效果

Logs

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

XXX

@karthiknadig
Copy link
Member

Thanks for your feedback! We have recently released a new and more performant language server called Pylance which likely solves these issues you are reporting.  You can download Pylance from the marketplace and install it alongside the core Python extension. Because our team's development efforts have shifted to support the new language server, we'd encourage you to try it out.

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Nov 5, 2020
@zhiyiYo
Copy link
Author

zhiyiYo commented Nov 6, 2020

@karthiknadig Thank you for your reply. I have switched the language server to Pylance, but encountered the same problem.

Expected behaviour

有提示

Actual behaviour

没有提示

@jakebailey
Copy link
Member

For Pylance, see microsoft/pylance-release#150.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants