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: | Cannot refactor rename variable, hints missing | ||
---|---|---|---|
Product: | javascript | Reporter: | bht <bht> |
Component: | Refactoring | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | project in zip file |
Reproducible in 8.0 and Dev Workaround is to move variable declaration outside of if and else block (I believe JavaScript engine does the same actually thanks to hoisting) |
Created attachment 147504 [details] project in zip file Please see attached HTML 5 application. A variable within the scope of an if{} block cannot be refactored safely, and the expected highlighting of uses of it does not work as expected.