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

Please add renaming

Open tinganho opened this issue 10 years ago • 142 comments

It would be very useful if this tool also supported renaming of variables.

tinganho avatar Oct 18 '16 16:10 tinganho

@bonfire62 That's the normal progress indicator as it's confirming references. Is that getting stuck? Are you using a multi-root workspace? @sean-mcmanus I let one instance of renaming run, and it returns after checking ~650 files and 2 usages in my first try, after around 5 minutes. I'm using the remote plugin from a windows client to a linux host

bonfire62 avatar Jan 22 '20 15:01 bonfire62

@bonfire62 What do you mean by "checking" ~650 files? Is it saying "searched" or "confirmed" in the progress UI? Searching is just lexical and should be fast and confirming is slow since it requires parsing. Both should scale to use up to your available cores, but you'll hit a performance issue if your machine doesn't have enough memory. The number of individual "uses" in files shouldn't noticeably affect performance. For tracking purposes, it would be better if you opened a new issue, although we do already have some other issues that include potential performance improvement discussions.

sean-mcmanus avatar Jan 22 '20 20:01 sean-mcmanus