Skip to content

Fix syntax returntype handling and show descriptions of Directives and Options #6668

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

Merged

Conversation

chrisrueger
Copy link
Contributor

@chrisrueger chrisrueger commented Jul 11, 2025

  • display of deeply nested Syntaxes (e.g. -executable or -runstartlevels) whic are defined via @SyntaxAnnotationin Javacode
  • adds description to options
image

Related to the whole topic of docs generation #6666

- an else block (// simple value) was entered because an if was not an else-if, which led to the situation that previous Syntax children, determined by the rtype were added again because of the else block being entered. So the last Syntax (last wins) was used and the one with more information was ignored
- Syntax: suppress toString, equals, hashCode methods
- generatemanual: show description of directives/options
- fix indentation in deeply nested childs
 - e.g. _instructions/-execute.md, _instructions/-runstartlevel.md or _heads/bnd.md  are deeply nested. now the identation makes it more clear what belongs to what

Signed-off-by: Christoph Rueger <[email protected]>
@chrisrueger chrisrueger force-pushed the fix-syntax-returntype-handling branch from cfa698e to 5da7002 Compare July 11, 2025 10:21
@chrisrueger chrisrueger marked this pull request as ready for review July 11, 2025 10:26
@chrisrueger chrisrueger merged commit 0b23c61 into bndtools:master Jul 11, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant