At 02:57 PM 8/13/00 +0200, [EMAIL PROTECTED] wrote:
>hello,
>
>why does the really helpful 'which-function-mode not work with JDE. With
c++-mode or c-mode it works great.
>Is this a problem of the java-mode of cc-mode or of jde-mode?
>
>It would be nice if which-function-mode would also work with JDE!!
>

Hi Klaus,

This question has come up before. This mode uses imenu to determine where
functions begin and end in a buffer (see which-function). Moreover, it
assumes that the imenu index is a simple list of functions. This assumption
is not true of the JDE's imenu index (i.e., the Classes menu). Hence,
which-function does not work in jde-mode. It would be nice if someone would
develop a generalized version of which-function for jde-mode that would
display the current method as a qualified symbol, e.g.

  FooClass.barMethod()

in the mode line. This could be done quite easily by modifying
which-func.el to use the same semantic-bovinator  parse-list that is used
to create the Classes menu (see jde-parse.el).  

If anyone decides to under take this, please let me know so that I can
prevent duplication of effort.

- Paul

Reply via email to