Hi,
The default configuration as described in the INSTALL file is usually
sufficient, and the functions semantic-ia-complete-symbol, or
semantic-complete-analyze-inline will act as a completion mechanism.
When you go too deep through some complex classes, such as if you had:
vs.begin().
will confused CEDET as some of the class typedefs don't always get resolved.
I think you might be able to use:
cedet-clang-activate
is you have clang installed to get support for completions for that
external tool.
Eric
On 06/24/2012 01:58 AM, Rajanikanth Jammalamadaka wrote:
> Hi
>
> I am using emacs 24.1.1 and bzr version of cedet. This may have been
> discussed before (went through other discussions which didn't help me
> with the configuration), but I want to know what is the minimal
> configuration needed that would do autocompletion for a simple C++ program:
>
> #include <iostream>
> #include <vector>
> #include <string>
>
> using namespace std;
>
> int main()
> {
> string s;
> vector<string> vs;
> vs. // I need autocompletion (drop-down list preferable)
> at this point.
>
> }
>
> I need all the member functions of vector to be displayed in a drop-down
> list.
>
> Please let me know.
>
> Thanks,
> Raj
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> Cedet-devel mailing list
> Cedet-devel@...
> https://lists.sourceforge.net/lists/listinfo/cedet-devel
|