Community
Participate
Working Groups
Follow-up of bug 125301 comment 0 point 1. Proposal inside simple test case: class A$B {} class Test { A| } Then you get a "B - A" completion proposal instead of expected "A$B" expected one.
Created attachment 42865 [details] code assist with class containing $ in the middle Hello, additionally, I found out, that JDT code assist assumes inner class instead of separate class. Please see attachment. I tested this with Eclipse3.2RC6 and created two java files: public class Test$One { } public class Test$two { public static String test(T<--call code assist for Test$One){ return "test"; } } Best regards, Marion
Comment on attachment 42865 [details] code assist with class containing $ in the middle Sorry, meant following case, I mixed my screenshots. To describe what I meant: class name starts with $, e.g. public class $TestOne {}. In this case, the code assist assumes that TestOne is an inner class of a class with empty name "".
*** Bug 128966 has been marked as a duplicate of this bug. ***
After trying this in Indigo I'd like to add: - the text inserted into the editor is actually correct - only the display name used in the UI is wrong. So maybe it's actually possible to fix this after all? :)
*** Bug 145598 has been marked as a duplicate of this bug. ***
We anyway need to handle $ properly everywhere in JDT. Right now its used only as a delimiter for inner classes.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.