Renaming hangs IDE, takes long time to return
Type: LanguageService
Describe the bug
- OS and Version: Windows w/ Remote Development on linux CentOS
- VS Code Version: 1.42.1
- C/C++ Extension Version: 0.26.3
- Other extensions you installed (and if the issue persists after disabling them): disabled all extensions
- A clear and concise description of what the bug is. Renaming Variable take an unusual amount of time to return "Candidates for Rename" options. around 1-2 minutes.
To Reproduce I hit F2 on a variable to rename, then rename variable, and IDE hangs after searching files, saying "Rename: 0/3 files confirmed. Source: C/C++ (Extension)" in a notification. Variabled used around 3 times and searching for the variable within the workspace returns within seconds
Expected behavior Search to return candidates for rename within seconds
Screenshots
Additional context
This is "by design". It has to compile the translation units the references are found in, in order to "confirm" the references. We have other issues that track improving performance. If you have the files open with the references and IntelliSense is done processing them, then it should be faster.
This issue has been closed automatically because it's labeled as 'by design' and has not had recent activity.