# ![Fz](https://avatars3.githubusercontent.com/u/7301270?s=25) Fuzzy Autocomplete for Xcode
## Xcode 7 support
Most things seem to work. To try out the plugin in Xcode 7, clone the `xcode7` branch and build the plugin. And please do file any encountered issues on github.
Install via Alcatraz and/or binary release coming soon.
## `FuzzyAutocomplete 2.1`
This is a Xcode 5+ plugin that patches the autocomplete filter to work the same way the **Open Quickly** works. It performs very well, and the fuzzy matching actually uses Xcode's own `IDEOpenQuicklyPattern`.
![Demo](demo.gif)
## Authors
FuzzyAutocomplete is brought to you by:
* [Leszek Ślażyński](http://github.com/slazyk) ([@slazyk](http://twitter.com/slazyk)) - author of the 2.x version
* [Jack Chen](http://github.com/chendo) ([@chendo](http://twitter.com/chendo)) - original creator of the 1.x version
See @chendo's original blog post about how he figured out what to patch: [Reverse engineering Xcode with dtrace](http://chen.do/blog/2013/10/22/reverse-engineering-xcode-with-dtrace/?utm_source=github&utm_campaign=fuzzyautocomplete)
Like nifty tools like this plugin? Check out [Shortcat](https://shortcatapp.com/?utm_source=github&utm_campaign=fuzzyautocomplete), an app by @chendo that lets you control your Mac more effectively with your keyboard!
## Features
### Main Features
* Xcode's autocompletion matches like **Open Quickly** does
* Supports Xcode's learning and context-aware priority system
* [New] [Experimental] Corrects word order for you (eg. `rangemake` vs `makerange`)
* [New] [Experimental] Auto-corrects case when pressing space (eg. `CGFLoat`)
* [New] Visualizes matches in Completion List and Inline Preview
* [New] Easily customizable via a Settings Window (Editor > FuzzyAutocomplete)
* [New] [Optional] Sorts items by their score for easier searching
* [New] [Optional] Hides items based on a threshold for less clutter
* [New] [Optional] Shows the query and number of matches in Header View
* [New] [Optional] Shows match scores for items in the List
* [New] Selects prev/next completion with shortcuts (default `⌃>` / `⌃.`)
* [Optional] Treats first few query letters as a required prefix
* Productivity++
*[New] denotes a feature added in 2.0*
*[Optional] denotes a feature which can be configured in settings*
*[Experimental] denotes ... well just guess what it denotes*
## Compatibility
* Supports Xcode 5.0+
* Supports OS X 10.8+
* Compatible with [KSImageNamed](https://github.com/ksuther/KSImageNamed-Xcode)
## Installation
* Either:
* Install with [Alcatraz](http://alcatraz.io/)
* Clone and build the project
* Download and unzip a [release](https://github.com/FuzzyAutocomplete/FuzzyAutocompletePlugin/releases) to
`~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/`
* Restart Xcode and enjoy!
* You should now see a `FuzzyAutocomplete` menu item in `Editor` menu
* If for some reason you want to remove the plugin it should be located at
`~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/`
## Issues with new versions of OS X and/or Xcode
Updated OS or Developer Tools and the plugin does not work? The issue might have already been fixed. Always check whether [reinstalling](#installation) the newest version helps. If not, please file an [issue](https://github.com/FuzzyAutocomplete/FuzzyAutocompletePlugin/issues) if there is none related. Or, even better, submit a pull request with a fix.
## Changelog
#### 2.1.0 - 2014/06/04
**An update with new features, improvements and bugfixes, including:**
* Support for Xcode 6 and Swift
* Correct Word Order by two-pass matching, useful when:
you don't remember the order (eg rangemake)
want to narrow down without backspacing (eg nsexceptioninvalid)
* Correct Letter Case by replacing with exact match if there is only one
* Option to hide cursor when inline preview shows a non-prefix match
* Keep the selection when narrowing the search (unless it was the best match)
* Better inline previews, including token text, just without tokens
* Improved range convertions and highlighting
* Fixed useful prefix underlining when it spans multiple segments
* Fixed completion list positioning
#### 2.0.1 - 2014/04/25
**A minor update with small bugfixes and improvements, including:**
* Replaced letter- and prefix- caches with simple cached results stack
thus making backspacing much faster (Issue #29)
* Previous/Next completion shortcuts now work properly (Issue #36)
* Completion List now automatically shows for one letter (Issue #37)
* Hide Inline Preview more reliably when disabled in settings
* Moved FuzzyAutocomplete menu item into Editor menu
* Added option to disable plugin in settings
* Fixed alphabetical sorting of results when using parallel scoring
* Reliability++
* Performance++
#### 2.0.0 - 2014/04/16
**A major update introducing many fixes and improvements, including:**
* Visual feedback in Completion List and Inline Preview
* Settings Window, settings now don't require Xcode restart
* Option to sort items by match score
* Option to hide items based on threshold
* Option to hide Inline Preview, which now works correctly
* Option to show a List Header with query and number of matches
* Option to show item scores in the List
* Improved score formula, added option to tweak parameters
* Previously hidden items can now re-appear if their score rises
* `Tab` now inserts an useful prefix based on whole fuzzy match
* The results should no longer depend on the speed of typing
* Got rid of order dependent "shortest match" selection mechanism
* Performance++
* UX++
* ...
#### [Full Changelog](CHANGELOG.md)
[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/2803367345737409176241eb9cc3f903 "githalytics.com")](http://githalytics.com/chendo/fuzzyautocompleteplugin)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
FuzzyAutocompletePlugin-master-2.zip (55个子文件)
FuzzyAutocompletePlugin-master-2
demo.gif 142KB
LICENSE 1KB
.DS_Store 8KB
FuzzyAutocomplete.xcodeproj
project.xcworkspace
contents.xcworkspacedata 162B
xcuserdata
apple.xcuserdatad
UserInterfaceState.xcuserstate 10KB
project.pbxproj 27KB
xcuserdata
apple.xcuserdatad
xcschemes
xcschememanagement.plist 489B
FuzzyAutocomplete.xcscheme 3KB
FuzzyAutocomplete
LSLDebug.h 2KB
DVTTextCompletionInlinePreviewController+FuzzyAutocomplete.m 6KB
FASettingsWindow.xib 85KB
FuzzyAutocomplete-Info.plist 2KB
FASettings.m 11KB
FATextCompletionListHeaderView.m 4KB
FuzzyAutocomplete.m 5KB
NSBundle+LSLProperties.m 565B
DVTTextCompletionSession+FuzzyAutocomplete.m 42KB
JRSwizzle.m 5KB
DVTTextCompletionListWindowController+FuzzyAutocomplete.h 412B
DVTTextCompletionInlinePreviewController+FuzzyAutocomplete.h 524B
DVTTextCompletionSession+FuzzyAutocomplete.h 2KB
FAItemScoringMethod.h 1KB
.DS_Store 10KB
FASettings.h 3KB
FAMatchPattern.m 4KB
FATextCompletionListHeaderView.h 442B
DVTTextCompletionListWindowController+FuzzyAutocomplete.m 12KB
FuzzyAutocomplete.h 336B
FATheme.m 3KB
NSBundle+LSLProperties.h 293B
FAMatchPattern.h 561B
en.lproj
InfoPlist.strings 45B
JRSwizzle.h 467B
NSArray+FirstObject.h 227B
FuzzyAutocomplete-Prefix.pch 482B
FAItemScoringMethod.m 1KB
FATheme.h 796B
.gitignore 262B
CHANGELOG.md 3KB
README.md 6KB
XcodeHeaders
DVTCompletingTextView.h 7KB
DVTTextCompletionSession.h 5KB
DVTTextCompletionItem-Protocol.h 908B
IDEIndexCompletionItem.h 1KB
.DS_Store 8KB
DVTPreferenceSet-Protocol.h 1KB
DVTTextStorageDelegate-Protocol.h 376B
DVTTextStorage.h 12KB
DVTCompletingTextViewDelegate-Protocol.h 857B
DVTFontAndColorTheme.h 6KB
DVTTextCompletionDataSourceDelegate-Protocol.h 242B
DVTTextCompletionListWindowController.h 3KB
DVTInvalidation-Protocol.h 447B
DVTTextCompletionInlinePreviewController.h 2KB
IDEOpenQuicklyPattern.h 969B
共 55 条
- 1
资源评论
- stupidgee2015-08-31这个可以, 对ios开发很重要..
- qq_346570082016-04-14怎么用不了,运行起来有错误
- ayer_henhuahua2015-11-26赞一个,很好的插件
- 雷炎天击2015-09-08赞一个,为数不多的可用插件。目前自己用的版本是6.3
tiantian1980
- 粉丝: 145
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功