Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>PeripheryNew to Visual Studio Code? Get it now.
Periphery

Periphery

Periphery

| (0) | Free
Find unused Swift code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Periphery for VS Code

Find unused Swift code in your Swift packages. Automatically scans after package builds by the Swift extension, and reports results in the Problems pane.

Requirements

  • Periphery installed and on your $PATH
  • The Swift extension for VS Code, available on the Visual Studio Marketplace and Open VSX Registry.

Usage

  1. Open a Swift package in VS Code.
  2. Build it using the Swift extension.
  3. Periphery scans automatically after a successful build and reports unused code in the Problems pane.

You can also run a scan manually from the command palette: Periphery: Scan for Unused Code.

To clear results: Periphery: Clear Results.

Settings

Setting Default Description
periphery.executablePath periphery Path to the periphery binary
periphery.scanOnBuild true Automatically scan after a successful Swift build
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft