Skip to content
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

Request to add type hint for Open3D package? #5802

Open
3 tasks done
chibai opened this issue Dec 21, 2022 · 3 comments · May be fixed by #6917
Open
3 tasks done

Request to add type hint for Open3D package? #5802

chibai opened this issue Dec 21, 2022 · 3 comments · May be fixed by #6917

Comments

@chibai
Copy link

chibai commented Dec 21, 2022

Checklist

Proposed new feature or change

just like numpy, it's mainly implemented by c/c++
But it still has type hint, it is convinient for coders.

When I type "numpy." and "Tab", there're many functions to be selected.
When I type "open3d.geometry", there's nothing

References

No response

Additional information

No response

@danrauch
Copy link
Contributor

I would also appreciate out-of-the-box type hints.

If somebody is looking for a workaround, I tried to do a semi-automatic type hint and docstring extraction here: open3d-stubs. It's not complete, but a starting point.

@chibai
Copy link
Author

chibai commented Jan 28, 2023

I would also appreciate out-of-the-box type hints.

If somebody is looking for a workaround, I tried to do a semi-automatic type hint and docstring extraction here: open3d-stubs. It's not complete, but a starting point.

Wow, this is really cool~ Thank you for your reply

@martincerven
Copy link

Hmm isn't there less stupid way than putting generated typings folder into root of your vscode workspace?

@timohl timohl linked a pull request Aug 14, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants