microsoft/python-language-server

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

zhiyiYo opened this issue · 3 comments

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

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 Thank you for your reply. I have switched the language server to Pylance, but encountered the same problem.

Expected behaviour

有提示

Actual behaviour

没有提示