Bndtools: Context-Menu for .bnd files - What are the things I can add to bnd.bnd file?

Have you ever wanted to see what things you can add in the source-view of a bnd.bnd file?

I just discovered there are context menu entries for Plugins, Instructions, Headers and Macros (in addition to some code-completion e.g. when you start typing a dash ‘-’).

Just right-click anywhere in the source view and scroll down to this:

You see a description tooltip and when you click on it, it inserts an example.

Want to add to this, fix a description or example?

The Syntax.java class is the place where all this is maintained and is used to show tooltips and stuff in Eclipse.

1 Like

We keep extensive documentation inside the code. You can access it like this and also via the bnd command line tool.