-
Notifications
You must be signed in to change notification settings - Fork 450
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
Python type information for pylance autocompletion #750
Labels
Comments
Hi @Dobid, thanks for your feedback. Indeed that would be a nice feature to have type hints in our Python module. I am currently adding that feature to JSBSim. The first step is in the PR #755 that prepares JSBSim for type hints stubs then there will be a second PR that addresses specifically your request. Stay tuned ! |
Hello @bcoconni, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Correct me if I'm wrong but JSBSim python module is generated by cython. I couldn't get autocompletion on vscode when using JSBSim module (they use pylance as a language server). I asked this question on the pylance github :
Pylance Issue #3471. They replied that the module maintainer has to provide type information. So I'm wondering if you guys could implement this feature to make life easier for vscode (pylance) devs.
OS: Ubuntu 20.04
Language : Python 3.7
JSBSim 1.1.0
Thanks !
The text was updated successfully, but these errors were encountered: