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 262734 - [82cat] Refactor > Rename should invoke inline rename where possible
Summary: [82cat] Refactor > Rename should invoke inline rename where possible
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-08 10:53 UTC by brettryan
Modified: 2016-07-20 21:12 UTC (History)
1 user (show)

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 brettryan 2016-07-08 10:53:22 UTC
This is a defect that presents the error message "The Rename refactoring cannot be applied in this context" message when invoked on JavaScript members, however; using CTRL+R on those same members enters inline renaming.


Steps to Reproduce
==================

1. Open Java file with a private member.
2. Place caret on member name and Invoke Refactor > Rename (Do not invoke with the shortcut).


Expected Behaviour
==================

Inline refactoring should be started for the member.


Actual Behaviour
================

"Rename Field" dialog appears for Java files, Message: "The Rename refactoring cannot be applied in this context" for JavaScript files.