Context Overview

nRF Connect for VS Code

tags
nRF Connect for VS Code

The Context Overview View in the Devicetree Visual Editor lists the devicetree information for the build context that you have selected in the Build Contexts (or in the Applications View).

Context Overview View in the Devicetree Visual Editor

The information in the Context Overview is the result of the extension computing a summary for the final devicetree file that goes into a build. The extension looks at the configuration included in the board and overlay files, and lists what the common resources are and which components use them. Each overview area is linked with a specific node or property in the devicetree. See the Devicetree and Kconfig support guide page for more information about devicetree files.

When you click the node or property name, the following happens:

  • The primary definition of the linked node or property opens in the Editor.
  • The Build Contexts View is updated to show the build contexts that use the selected file. This can include other build configurations, even from applications that are not currently active in the Applications View.

In the following example, selecting Interrupts opens the text editor. This also triggers an update of the Build Contexts View, which shows the other build contexts that are using the files where this node was defined. This may include build configurations that do not belong to the active application.

Selecting a different node changes Build Context list

Tip

You can select the active build context using the Set Active Context command in the Command Palette or the extension status item in the Status Bar.