Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

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

Open SebastianGrans opened this issue 3 years ago • 15 comments

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):

  • Operating system:Description: Ubuntu 20.04.3 LTS
  • Python version: 3.8.10
  • Open3D version: 0.13.0
  • How did you install Open3D?: pip

SebastianGrans avatar Nov 25 '21 15:11 SebastianGrans

Any updates on this one? :)

anticdimi avatar Sep 13 '22 09:09 anticdimi

Any updates on this one? :)

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

dperyel avatar Sep 13 '22 09:09 dperyel

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

MalcolmMielle avatar Oct 07 '22 09:10 MalcolmMielle

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

anticdimi avatar Oct 07 '22 09:10 anticdimi

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

WhitePlusMS avatar Dec 28 '22 11:12 WhitePlusMS

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.

mroglic avatar Jan 10 '23 13:01 mroglic

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

WhitePlusMS avatar Jan 10 '23 13:01 WhitePlusMS

Same issue with visual studio 2022

K4rl33 avatar Jun 13 '23 11:06 K4rl33

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

WhitePlusMS avatar Jun 13 '23 11:06 WhitePlusMS

Same issue

coderPE avatar Jun 26 '23 23:06 coderPE

Same issue as of 2023

kodecreer avatar Aug 26 '23 17:08 kodecreer

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

WhitePlusMS avatar Aug 26 '23 17:08 WhitePlusMS

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

kodecreer avatar Aug 26 '23 17:08 kodecreer