Bug 395068 - After rename file in Project tree CMakeLists.txt is not updated
Summary: After rename file in Project tree CMakeLists.txt is not updated
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.2.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-05 22:14 UTC by Piotr Mierzwinski
Modified: 2018-06-06 17:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2018-06-05 22:14:06 UTC
After rename file in Project tree CMakeLists.txt is not updated.

Step to reproduce.
1. RMB on header file present in "Projects" view (included in project)
2. Select rename
3. Enter new name and press OK

Current result:
#include directive in (all) cpp file(s) is not updated with new name.
File name present in CMakeLists.txt is not updated

Expected result
#include directive in all cpp file(s) should be updated with new name.
File name present in CMakeLists.txt should be updated

This issue causes that I need update all files including renamed file manually.
Please note that renaming class doesn't make rename of file, and could be.
Comment 1 Sven Brauch 2018-06-05 22:29:18 UTC
This feature simply does not exist, I'll mark it as a wish.
Comment 2 Piotr Mierzwinski 2018-06-06 17:18:59 UTC
OK. I hope someone, someday will implement this.

As far as I remember feature updating CMakeLists.txt was present in previous line of KDevelop. I remember that in moment of update this file just popped out the window with simple editor where was present updated CMakeLists.txt for user to verify, correct and confirm or decline changes.