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 238879

Summary: [nashorn] Run file and Debug file keyboard shortcuts does not work
Product: javascript Reporter: Vladimir Riha <vriha>
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2013-11-27 13:17:58 UTC
If I press Shift+F6 or Ctrl+Shift+F5 in JS file in Java project, nothing happens but these actions work via e.g. context menu


Product Version: NetBeans IDE Dev (Build 201311270002)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-11-28 08:20:10 UTC
Also Run File / Debug File are disabled in main menu under Run and Debug if one has JS file in Java project opened in editor
Comment 2 nimnio 2016-04-22 00:25:38 UTC
I encountered this behaviour as well. To "fix" it, I went to Options > Key Map, and in the Netbeans Profile I mapped "Run File" to Shift F6. Now Shift F6 works.

(You would think the Key Map settings would show that "Run File" is already mapped to Shift F6, but no, it was blank. When I remap, it warns of a conflict with "Run File", but I ignored the warning and things seem OK.)