-
Notifications
You must be signed in to change notification settings - Fork 1.2k
python linter on open3d package is not working as expected. #3802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @George35mk ,
|
Hi karrtikr thanks for looking on this. .vscode/settings.json{
"python.pythonPath": "C:\\Users\\george\\AppData\\Local\\Programs\\Python\\Python36\\python.exe",
"python.linting.pylintEnabled": true,
"python.linting.pylintArgs": [
"--extension-pkg-whitelist=cv2"
]
} .pylintrc
|
Also I have created an issue on Open3D repository. |
Shouldn't you use |
I have try this but for some reason is not working also I was trying to add an array to accept both **openCV and open3D but is not working For example like this if I do this the openCV is not working I get error on the editor |
I implemented the last and if I hover on cv2 methods the intelisense show me a pop, that is ok seems to work. but the |
If you're doing the same thing with In either case, it does not seem to be the issue of the python extension. I would recommend you to open this issue in pylint. |
I think the same @karrtikr. I will wait for the open3D developers since I open the same issue there, and they told me that they are working to fix this problem. I m not sure if this issue must be closed but you are free to close this if is needed. |
Describe the bug
A clear and concise description of what the bug is.
I don't know if this is a bug but I m trying to understand why the vscode python intelisense can't autocomplete with this package, I have seen the same exactly behavior when I m using the OpenCV with VsCode put I solved by adding this setting, inside the vscode
settings.json
with this, the vscode intelisense work as expected and I can navigate through the opencv api.
but I canot do the same with the Open3D, what is the difference from other puthon packages that open3D have been build.
Can someone check this?
I think the majority of the developers in this days use VsCode as the main code editor and is gonna be very helpful for the developers if they can navigate the open3d methods.
Thank you.
To Reproduce
Steps to reproduce the behavior:
pip install open3d-python
Expected behavior
I expected to navigate to the open3D code after I clicl in some function so I can read the documentation as a result I will understand better my code.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: