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 270626

Summary: JavaScript refactoring disabled
Product: javascript Reporter: ashrao <ashrao>
Component: RefactoringAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description ashrao 2017-05-12 15:36:44 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Mac OS X version 10.12.4 running on x86_64
Java; VM; Vendor = 1.8.0_40
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.40-b25

Reproducibility: Happens every time

Usecase 1
STEPS:
  * Open any js file in a HTML5/Javascript project
  * Select a variable or function
  * Go to Edit menu and look for Find Usage

ACTUAL:
  Find Usage is disabled

EXPECTED:
  Find Usage should be enabled

Usecase 2
STEPS:
  * Open any js file in a HTML5/Javascript project
  * Select a variable or function
  * Go to Refactor Menu and select Rename

ACTUAL:
  Reports a message stating that Rename is not available in this context

EXPECTED:
  Rename action to run
Comment 1 ashrao 2017-05-12 15:36:50 UTC
Created attachment 164307 [details]
IDE log