Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could solve this easily by only activating it after a period of inactivity. Stop typing for a second, and the suggestion box pops up.

Xcode has a preference (well, two) that help out with autocorrection. I heard about it at last WWDC, and can definitely see the tip being mentioned again at the next one (that is, if you're going to WWDC and go to the Xcode presentation). I believe the key I changed/added after the presentation is:

  <key>XCCodeSenseAutoSuggestion</key>
  <string>Immediate</string>
And possibly:

  <key>XCCodeSenseAutoSuggestionDelay</key>
  <real>0.5</real>
that may be related. Basically, it lets me hit enter to autocomplete methods/functions/classes/etc right away and only showing whats actually available to the class.

If those aren't it -- and someone wants -- I'll skim/rewatch the Xcode presentation from last year and look it up.

And built into every Cocoa app: Hit escape while typing and it will show you a list of available completions. In Xcode, this ends up being potential classes and methods available from the framework.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: