https://github.com/cleancocoa/textkitautocompletion
https://github.com/cleancocoa/textkitautocompletion
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cleancocoa/textkitautocompletion
- Owner: CleanCocoa
- License: mit
- Created: 2025-01-10T07:17:41.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-06-10T07:56:06.000Z (18 days ago)
- Last Synced: 2025-06-10T08:36:09.990Z (17 days ago)
- Language: Swift
- Size: 184 KB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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",
]
),
```