Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Containment DiffNew to Visual Studio Code? Get it now.
Containment Diff

Containment Diff

FriskyDev

|
1 install
| (0) | Free
View diffs of Feature containment if/else blocks in Windows kernel code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Containment Viewer

Shows a diff view of Feature containment if/else blocks in Windows kernel code.

Usage

  1. Place cursor on or before an if statement containing Feature_*_IsEnabled() or Feature_*::IsEnabled().
  2. Run Show Containment Diff from the command palette (Ctrl+Shift+Alt+D).
  3. A diff editor opens showing the Enabled block vs Disabled block.

If the condition is negated (!Feature_*_IsEnabled()), the blocks are swapped so "Enabled" always means the feature-on path.

Build

npm install
npm run compile

Press F5 in VS Code to launch the Extension Development Host.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft