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 - Refactor not working in context
Summary: Refactor not working in context
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-16 10:41 UTC by BenjaminGirgenti
Modified: 2017-08-16 16:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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