microsoft / python-language-server

Microsoft Language Server for Python
Apache License 2.0
910 stars 130 forks source link

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

Open zhiyiYo opened 3 years ago

zhiyiYo commented 3 years ago

Environment data

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 commented 3 years ago

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.

zhiyiYo commented 3 years ago

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

Expected behaviour

有提示

Actual behaviour

没有提示

jakebailey commented 3 years ago

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