Replies: 1 comment 1 reply
-
You will need to generate stubs. Take a look at this: #163 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use Sublime Text and Visual Studio Code to write Python code. When I import a package or module into a Python file, these editors will provide autocompletion for functions, classes, and other objects that are available from the package or module. The editors will also show the docstring associated with that function, class, or object. This page for Visual Studio Code demonstrates autocompletion and docstring support in the editor. When I import a module created by nanobind, I don't get autocompletion or docstring support for that module in the text editor or IDE. I can view the docstrings in a REPL like iPython or an interactive Python session but they don't show up in editors. Does anyone else have this problem or is this not possible for nanobind modules?
Beta Was this translation helpful? Give feedback.
All reactions