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

https://github.com/cleancocoa/textkitautocompletion


https://github.com/cleancocoa/textkitautocompletion

Last synced: 17 days ago
JSON representation

Awesome Lists containing this project

README

        

# TextKitAutoCompletion

Extends TextKit's default auto-completion to support live typing suggestions.

TextKit's auto-completion can be invoked in any `NSTextView` via F5 or +ESC. It shows dictionary suggestions for the relevant word at point; but you cannot type-to-complete. Typing cancels the completion UI, so you need to hit the invocation key again after you finished typing.

This package fixes that.

## Installation

### Xcode

Paste this in Xcode's URL field: `https://github.com/CleanCocoa/TextKitAutoCompletion`

### SwiftPM

```swift
dependencies: [
.package(url: "https://github.com/CleanCocoa/TextKitAutoCompletion", branch: "main")
],
targets: [
.target(
name: "MyTarget",
dependencies: [
"TextKitAutoCompletion",
]
),
```