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

Add swig option to include doc for java and python wrapper #4080

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Conversation

trengginas
Copy link
Member

@trengginas trengginas commented Sep 17, 2024

This PR will add the option to include the doc from the C++ code to the java and python wrapper.
It is nice to have since on some IDE, the doc will be shown as tooltip information.

Notes:

  • Requires SWIG 4 or later
  • Only supports Java and Python
  • On Python, the fields doc might get exported as property doc and not shown properly on the tooltip (e.g.: on VS Code). You can use the script in here to transform the doc further.

@Axiinos
Copy link

Axiinos commented Sep 20, 2024

Glad to see i was able to help with supplying the transformation script.

It helps on both VSCode and Pycharm.

@trengginas trengginas merged commit 6cb98ab into master Sep 25, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants