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

@xor2k wrote:

January/February does not sound so bad for me

I suppose that depends on how long you have been waiting 😉

Other languages already support refactoring in VSCode, it seems that the common refactors could be supported in the same way, or am I missing something.

I have no insight into your development process, but this feels like perfect being the enemy of good enough

jockm avatar Nov 21 '18 21:11 jockm

For those looking for a solution, vscode-ccls provides refactoring (Rename Symbol) for C/C++/Objective-C. You also need to build/install the ccls server and configure the extension. Seems to be working fine for me, VS Code 1.30 on macOS, YMMV.

kammoh avatar Jan 20 '19 23:01 kammoh

Any word on when this feature is coming?

soda3x avatar Feb 11 '19 22:02 soda3x

@soda3x Our Find All References and Renaming work got delayed. Might be June, not sure yet.

sean-mcmanus avatar Feb 11 '19 23:02 sean-mcmanus

@sean-mcmanus That can only describe that as deeply disappointing. Doubly so for an issue that has been open for 28 months now...

jockm avatar Feb 11 '19 23:02 jockm

I have no insight into your development process, but this feels like perfect being the enemy of good enough

Probably they want to handle MACROs too :D

salda avatar Feb 11 '19 23:02 salda

Shame

DraTeots avatar Mar 05 '19 00:03 DraTeots

@soda3x Our Find All References and Renaming work got delayed. Might be June, not sure yet.

Here is my question: Why did we have to ask to find out it was delayed? There are a lot of us waiting on this.

jockm avatar Mar 06 '19 19:03 jockm

@jockm You didn't have to ask. You could also check the Milestones at https://github.com/Microsoft/vscode-cpptools/milestones . This is issue is currently On Deck, which means we have not started work on it and don't know when exactly that work will start yet, but it's on our list of major features to implement in the next year.

sean-mcmanus avatar Mar 06 '19 19:03 sean-mcmanus

We're sorry for your frustration. We're trying to be as transparent as possible. We realize that this is an important feature for many people and are trying to prioritize it against other fundamental problems with the extension that block its adoption.

bobbrow avatar Mar 06 '19 19:03 bobbrow

@bobbrow @sean-mcmanus I wish you both all the luck in the world, but it has been years after other languages have gotten refactoring support in VSCode, and hearing that it has been delayed because of "fundamental problems"... worries me.

Again, I wish you nothing but the best.

jockm avatar Mar 06 '19 19:03 jockm

@jockm You didn't have to ask. You could also check the Milestones at ...

Well that wouldn't have given me any expected ETA, since it literally says "No Due Date" ;)

jockm avatar Mar 06 '19 19:03 jockm

@jockm By "fundamental problems" we mean problems with our existing features:

  1. Users having problems configuring IntelliSense correctly.
  2. Performance problems with IntelliSense.
  3. Other bugs in general.

sean-mcmanus avatar Mar 06 '19 20:03 sean-mcmanus

... We realize that this is an important feature for many people ...

It is not "an important feature". It is the showstopper feature

DraTeots avatar Mar 07 '19 18:03 DraTeots

Hello, Is it done yet?

fujael avatar Mar 26 '19 19:03 fujael

@fujael No. When it's done it will be marked "fixed" and assigned a milestone.

sean-mcmanus avatar Mar 26 '19 23:03 sean-mcmanus

@sean-mcmanus I am guessing this is a fairly significant refactor? Just wanted to let you know, it will be worth the work :-)

rtosman avatar Mar 28 '19 17:03 rtosman

@rtosman I think they know that. I know I have been fairly critical on this issue, but they are doing great work. I just personally think the priorities are wrong, and that maybe they could communicate a little better on such a highly desired feature.

jockm avatar Mar 28 '19 19:03 jockm

Vscode, in my humble opinion is probably the best idea (at least free one) on the Linux platform I have spent about 2-3 months trialing everything I can find - like: qtcreator, code-lite, code locks, clion, eclipse (puke), netbeans (really puke) and more...

From the point of view of using the idea as a makefile c++ project only qtcreator and code lite come close. Qtcreator is near perfect except they forcefully inhibit you from sharing configs which is unforgivable. Code lite is pretty clunky. But both provide refactoring.

So I congratulate vscode ... But this is the biggest missing feature by a looooong way. It should be top priority (as far as c++ goes) please make it so soon : )

On Thu, 28 Mar 2019, 19:04 Jock Murphy, [email protected] wrote:

@rtosman https://github.com/rtosman I think they know that. I know I have been fairly critical on this issue, but they are doing great work. I just personally think the priorities are wrong, and that maybe they could communicate a little better on such a highly desired feature.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode-cpptools/issues/296#issuecomment-477730624, or mute the thread https://github.com/notifications/unsubscribe-auth/AFO85c8hgIQ949dWufrgxPSxy-ypqyn0ks5vbRIrgaJpZM4KaBV5 .

code-fodder avatar Mar 28 '19 19:03 code-fodder

Sorry stupid phone spell corrector. Idea = IDE and code locks = codeblocks

On Thu, 28 Mar 2019, 19:18 Alastair Dadachanji, [email protected] wrote:

Vscode, in my humble opinion is probably the best idea (at least free one) on the Linux platform I have spent about 2-3 months trialing everything I can find - like: qtcreator, code-lite, code locks, clion, eclipse (puke), netbeans (really puke) and more...

From the point of view of using the idea as a makefile c++ project only qtcreator and code lite come close. Qtcreator is near perfect except they forcefully inhibit you from sharing configs which is unforgivable. Code lite is pretty clunky. But both provide refactoring.

So I congratulate vscode ... But this is the biggest missing feature by a looooong way. It should be top priority (as far as c++ goes) please make it so soon : )

On Thu, 28 Mar 2019, 19:04 Jock Murphy, [email protected] wrote:

@rtosman https://github.com/rtosman I think they know that. I know I have been fairly critical on this issue, but they are doing great work. I just personally think the priorities are wrong, and that maybe they could communicate a little better on such a highly desired feature.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode-cpptools/issues/296#issuecomment-477730624, or mute the thread https://github.com/notifications/unsubscribe-auth/AFO85c8hgIQ949dWufrgxPSxy-ypqyn0ks5vbRIrgaJpZM4KaBV5 .

code-fodder avatar Mar 28 '19 19:03 code-fodder