cursor icon indicating copy to clipboard operation
cursor copied to clipboard

AI rename

Open DerKorb opened this issue 2 years ago • 6 comments

In vscode you can rename by pressing F2. It will aplly your rename throughout the codebase.

What I would like to see is an AI rename the same way. Often times when coding you need to come up with good names for variables. Sometimes this can make you stuck for a bit, while figuring out what the variable will do while coming up with algorithms. What I often do in these situations is just calling it something random, writing the algorithm and then naming it when I have a better picture of how the algorithm works. For this usecase it would be awesome to just press the <AI rename> button on the variable similiar how F2 does, but it would prompt gpt with "What is the best variable name for X in this algorithm".

Awesome IDE btw, this does so much I am trying to build my self for quite some while now. It would be super awesome if you could run multiple AI edits in paralell so you could jump between places while waiting for gpt to finish the edit. Could even show a similiar blip like for unsaved files when the edit is ready.

DerKorb avatar Sep 08 '23 07:09 DerKorb

It would be super awesome if you could run multiple AI edits in paralell so you could jump between places while waiting for gpt to finish the edit. Could even show a similiar blip like for unsaved files when the edit is ready.

Yep! Until the point where humans are completely obviated, manual context editing (at the least a raw "view" for debugging ) and overseer of multiple agents seems the "future" (however long that will last ... )

sublimator avatar Sep 11 '23 07:09 sublimator

I like this variable name suggestion idea.

jakobFNF avatar Oct 19 '23 23:10 jakobFNF

I think this is a good idea and ChatGPT already added it to their VSCode plugin

georgettica avatar Jan 06 '25 15:01 georgettica

This would save a lot of tokens

DesignSkeptic avatar Mar 03 '25 18:03 DesignSkeptic

Any news on this? The only thing I miss from VSCode.

pahen avatar Apr 24 '25 06:04 pahen

I miss that feature from VSCode too.

leandroribeir0 avatar Apr 25 '25 18:04 leandroribeir0

almost 3 years now, and we are still waiting for this existing feature.. https://devblogs.microsoft.com/visualstudio/ai-powered-rename-suggestions/?utm_source=chatgpt.com

Yarden92 avatar Aug 03 '25 09:08 Yarden92

Guys, pleaseeee...

leandroribeir0 avatar Sep 03 '25 16:09 leandroribeir0