The SDK Explorer view displays the structure of SDKs belonging to the
active project.
To open the SDK Explorer view, click . In the Show View dialog box, expand the
Other section and select SDK Explorer . Click
OK .
Select any project file or folder in Project Explorer. The SDK
Explorer displays the include folder for each SDK attached to the project, with
nested folders and header files inside:
You can perform the following actions in the
SDK Explorer view:
- To expand or collapse a folder, click the "arrow" button near the folder.
- To see all definitions and declarations of a header file (such as macros, functions,
namespaces, enumerations, and other), click the "arrow" button near the file. If a file
does not display the "arrow" button, it does not include any definitions and declarations.
- To see all files, definitions, and declarations that include a particular string
pattern, type the string in the filter box.
- To open a header file in the file editor, double-click it.
- To see a particular definition or declaration in the code, double-click it in the view.
This action opens the header file in the file editor and highlights the respective line.
- To hide from the view active macros, inactive macros, active functions, and inactive
functions, toggle the respective buttons on the top:
Note: Inactive macros and functions are those located inside the
#if
defined and
#endif constructs intended for a different
type of a compiler. These sections are grayed out in the file editor.
- To add an SDK function to your code, drag and drop it from the SDK
Explorer view to a proper place in the opened source file. This action
inserts the #include statement for the corresponding header file and
adds the function call to the selected place in the file.