Add-in naming conventions

Looking at the previous example it may seem a bit strange to use the identifier "Core" for an add-in root, however it makes a sense when used together with a namespace. The full ID of an add-in is the concatenation of the namespace and the id, so the full ID would be "TextEditor.Core".

All add-ins extending the an add-in root should use the same namespace. So for example, we would have "TextEditor.XmlAddin", "TextEditor.CompilerService", etc.

The following declaration would be valid for an add-in:

<Addin namespace="TextEditor">

IDs are not mandatory if the add-in can't be extended. Specifying the namespace is also not mandatory, but very convenient to make it clear what's the scope of the add-in.

Last edited May 10, 2010 at 11:32 PM by slluis, version 1


No comments yet.