📚 Documentation | 📦 VSCode Marketplace | 🐞 Github Issues | 🏔️ Roadmap
Develop Swift/iOS projects efficiently using VSCode or Cursor. SweetPad integrates essential iOS development tools to make VSCode/Cursor a viable alternative to Xcode.
- ✅ Autocomplete — Intelligent code completion using xcode-build-server
- 💅🏼 Format — Format Swift files using swift-format or other formatters
- 🔍 Periphery Scan — Detect unused code using Periphery with smart public API retention
- 📦 Swift Package Manager — Full support for SPM package development and dependencies
- 🛠️ Build & Run — Build and run applications using xcodebuild
- 📱 Simulator — Create, manage and control iOS simulators
- 📱 Devices — Deploy and run iOS applications on physical iPhone or iPad devices
- 🪲 Debug — Debug iOS applications using CodeLLDB
- ✅ Tests — Run tests on simulators and devices with visual feedback
- 🧪 Swift Testing — Support for Swift Testing framework (Xcode 16+) alongside XCTest
- 🛠️ Tools — Manage essential iOS development tools using Homebrew
- 🔍 Periphery Integration — Install and manage Periphery for unused code detection
SweetPad integrates Periphery to help you identify unused code in your Swift projects:
Context Menu Integration:
- Right-click on any scheme in the workspace tree
- Select "Periphery Scan" for quick analysis
- Select "Build & Periphery Scan" for full build + scan workflow
- Select "Create Periphery Config" to generate a
.periphery.ymlconfiguration file
Configuration Options:
periphery.runAfterBuild— Automatically run scan after buildsperiphery.retainPublic— Keep public APIs (enabled by default)periphery.retainObjcAccessible— Keep Objective-C accessible code (enabled by default)periphery.format— Output format (default: "xcode")
Configuration Priority:
.periphery.ymlin project root (checked first)- Custom path specified in
periphery.configsetting - User-prompted path selection
- Default settings if no configuration is found
Installation: Periphery is automatically managed through the Tools panel or install manually:
brew install periphery💡 Have ideas or found issues? Please open an issue or start a discussion on the SweetPad GitHub repository.
- 🍏 MacOS — Other platforms are currently not supported
- 📱 Xcode — Required for building and running iOS apps via
xcodebuild
Install directly from the VSCode Marketplace.
Download the latest .vsix file from GitHub Releases and install with:
code --install-extension sweetpad-[version].vsix
# or for Cursor
cursor --install-extension sweetpad-[version].vsix- Clone the repository:
git clone git@github.com:KayodeOgundimu-DoorDashSWE/sweetpad.git
cd sweetpad- Install dependencies:
npm install- Open the project in Visual Studio Code:
code .-
Press F5 to build and run the extension in a new development window.
-
Add breakpoints to the code where you want to debug.
-
When you perform actions that trigger those breakpoints, the extension will pause, allowing you to inspect variables and the call stack.
To build and test changes locally:
# Clone the repository
git clone https://github.com/KayodeOgundimu-DoorDashSWE/sweetpad.git
cd sweetpad
# Install dependencies
npm install
# Build and install the extension locally
./scripts/install-and-test.sh- 🔨 Builds the extension from source
- 📦 Creates a VSIX package with dynamic versioning
- 🚀 Installs the extension automatically in VS Code or Cursor
- 🔄 Reloads the editor window to activate the extension
See CHANGELOG.md for all notable changes to the extension.
This extension is licensed under the MIT License.

