You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the rename symbol tool a lot, and I don't like the preview pane that shows up when renaming symbols in a C/C++ file. I understand its intention and use case, but I've never wanted to check/uncheck anything in the preview pane and always just accept the refactor (the extension is usually pretty good with finding references). The pane steals focus from the editor window though and forces me to mouse over and click to accept and then another click/keystroke to refocus the editor, which really breaks my workflow.
Even with the vscode setting editor.rename.enablePreview set to false, the preview pane still shows up whenever a symbol name appears in a comment or a string (which I do not care about renaming). Is this intended behavior? I never want to rename non-references anyway and it seems that the vscode setting should be respected if I choose to disable previewing rename refactors.
Besides the vscode setting, is there a setting/config within the extension to disable the preview from even being attempted?
Here is a minimal repro for this (try renaming foo or bar with editor.rename.enablePreview disabled):
I also saw #12843 which seems to share my thoughts but it looks like it didn't go anywhere. Disabling editor.rename.enablePreview as suggested in a comment didn't change the behavior.
Thank you in advance!
By the way - OS: Arch LInux x64, Visual Studio Code version: 1.97.0-insider, Extension version: 1.23.3 (2025-01-09, 18:31:58), if it matters.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I use the rename symbol tool a lot, and I don't like the preview pane that shows up when renaming symbols in a C/C++ file. I understand its intention and use case, but I've never wanted to check/uncheck anything in the preview pane and always just accept the refactor (the extension is usually pretty good with finding references). The pane steals focus from the editor window though and forces me to mouse over and click to accept and then another click/keystroke to refocus the editor, which really breaks my workflow.
Even with the vscode setting
editor.rename.enablePreview
set tofalse
, the preview pane still shows up whenever a symbol name appears in a comment or a string (which I do not care about renaming). Is this intended behavior? I never want to rename non-references anyway and it seems that the vscode setting should be respected if I choose to disable previewing rename refactors.Besides the vscode setting, is there a setting/config within the extension to disable the preview from even being attempted?
Here is a minimal repro for this (try renaming foo or bar with
editor.rename.enablePreview
disabled):I also saw #12843 which seems to share my thoughts but it looks like it didn't go anywhere. Disabling
editor.rename.enablePreview
as suggested in a comment didn't change the behavior.Thank you in advance!
By the way - OS: Arch LInux x64, Visual Studio Code version: 1.97.0-insider, Extension version: 1.23.3 (2025-01-09, 18:31:58), if it matters.
Beta Was this translation helpful? Give feedback.
All reactions