Community
Participate
Working Groups
It seems that Eclipse can't suggest a lambda expression or lambda code block where a functional interfaces could be used. For example, in the code snippet below, Eclipse couldn't suggest any code completion for the clip.addLineListener(). A competing Java IDE had no problem suggesting a lambda while my cursor was between the parenthesis. ========== Clip clip = AudioSystem.getClip(); // Open audio clip and load samples from the audio input stream. clip.open(audioIn); clip.start(); // Listen for STOP event so we can close the clip, otherwise we will run out of resources clip.addLineListener(event -> { if (event.getType().equals(LineEvent.Type.STOP)) { clip.close(); } }); ========== -- Configuration Details -- Product: Eclipse IDE 4.17.0.20200910-1200 (org.eclipse.epp.package.java.product)Installed Features: org.eclipse.jdt 3.18.500.v20200902-1800 Versioning Plugin: org.eclipse.platform 4.17.0.v20200902-1800
Gayan, can you have a look? Maybe similar to what you did in http://dl.bintray.com/gayanper/p2/gap.eclipse.plugins/?