Issues with Tags Browser and Function List for Java projects

Issues with Tags Browser and Function List for Java projects

481
Basic UserBasic User
481

    Nov 03, 2015#1

    I reported 2 bugs to IDM a week or so ago. Just recording them here so that if anyone else is having the same issue perhaps they could report too and maybe increase the chance/speed of a bug fix:

    I have found a couple of bugs in the "Tags" view of a Java project.

    If you have more that one folder in your project, say "A" and "B", each with a Java file in them like this:

    Code: Select all

    // This is file Foo.java in folder "A"
    package A;
    public class Foo
    {
       public void a(){}
       @Test(name = "GetDebugString", category = "Foo", description = "Get debug string")
       public String GetDebugString() throws Exception
       {
         return "";
       }
    };
    and

    Code: Select all

    // This is file Foo.java in folder "B"
    package B;
    public class Foo
    {
    	public void b(){}
    };
    Then in the Tags view you see class "Foo" twice (as you would expect"). However, both instances of class Foo have both functions on them {a() and b()}. Secondly, class Foo in package A does not show the method "GetDebugString" at all. This seems to be due to the presence of annotations on that method.

    Lastly, the "Function List" does not display any functions on either of these files. I think this is because the Group Parsing Rules for Java are broken (this affects UE as well as UEStudio).