cedet

Setting up autocomplete to work with semantic

十年热恋 提交于 2019-12-11 02:23:13
问题 I have a problem with auto-complete package in Emacs. Currently I have up and running cedet with proper autocompletion, but auto-complete package has some weird behaviour. It doesn't use semantic's (senator's?) database until I explicitly visit include file and make "C-u M-x bovinate". Then I can return to the source file and auto-complete's completion list will look exactly as the semantic's one. Another point is if I edit my source file, for example, in c++-mode and try to "bovinate" header

Emacs 24.3.1 CEDET 2.0 (built in) and ECB 20131116.1319: Errors during the layout setup of ECB

两盒软妹~` 提交于 2019-12-10 05:26:34
问题 Using the CEDET that comes with Emacs 24.3.1 and the ECB that is in Melpa, I get the following trying ecb-activate : All requirements for ECB 2.40 fulfilled - Enjoy it! [2 times] The ECB is now deactivated. ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the layout setup of ECB. (error-type: void-variable, error-data: (ecb-examples-bufferinfo-buffer-name)) Here is the info from the emacs pacakage manager: ecb is an installed package. Status: Installed in `/home/Smith/.emacs.d

Getting started with CEDET

笑着哭i 提交于 2019-12-09 16:58:50
问题 Try as I might, I can't get CEDET to do anything. Emacs 24.3. I downloaded the most recent CEDET snapshot. I took Alex Ott's setup file from the bottom of his (not so) Gentle Introduction, and changed the first line to point to my cedet-bzr. I visited hello_world.cpp. I execute M-x semantic-mode. Now what do I do? Should anything look different? (It doesn't.) A glance at Alex's setup file suggests that C-c? should do something, but Emacs complains that that key combination is not bound. I

cedet-semantic error “Idle Service Error semantic-idle-summary-idle-function - Arithmetic error” when parsing linux kernel file “jiffies.h”

杀马特。学长 韩版系。学妹 提交于 2019-12-08 08:16:22
问题 I browsed linux kernel code with emacs-24.5.1, and cedet(inlined in emacs ) for semactic parsing. After some usual configurations, I opened init/main.c with emacs and some hints like "Parsing *file *% ... Done" appeared, this proves that the cedet-semantic was working. However, an error occurred when parsing "jiffies.h", the error was "Idle Service Error semantic-idle-summary-idle-function - Arithmetic error". I googled this error to find a solution and just found a maillist: http://debbugs

seeking autocomplete functionality in emacs

别等时光非礼了梦想. 提交于 2019-12-07 04:40:03
问题 I am seeking a plugin to do autocompletion popup for c++ development in emacs. what I have tried are Cedet Semantics and the Autocompletion mode, they are pretty neat in terms of completing the variable and function names as long as I have a few words already. For example, I have a class named foo and a function that returns an integer 1 class foo{ int getInt(){return 1}; }; In the main method, so long as I started typing this int main(){ foo bar; bar.get... } the plugins have no problem

Setting up an emacs EDE-project with libraries

若如初见. 提交于 2019-12-07 04:39:07
问题 I already searched the emacs documentation, the cedet website and here on SO in vain. If my question is already been answered, fell free to (point out to an existing answer and) close it. I'm trying to familiarize myself with EDE-projects in emacs. So far I can set up a simple project with one or more files. Now I'd like to separate a part of my code and pack it into a library. Basically I'm trying to achieve the same thing I get with the following hand-written naive Makefile: matrix: g++ -c

Installing ECB in emacs 24 in ubuntu

﹥>﹥吖頭↗ 提交于 2019-12-07 03:42:10
问题 I understand from this question that CEDET is installed in emacs 24 without additional installation, so I don't need to follow those instructions here, or the CEDET part here. I am not using the emacs starter kit, like this answer. So, when I use elpa to install ecb, I get the following error: Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/jn-file-tree.el at Mon Dec 30 16:13:57 2013 Entering directory `/home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/' jn-file

Semantic, cedet how to force parsing of source files

流过昼夜 提交于 2019-12-07 03:13:00
问题 I have been experimenting with cedet and semantic in my emacs c/c++ development setup and I am quite satisfied with it except for one small detail. I use ede-cpp-root-project to create a project and give the root directory of my project along with the directories where include files reside like below: (ede-cpp-root-project "My Project" :name "My Project" :file "/path/to/rootdir/AFILE" :include-path '( "/include2" "/include1" ) ) This allows me to easily jump to the declarations of functions

How can I tell if CEDET is using GNU Global?

和自甴很熟 提交于 2019-12-06 07:49:26
问题 I have CEDET working for the most part on emacs 24.2 with the latest from bzr repository. When I am searching for symbols or definitions, I see that the cedet mini-buffer shows parses through a lot of files, some that are not there as header-files, the files do not have any reference to the symbols I am searching. I will leave CEDET to its job, let it search for symbols as it sees fit. Is there any debug mechanism or verbose mode that I can turn on to see 1) What are all the files it is

Emacs 24.3.1 CEDET 2.0 (built in) and ECB 20131116.1319: Errors during the layout setup of ECB

余生颓废 提交于 2019-12-05 11:42:51
Using the CEDET that comes with Emacs 24.3.1 and the ECB that is in Melpa, I get the following trying ecb-activate : All requirements for ECB 2.40 fulfilled - Enjoy it! [2 times] The ECB is now deactivated. ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the layout setup of ECB. (error-type: void-variable, error-data: (ecb-examples-bufferinfo-buffer-name)) Here is the info from the emacs pacakage manager: ecb is an installed package. Status: Installed in `/home/Smith/.emacs.d/elpa/ecb-20131116.1319/'. Version: 20131116.1319 Summary: a code browser for Emacs cedet is a built-in