Constructor autocompletion not working in Java?

Bug description:

I can’t get autocompletion to show constructor options in Java

Expected vs Current Behavior:

I declare something like

File file = new File();

I am expecting to see a variety of constructors appear - I don’t get any autocompletion.

On the next line if I write file. then I get all the methods popping up - but no hints as to the constructors.

Steps to reproduce:

Just what I said above.

Bug appears at this link: https://replit.com/@CS-262/FileIO-Demo#Main.java

Screenshot(s)/Screen Recording:

The screenshot shows the popup with file. - but if I hover around, or just type new File( and wait, I don’t see any popup.

Meanwhile, Visual Studio Code does it the way it should be done:

Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15

Replit Profile: https://replit.com/@mprogers

1 Like

Hey @mprogers!

I was able to reproduce this issue and have sent it to the team. I will follow up if I have any updates!

2 Likes