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.
Summary: | Opens dialog for rename refactoring when it should do inline refaactoring | ||
---|---|---|---|
Product: | php | Reporter: | BullfrogBlues |
Component: | Refactoring | Assignee: | Tomas Mysik <tmysik> |
Status: | NEW --- | ||
Severity: | normal | CC: | sdedic |
Priority: | P4 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
BullfrogBlues
2013-02-27 16:26:34 UTC
Not so easy as it looked like :) Will have to solve it together with CSL infrastructure, which provides a mechanism for instant rename. We need a change in CSL API (introduce new InstantRenamer2 interface which will provide a method for getting an OffsetRange which will be used as a reference to region, where physical rename will be applied). E.g. public interface InstantRenamer2 extends InstantRenamer { @NonNull OffsetRange getReferenceRegion(@NonNull ParserResult parserResult, int caretOffset); } Not a P3 IMHO. Thanks for reporting. |