Community
Participate
Working Groups
Consider the following Java source code: public class Test { Object X = new Object() { Object x() { if (System.currentTimeMillis() < 0) { sys return new Object() { }; } else { sys return null; } } }; } When you hit Ctrl+Space after the first "sys" statement, Eclipse will show a list of code proposals, including the well-known templates "sysout", "syserr" and "systrace. This is the expected behavior. However, when you hit Ctrl+Space after the second "sys" statement, the pop-up menu does not contain any templates, but simply says "No Default Proposals". -- Configuration Details -- Product: Eclipse 4.6.0.20160613-1800 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.jdt 3.12.0.v20160606-1100
This problem is still present in the current Eclipse release: Version: Neon.2 Release (4.6.2) Build id: 20161208-0600 Eclipse Java Development Tools 3.12.2.v20161124-1400