Sublime Forum

Objective-C Code Completion (YouCompletMe?)

#1

I have been trying to get code completion working for my objective-c project.

I attempted to use the plugin ‘clang complete’ but it crashes the plugin host and does not seem to be able to figure out how to walk my project. Ideally, I would like to use a compile_commands.json file to pass clang the parameters for building, but that doesn’t seem to be an option

I also installed ycmd (you complete me standalone server) but I haven’t been able to get the plugins talking to the server, and even when they do, there doesn’t seem to be any actual code completion happening.

Has anybody successfully gotten objective-c code completion working (including methods from other files from a large project)?

0 Likes

#2

EasyClangComplete has Objective-C completion now, and it works for me with methods from other files in the project, as long as the headers declaring those methods are included by the file you’re editing in.

https://packagecontrol.io/packages/EasyClangComplete

0 Likes