isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.08k stars 2.26k forks source link

VS Code IntelliSense doesn't work with Open3D when using the PyLance server #4347

Open SebastianGrans opened 2 years ago

SebastianGrans commented 2 years ago

Describe the bug The IntelliSense feature of VS Code does not work with the Open3D library when using the PyLance language server in VS Code.

To Reproduce Steps to reproduce the behavior:

  1. Get VS Code.
  2. Install the Python and PyLance extension.
  3. Create a new python file, and import open3d.
  4. Write something from the library. Auto-completion and function docstring should be presented.

Expected behavior Here's an example of expected behavior using numpy. numpywork

Workaround It kinda works using the Jedi language server. Although the docstrings are quite bad. I mentioned this in #751 but never got a response. open3djedi

Environment (please complete the following information):

anticdimi commented 1 year ago

Any updates on this one? :)

dperyel commented 1 year ago

Any updates on this one? :)

Just because of this issue I switched to PyCharm from VS Code (-: Now development experience is much better.

MalcolmMielle commented 1 year ago

Like for openCV stubs needs to be created for the api to be read correctly by pylance

anticdimi commented 1 year ago

Hi @MalcolmMielle, any hints on how to do that? Not particularly familiar with this kind of thing. Any help would be welcome :)

WhitePlusMS commented 1 year ago

Hi,I have met the same problem as you. Do you have any new ideas or solutions for this problem of VS Code? o-:

mroglic commented 1 year ago

I also have the same issue, VS Code IntelliSense is not working on Windows 11 (Python 3.7.3) and Ubuntu 20.04 (Python 3.8.10). It's working in PyCharm but I'd much rather continue using VS Code as the primary IDE. I would greatly appreciate any suggestions on how to solve this.

WhitePlusMS commented 1 year ago

您好,我已收到您的邮件,我会尽快回复。祝工作顺利~

K4rl33 commented 1 year ago

Same issue with visual studio 2022

WhitePlusMS commented 1 year ago

您好,我已收到您的邮件,我会尽快回复。祝工作顺利~

coderPE commented 1 year ago

Same issue

kodecreer commented 1 year ago

Same issue as of 2023

WhitePlusMS commented 1 year ago

您好,我已收到您的邮件,我会尽快回复。祝工作顺利~

kodecreer commented 1 year ago

我会读中文。你没回复。。

ajain-1 commented 1 month ago

Still have the same issue

WhitePlusMS commented 1 month ago

您好,我已收到您的邮件,我会尽快回复。祝工作顺利~