| Summary: | Rename Refactoring Fails when renaming while editors are dirty | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Lukas Felber <l.felber> |
| Component: | cdt-refactoring | Assignee: | Project Inbox <cdt-refactoring-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, yevshif |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Build Identifier: I20110613-1736 Renaming allows to be run while editors are dirty. This does not work under certain circumstances. Reproducible: Always Steps to Reproduce: 1.create following code files: //foo.h //saved void foo() { } //main.cpp #include "foo.h" //saved void main() { foo(); //other.cpp //unsaved #include "foo.h" void other() { foo(); //this line was added since last saved } 2. open file main.cpp and rename function-reference foo. this will cause foo to be correctly renamed in both foo.h and also main.cpp but will completely skip the foo-call in other.cpp because the foo-reference originating from other.cpp is as jet missing in the index.