Community
Participate
Working Groups
I just noticed that if I type: System.arrayCopy() // Notice the incorrect uppercase 'C' , put the cursor between the parentheses, and hit Ctrl-Space, I get a parameter code assist for correctly spelled method, System.arraycopy. This is misleading. If instead the pop-up assist window never showed up, it would be an indication that my method was wrong, and would be consistent with what happens when an import is missing. I understand the reasons for case- insensitivity when code assist is dealing with a member name, but this shouldn't apply for parameters.
*** This bug has been marked as a duplicate of 25305 ***
This bug isn't a duplicate of 25305, as it's recently been marked. 25305 discusses a situation where case-sensitivity is basically a user preference. This issue describes a situation that will always be incorrect. Please reopen this bug or add this problem to 25305.
Sorry, you are of course right. How would you expect to get that indication.
Thanks for reopening this. As to an indication of the problem, two things come to mind: - Either nothing should happen when I hit Ctrl-Space, which would be consistent with what happens when an import is missing or a Class name is misspelled, or - Eclipse should attempt to auto-correct the method name, and if unable, pop- up a menu containing available method names that are similar to the misspelled name. Obviously the first would be the easiest, but I've had several occasions where auto-correction would have saved me some irritation.
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.