unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Semantic completion of C++ class members
@ 2014-05-01 16:06 Jacob Gerlach
  2014-05-01 21:29 ` Emanuel Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Jacob Gerlach @ 2014-05-01 16:06 UTC (permalink / raw)
  To: help-gnu-emacs

My understanding of semantic mode is that it should offer completions based on class definitions.

For example, given

MyClass A;

A.-|-

C-c , <SPC> should offer the member functions of MyClass as completions.

I have opened MyClass.h and MyClass.cpp to make sure that semantic has parsed them, but attempting semantic-complete-analyze-inline returns "Cannot find types for `MyClass A'

Am I misunderstanding the process to get this type of completion?

Alternatively, I have not tried to use anything like CEDET, so if a better solution is "just use CEDET" (or whatever else), I'm open to anything.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-04  7:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-01 16:06 Semantic completion of C++ class members Jacob Gerlach
2014-05-01 21:29 ` Emanuel Berg
2014-05-04  0:44   ` Richard Riley
     [not found]   ` <mailman.619.1399164314.1147.help-gnu-emacs@gnu.org>
2014-05-04  0:54     ` Jacob Gerlach
2014-05-04  7:11       ` Andreas Röhler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).