Scopes

SemanticDiff keeps track of where scopes (classes, functions, structs, …) start/end and what name they are assigned. This information is used to give you a better overview of the code surrounding a change. The scopes are displayed in the hunk header and list all elements that are active in the first line of the hunk in hierarchical order.

Scopes in SemanticDiff

You can click on the scopes to load more context.