Re: how to help? (wisent-java-default-setup)
"Eric M. Ludlam" <[email protected]>
| Newsgroups | gmane.emacs.jdee.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jeff, I think if JDEE instructions read mostly as: ;; do CEDET install (load ...) ;; do JDEE install (load ...) Then you can put it anywhere in the JDEE startup code and it will override the CEDET autoload of the same style. If there is some change needed in CEDET, let me know. Eric Jeff Peck wrote: > Eric, > I'm *so* glad you wrote this. > For months, I thought I was using the wisent-java configuration and that > it did not work. > Armed with your reassurance, I looked again. > The configuration incantation was [subtly] commented out! > Undoing that, it [mostly] works!!! > [Still some confusion with nested class/interface declarations, > some problem with jde-parse-get-innermost-classs-at-point] > > This is the incantation to get the java 1.5 grammar: > (autoload 'wisent-java-default-setup "wisent-java" > "Hook run to setup Semantic in `java-mode'." nil nil) > Where do we put it to make it the default for JDEE? > > ----- Original Message ----- From: "Eric M. Ludlam" <[email protected]> > To: "Jeff Peck" <[email protected]> > Cc: <[email protected]> > Sent: Sunday, December 20, 2009 5:18 PM > Subject: Re: [jdee-devel] how to help? > > >> I was told that the grammar for Java in Semantic supports all of Java >> 1.5, including generics. There are, however, two grammars. There is a >> tagging grammar (wisent-java-tags.wy) and a full parser >> (wisent-java.wy). It is possible to use either one for tagging, though >> the smaller tagging grammar is better for performance reasons since it >> doesn't parse the contets of method bodies. >> >> David Ponce wrote the original grammars, and I don't know the magic >> needed to swap between them. I expect everything you need is there >> except perhaps some instructions on how to swap between the different >> options. >> >> Eric >> >> Jeff Peck wrote: >>> Eric, thanks for the info. >>> imho, the biggest "integration" problem that i see with CEDET is >>> semantic. >>> I have not found a grammar that will handle Java Generic declarations >>> <Type> >>> Semantic treats all such occurences as errors. >>> >>> Is it possible to extend the Java grammar to do the right thing? >>> [I saw some info to the effect that handling < and > in the grammar >>> required extension of the bovinator...?] >>> >>> If you (or anyone else) can confirm that a grammar *can* support >>> Generics, I might invest some time in that area. >>> >>> But if we cannot support Generics, then much of the semantic analysis >>> (and completion, etc) is restricted, no? >>> >>> ----- Original Message ----- From: "Eric M. Ludlam" >>> <[email protected]> >>> To: "Jeff Peck" <[email protected]> >>> Cc: "Paul Landes" <[email protected]>; "Lennart Borgman" >>> <[email protected]>; <[email protected]> >>> Sent: Sunday, December 20, 2009 2:54 PM >>> Subject: Re: [jdee-devel] how to help? >>> >>> >>>> Jeff Peck wrote: >>>>> I've been running jdee-2.4.0 with cedet-1.0pre6 for a while. >>>>> As I recall, no mods to jdee were necessary. >>>>> >>>>> Are there some new features you want to leverage? >>>>> or some other "intergration with the new CEDET" that is required? >>>>> [I maybe don't know/use all the features of jdee...] >>>> >>>> >>>> JDEE and CEDET both have completion engines. CEDET can complete any >>>> sources it finds. JDEE can complete any java expression from which >>>> there is a compiled version to query. Both have holes, and thus could >>>> work together to provide something better. CEDET's EDE could be >>>> integrated to know about JDEE projects which would help with the >>>> completion engines also. >>>> >>>> CEDET also has lots of opportunities for language-specific >>>> customization, for which Java has not been fully adapted to. >>>> Everything from tag formatting functions to GNU Global or other such >>>> tool integration. There are also SRecoder templates that need help >>>> which would allow UML -> Java code generation. >>>> >>>> I could go on for a while. See >>>> http://cedet.sourceforge.net/languagesupport.shtml for more high level >>>> stuff. >>>> >>>> Eric >>> >>> >> >> ------------------------------------------------------------------------------ >> >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast >> and easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> jdee-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jdee-devel > > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev