[Lxr-dev] [ lxr-Bugs-476695 ] Java interfaces display as docs
Brought to you by:
ajlittoz
From: <no...@so...> - 2001-11-18 03:34:47
|
Bugs item #476695, was opened at 2001-10-31 01:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=476695&group_id=27350 Category: Lang support Group: current cvs >Status: Closed >Resolution: Fixed Priority: 8 Submitted By: Malcolm Box (mbox) Assigned to: Malcolm Box (mbox) Summary: Java interfaces display as docs Initial Comment: When doing an ident search for a Java interface, it will be listed in the output as a "documentation entry". This is because the 'i' character is mapped to "documentation entry" by Common.pm The simple solution is to change this mapping, but the problem goes deeper than that. The output of ctags is not consistent across different languages. For example, "m" can mean method, module, macros, class member or mixins. The solution will be to change the db structure to use an int for the type, and provide ctags -> int mappings for each language. There should be enough space in a 8 bit int for all different concepts across all languages. Even better might be to give each language its own translation strings, so that Java methods are displayed as methods, not functions etc. However, currently ident does not interface to Lang.pm, so the mapping would have to be part of a global namespace. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=476695&group_id=27350 |