watch/trace support <init> completion. #2945

This commit is contained in:
hengyunabc 2024-11-13 16:57:01 +08:00
parent ba380bbc8a
commit 1911278205

View File

@ -238,6 +238,7 @@ public class CompletionUtils {
res.add(method.getName());
}
}
res.add("<init>");
if (res.size() == 1) {
completion.complete(res.get(0).substring(lastToken.length()), true);