diff --git a/pdex/src/processing/mode/experimental/CompletionPanel.java b/pdex/src/processing/mode/experimental/CompletionPanel.java index ec93547e6..6ac02d7c5 100644 --- a/pdex/src/processing/mode/experimental/CompletionPanel.java +++ b/pdex/src/processing/mode/experimental/CompletionPanel.java @@ -327,9 +327,11 @@ public class CompletionPanel { } if (completionSource == MOUSE_COMPLETION) { + // The case of overloaded methods, displayed as 'foo(...)' + // They have completion strings as 'foo('. See #2755 if (completionString.endsWith("(")) { completionString = completionString.substring(0, completionString - .length() - 2); + .length() - 1); } }