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?
Type
with fieldsint foo
andchar bar
, semantic and company work out of the box. – J David Smith Nov 10 '14 at 19:35company-backends
variable hascompany-semantic
in 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-semantic
is incompany-backends
; thanks :) – Sean Allred Nov 10 '14 at 21:02