Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was 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

Description

@zhiyiYo

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 (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Activity

  1. karthiknadig commented on Nov 5, 2020

    @karthiknadig
    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.

  2. zhiyiYo commented on Nov 6, 2020

    @zhiyiYo
    Author

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

    Expected behaviour

    有提示

    Actual behaviour

    没有提示

  3. jakebailey commented on Nov 6, 2020

    @jakebailey
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions