Semantic seems to be able to do this, but I cannot get it to work as I would expect it to. For example, if I #include "Type.h" and declare Type t, using semantic-complete-analyze-inline when point is after t. consistently gives me the error
Cannot find types for `Type t'
instead of giving me all of the public (or otherwise appropriate) members of t.
How can I get the result I'm looking for here? Ideally, how can I use whatever Semantic might provide as a backend for Company?
Typewith fieldsint fooandchar bar, semantic and company work out of the box. – J David Smith Nov 10 '14 at 19:35company-backendsvariable hascompany-semanticin its list? If not, you'll want to add prepend it to the first of the list so that it's searched first – cheezy Nov 10 '14 at 20:26company-semanticis incompany-backends; thanks :) – Sean Allred Nov 10 '14 at 21:02irony-mode– not too sure why. If I can get it to work, I'll be tempted to close this as a duplicate. It doesn't give a solution to work with Semantic, but it gives a solution that achieves the same goal (or at least appears to). Thanks :) – Sean Allred Dec 06 '14 at 17:42