vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Refactor rename is slow

Open iontodirel opened this issue 1 year ago • 1 comments

Environment

  • OS and Version:
  • VS Code Version:
  • C/C++ Extension Version:
  • If using SSH remote, specify OS of remote machine:

Bug Summary and Steps to Reproduce

Bug Summary:

Steps to reproduce:

  1. Open libaprsaroute.zip
  2. Go to line 402 in file aprsroute.hpp
  3. Invoke Refactor Rename

Refactor Preview takes about 1m to display.

Expected behavior:

Refactor Preview takes 5-10 seconds to display

Configuration and Logs

As this is perf, not sure it will be useful, but I can provide if requested.

Other Extensions

No response

Additional context

No response

iontodirel avatar Sep 29 '24 22:09 iontodirel

It would be helpful to know if cpptools/cpptools-srv are in an idle state when the Rename is invoked and what the rename progress UI is showing (or the logging when C_Cpp.loggingLevel is "Debug"). We could also probably get that info ourselves (assuming we can repro the issue).

sean-mcmanus avatar Sep 30 '24 19:09 sean-mcmanus