| Summary: | Rename refactoring in a .H header file doesn't work correctly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Roman Pletka <roman> | ||||
| 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: | |||||||
| Attachments: |
|
||||||
Created attachment 229632 [details]
Preferences Screenshot
The same bugs exists in Juno (SR2 - CDT 8.2) on Linux.
Could the attached screenshot be related? It shows two conflicting entries for *.h and will not allow me to add *.H as a C++ Header File.
|
Build Identifier: 20110615-0604 Rename refactoring in a header file ending with a .H (capital H) doesn't work correctly. After <Ctrl + Shift + R> one can edit the name correctly, but pressing <Enter> does not accept the change. Pressing <Esc> however does. This happens even though I added *.H as a new file type in C/C++ File type. Reproducible: Always Steps to Reproduce: 1. Create new header file foobar.H with following content: struct foo { int value; }; struct bar { struct foo f; }; 2. Select foo and press <Ctrl + Shift + R> to rename the structure. 3. After changing the name, pressing <Enter> undoes the change. Pressing <Esc> however changes the structure to the new name.