I recently switched to emacs for my code editing, and it mostly works well.
However, for Objective-C I find myself missing Xcode's autocomplete feature as I have trouble remembering the long function names such as
- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation screen:(NSScreen *)screen;
Is there a way to get Xcode-style autocompletion on emacs?
Also, are there any good packages to help with Cocoa or Objective-C in general that I should have?
I wrote a script to export function definitions in Cocoa SDK as yasnippet snippets: http://github.com/zegal/yasobjc
With the help with ETAGS and auto-complete, the completion experience is very close to XCode. You can have a try.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With