Re: [CEDET-devel] semantic-ia-complete-symbol fails for some variables (c++)
Brought to you by:
zappo
From: Jan N. <jan...@al...> - 2014-02-02 08:36:59
|
Hi Oleh, I like your function-args extension. In particular I have had issues with M-x semantic-ia-show-variants on constructors on the form of: void foo() { //after the parentheses '(' I would like a list of possible completions (prototypes) //for initializing myClass MyClass myClass( } But with your extension I get the prototypes with M-i (fa-show) and M-n (fa-idx-cycle 1) Nice! :-) /Jan On 01/31/2014 07:19 PM, Oleh wrote: > Hi Jan, > > Your example works for me. I'm at bzr revno 8613. > If you're just starting, you might be interested in my extension > https://github.com/abo-abo/function-args. > It uses CEDET to provide Eclipse-like visual function arguments, and > can insert inherited tags among other things. > > regards, > Oleh > > On Fri, Jan 31, 2014 at 6:32 PM, Jan Neerbek <jan...@al...> wrote: >> I have recently started using cedet and I quite happy with it. >> >> I have followed Alex Ott's introduction: >> http://alexott.net/en/writings/emacs-devenv/EmacsCedet.html and I have >> done a checkout of cedet from trunk (I have also tried a snapshot from >> last year). >> >> I have the following completion issue (illustrated with the following >> small sample code): >> class Node >> { >> public: >> Node *mInstance; >> }; >> >> void runMe() >> { >> Node n; >> Node *n1; >> n1 = n.mInstance; >> //completion on n. and n1-> works as expected >> Node *n2 = n.mInstance; >> //completion on n2 does not work :-( >> //message: semantic-analyze-possible-completions-default: Cannot find >> types for `"n2"' >> } >> >> So completion works for variable n and n1, but not for n2. I have tested >> in various situations and it seems that the variable's type is not >> correctly inferred if the initializer (on the right-hand-side of the >> equal-sign) contains '.','->' or '::'. >> >> Is this a bug or something in my setup? >> >> Best regards, >> Jan >> >> >> >> ------------------------------------------------------------------------------ >> WatchGuard Dimension instantly turns raw network data into actionable >> security intelligence. It gives you real-time visual feedback on key >> security issues and trends. Skip the complicated setup - simply import >> a virtual appliance and go from zero to informed in seconds. >> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cedet-devel mailing list >> Ced...@li... >> https://lists.sourceforge.net/lists/listinfo/cedet-devel > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Cedet-devel mailing list > Ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-devel > |