Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 10.0.0-rc1
-
4d688c932 (10.0)
Description
Steps to reproduce
- Create a new Qt project
- In main.cpp, hover your mouse cursor over "main()" and press Ctrl+Shift+R to activate "Rename Symbol Under Cursor"
- Type "myFunc" as the new function name
Outcomes
After Step #2,
- Qt Creator 8 shows "C++ Usages: main" (correct)
- Qt Creator 9 shows "Find References with clangd for <PROJECT> for: main_new" (wrong – we searched for "main", not "main_new")
After Step #3,
- Qt Creator 8 allows us to click "Replace" immediately (correct)
- Qt Creator 9 prevents us from clicking "Replace" immediately, saying "Search Again to update results and re-enable Replace" (wrong – we shouldn't need to click "Search Again" here)
Attachments
For Gerrit Dashboard: QTCREATORBUG-28321 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
437508,10 | Clangd: do not modify the default replacement string | 10.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |