Contextual actions

nRF Connect for VS Code

tags
nRF Connect for VS Code

When you hover over a node entry, the More Actions... (...) menu appears.

More actions in the Nodes view

The following actions are contextual and depend on the node and its properties:

Action Description
Go to Definition Opens the definitions of the node in the Editor.
Go to Declaration Opens the declaration of the node in the Editor.
Find All References Lists all references to the node.
Copy Path Copies the node path to the clipboard.
Enable or Disable Enables or disables the given node in the devicetree. You cannot see or edit children of a disabled node.

This option is related to the status property. Checked nodes have status = "enabled" and unchecked nodes have status = "disabled". Nodes without a checkbox do not have the status property.
Delete Removes the node from the devicetree.
Copy C Identifier Copies the Zephyr C macro identifier for the node to the clipboard, if one is available. See How to copy C identifiers.

Tip

These actions are also available when you right-click the node entry.