1 May 2010 01:57
Re: Recommendations for new CEDET & JDEE user for a (mostly) Java project
Eric M. Ludlam <eric <at> siege-engine.com>
2010-04-30 23:57:01 GMT
2010-04-30 23:57:01 GMT
Hi, CEDET was certainly designed to work cross-language, as it provides a single API that works across all languages, with a secondary API for working across languages that have basic structure, like javascript or C. Unfortunately, I'm not a Java or JDEE expert. The basic strategy is to get an EDE project pointing to the root of all your code. I'm assuming all the languages you mentioned are in one big mega-project. That top level project then needs to know about all the targets. For simplicity sake, you could have one target per language type, or more detailed, one target per language/directory. That sounds good, but no-one has written such a generic project. If you feel adventurous, you could copy ede-emacs.el to your own thing, and change ede-emacs-project-root to ede-myproject-project-root and fix the directory detection. The framework for rolling your own is pretty easy from there. If all else fails, you can just use ede-cpp-root, and it will deal with your c++ code fine, and provide a simple root-of-project for all the cross referencing functions. As for all your languages, each language has varying levels of support based on how much effort the folks who use that language have chosen to put into it. In the JDEE case, they have their own completion system. There have been projects to merge CEDET's from-source-only completion with JDEEs from-compiled-only parsing, but it has never been finished.(Continue reading)
RSS Feed