Quite honestly if you put ai aside and just look at VsCode and typescript which is a common drug of choice these days the Java plus Eclipse of 20 years ago was the superior toolkit. At least semantic search and refactoring worked reliably.
Eclipse was great for java specifically, but a lot of its useful/reliable features came from java being easy to standardize around. Strong static typing and javadocs combined allow for a lot of convenient and reliable features like previews, intellisense, refactoring, etc. For me, vscode feeling worse come from the fact that I'm using it for python and javascript which are inherently harder to design IDE features for, and also vscode is designed to be a good all-round programming editor, not a java-specific editor.
Taking its broader scope into account, I feel like vscode is a significantly better IDE than eclipse, though if I went back to exclusively coding in java and nothing else ever, I might switch back to it.