To receive code completion features for user-defined functions, variables, and constants, you must create a new file with the same name, in the same directory as your .bdf or .bdh file that defines the function, variable or constant you want to enhance, though with the extension .bdd.
A .bdd file has the following structure:
<CodeCompletionInfo> <Function id="FuncId"> <Description>FuncDesc</Description> <ParamList> <Param no="1"> <Name>ParamName</Name> <Description>ParamDesc</Description> </Param> </ParamList> <Returns> <Type>RetValTyp</Type> <Description>RetValDesc</Description> </Returns> </Function> <Global id="GlobalId"> <Description>GlobalDesc</Description> </Global> </CodeCompletionInfo>
This means that for each function you want to instrument with code completion information, you must insert a function node. For all others (variables and constants) you must insert a global node.
FuncID | Name of the function in your .bdf or .bdh file, for which code completion information should be provided. |
FuncDesc | Textual description of the function. |
ParamName | Parameter name |
ParamDesc | Textual description of the parameter. |
RetValTyp | Data type of the return value. |
RetValDesc | Textual description of the return value. |
GlobalId | Name of the global variable or constant. |
GlobalDesc | Textual description of the variable or constant. |