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.

Bug 251774 - Missing shortcuts in Source menu
Summary: Missing shortcuts in Source menu
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-12 07:54 UTC by cezariusz
Modified: 2015-04-13 08:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
CC popup shows only when called from the menu (29.59 KB, image/png)
2015-04-12 07:57 UTC, cezariusz
Details
Missing shortcuts (26.37 KB, image/png)
2015-04-12 08:19 UTC, cezariusz
Details
Shortcuts are back (29.03 KB, image/png)
2015-04-12 08:22 UTC, cezariusz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2015-04-12 07:54:43 UTC
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.
Comment 1 cezariusz 2015-04-12 07:57:41 UTC
Created attachment 153138 [details]
CC popup shows only when called from the menu
Comment 2 cezariusz 2015-04-12 08:16:01 UTC
I cannot reproduce it after the restart, so it must be something with the keymapping. Sometimes they disappear from menu.
Comment 3 cezariusz 2015-04-12 08:19:42 UTC
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.
Comment 4 cezariusz 2015-04-12 08:22:57 UTC
Created attachment 153140 [details]
Shortcuts are back

Open the menu again and the shortcuts are back.
Comment 5 Dusan Balek 2015-04-13 08:41:23 UTC
Reproducible.