#24 Java interfaces display as docs

current_cvs
closed-fixed
Malcolm Box
8
2001-11-18
2001-10-31
Malcolm Box
No

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.

Discussion

  • Malcolm Box
    Malcolm Box
    2001-11-17

    • assigned_to: nobody --> mbox
     
  • Malcolm Box
    Malcolm Box
    2001-11-18

    • status: open --> closed-fixed