There is a new autocomplete in Xcode. Probably might be useful because it checks not only beginning of names etc. But I found that very often it doesn't find a class name or a const name at all etc. I need to type in entire name by myself. Over all I found it makes my life harder and coding more time consuming. Is there a way to switch to the old way it used to work?
相关问题
- Google places autocomplete suggestion without coun
- Make autocomplete work after a fullstop
- how to fetch multiple values of json file in an sc
- Show image in JQuery ui autocomplete
- Knockout.js autocomplete bindingHandler [closed]
相关文章
- Set the z-index value of a jQuery autocomplete inp
- How to disable autocomplete in address fields for
- Clear text box in Jquery Autocomplete after select
- Jquery UI autocomplete - Unwanted triggering due t
- How to test autocomplete using selenium and Python
- remote autocomplete by typeahead works only on uni
- Firefox overrides javax.faces.ViewState with old v
- Update or change typeahead data
I have the impression that some 'parts' of autocompletion simply fail after a while. I use to restart the Mac to get it back working. But sometimes it fails quite soon again. Maybe the answer of @Alex Bykov combined with a restart will do the trick.
Anyway: auto-completion of Xcode always was crap. AppCode used to get it much better. Unfortunately not yet with swift.
As a work-around, you can try to press Command + Shift + K and Command + B Several times,it works temporarily.
Closed Xcode, opened Xcode, let it index, it worked.
just open Xcode derived data folder and delete the folder
/Users/yourUserName/Library/Developer/Xcode/DerivedData
then restart Xcode, now autocompletion works like a charm
Xcode 7.3.1
In Xcode > Preferences > Text Editing
uncheck
Enable type-over completions
restart Xcode
This is by no means an adequate solution, BUT it has allowed me to (barely) maintain my sanity the past few days: After every build, you need to trash your Derived Data folder. You can find this folder in
Xcode > Preferences > Locations > Derived Data
. Just trash the whole thing and it'll kick off a re-indexing step that should restore proper autocomplete functionality. Unfortunately, I've found that once I build, the autocomplete behavior reverts to its broken state.