https://github.com/chrischute/xcode-multi-line-func
XCode extension to split a Swift function onto multiple lines
https://github.com/chrischute/xcode-multi-line-func
Last synced: 4 months ago
JSON representation
XCode extension to split a Swift function onto multiple lines
- Host: GitHub
- URL: https://github.com/chrischute/xcode-multi-line-func
- Owner: chrischute
- Created: 2019-05-07T19:21:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-18T12:31:26.000Z (almost 4 years ago)
- Last Synced: 2025-03-22T06:41:41.990Z (9 months ago)
- Language: Swift
- Size: 3.57 MB
- Stars: 40
- Watchers: 2
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-xcode-extensions - Convert to Multi-Line Function - XCode Source Editor Command to put each function argument on its own line. (The list / Helper on editing)
README
## Overview
This is a simple XCode extension to convert a one-line function call (or declaration) into a multi-line one. Useful for functions with many parameters.

## Installation
- Download latest *Convert to Multi-Line Function* package from the [Releases](https://github.com/chrischute/xcode-multi-line-func/releases).
- Copy *Convert to Multi-Line Function* to your *Applications* folder.
- Launch *Convert to Multi-Line Function* once. You can close it immediately afterwards.
- Go to System Preferences > Extensions > Xcode Source Editor > select Convert to Multi-Line Function
## Setting Hotkey in Xcode
- Open Xcode
- Go to Xcode > Preferences > Key Bindings
- Type *'convert to multi-line function'* in search field
- Assign ⌃ + ⌘ + N to *Convert to Multi-Line Function* command