This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build 201504100001) Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18 System: Windows 7 version 6.1 running on amd64; Cp1250; pl_PL (nb) Code completion doesn't work using a keyboard shortcut when a variable type is unknown. Let's take the following example: package org.cezariusz.testing; public class CodeCompletion { Map<String, String> map = new Hash| } Note there are no imports at all. Try to call CC pressing Ctrl+Space at the cursor position (|) - nothing happens. Try to do the same using menu action (Source -> Complete Code) and the CC popup will appear.
Created attachment 153138 [details] CC popup shows only when called from the menu
I cannot reproduce it after the restart, so it must be something with the keymapping. Sometimes they disappear from menu.
Created attachment 153139 [details] Missing shortcuts I'm using Eclipse profile for keymap. Goto Tools -> Options -> Keymap. Press Cancel and open "Source" menu - most shortcuts will be missing on the menu actions.
Created attachment 153140 [details] Shortcuts are back Open the menu again and the shortcuts are back.
Reproducible.