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 271304

Summary: Refactor not working in context
Product: cnd Reporter: BenjaminGirgenti
Component: EditorAssignee: Alexander Simon <alexvsimon>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:

Description BenjaminGirgenti 2017-08-16 10:41:24 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:
  * Select variable in .cpp file
  * Open menu Refactor
  * Click on button "Rename..."
  OR:
  * Right-click variable in .cpp file
  * Select "Refactor -> Rename..."

ACTUAL:
  Popup information window opens with message "The Rename refactoring cannot be applied in this context."

EXPECTED:
  Option to refactor to appear