Hello.
Today, I checkout and build the lastest version of cedet from CVS.
the most great thing, that now structure like:
section1/module1.hpp
foo.cpp: #include <section1/module1.hpp>
works without magic like "ede-set", is it suppose to work so?
But I found that with such code cedet does not give any completion:
#define Q_GUI_EXPORT /**/
struct Q_GUI_EXPORT Module2 {
void buba() {}
};
int main()
{
Module2 mod21;
mod21. //<-completion does not work here
return 0;
}
so as can you see macroses between structure and structure-name cause problems,
may be it is possible to fix, or I do something wrong?
I used such ".emacs" for testing:
(setq semantic-load-turn-everything-on t)
(setq semanticdb-default-save-directory (expand-file-name
"~/.emacs.d/semanticdb.cache"))
(setq semanticdb-default-system-save-directory (expand-file-name
"~/.emacs.d/semanticdb.sys.cache"))
(load "/usr/share/emacs/site-lisp/site-gentoo")
(semantic-load-enable-minimum-features)
(global-ede-mode 1)
(global-semantic-idle-scheduler-mode 1)
(global-semantic-idle-completions-mode 1)
(global-set-key '[f5] 'semantic-ia-complete-tip)
(global-set-key '[f6] 'semantic-ia-complete-symbol-menu)
(ede-cpp-root-project "TEST" :file "/home/test/projects/test1/main.cpp"
:include-path '("/"))
|