How to add missing required properties

nRF Connect for VS Code

tags
nRF Connect for VS Code

The extension includes a code action to add all required properties missing from a devicetree node. When applicable, a button with a light bulb icon appears next to the selected node in the Editor.

To add the missing required property:

  1. Click the property icon.
  2. Click Add required properties.

See the following GIF for a preview of these steps.

Add required properties