---
title: PluginCommandIntent.sourceCodeFormatting
framework: swift-package-manager
role: symbol
role_heading: Case
path: swift-package-manager/documentation/packagedescription/plugincommandintent/sourcecodeformatting
---

# PluginCommandIntent.sourceCodeFormatting

The plug-in formats source code.

## Declaration

```swift
case sourceCodeFormatting
```

## Discussion

Discussion The command used to modify the source code in the package based on a set of rules. Invoked by a format-source-code verb to swift package.
