An open API service indexing awesome lists of open source software.

https://github.com/hlung/xcodeextensions

The missing pieces of Xcode
https://github.com/hlung/xcodeextensions

xcode xcode-extension

Last synced: 7 months ago
JSON representation

The missing pieces of Xcode

Awesome Lists containing this project

README

          

# Xcode Extensions

## Installation

- Download the `*.app.zip` file in [releases](https://github.com/hlung/XcodeExtensions/releases) page (or build from source code if you don't trust me :P)
- Run the app once, then close it
- Open Xcode, open some .swift file
- The command should appear at the bottom of Editor menu

To manage extensions, go to System Preferences > Extension > Xcode Source Editor

## Commands

### Expand Selection

This command uses the selected text to expand selection to the next occurance of that text. This allows fast multi-selection refactoring of any text.

This is the same feature as Sublime Text's `Selection > Expand Selection to Word` (cmd+D) command.

**UPDATE!** After creating this, I found that Xcode already has this feature. 😅 🙈
It is in the menu "Find > Select Next Occurance (opt + cmd + E)".

![demo](README/demo-expand-selection.gif)

#### Limitations

- Not yet working with a selection that spans across multiple lines.
- Not yet support searching back at beginning after reaching end of file.