Skip to content

Add Rename refactoring to quick fix #1068

Open

Description

@maxandersen

Right now when I open quickfix (cmd+.) it always suggests "Move..." and in what feels like 95% of the cases it always errors with "this method cannot be moved, since no possible targets have been..".

On the other hand Rename Symbol works and is more often used but by default is on F2 (a key I don't have available majority of the time) - but it is never shown in Quick Fix menu.

I think it would be much better if Rename refactoring was available via Quickfix.

Activity

  1. Eskibear commented on Sep 23, 2019

    @Eskibear
    Contributor

    I think it would be much better if Rename refactoring was available via Quickfix.

    For me, I think it's intuitive to use F2 or the separate "Rename Symbol" entry in context menu. And it's a cross-language convention in VSCode. See https://code.visualstudio.com/docs/editor/refactoring#_refactoring-actions. And I think the number of entries for Renaming is enough. Just like the "Move...", imagine whenever your cursor stays on a variable, you have a bulb containing "Rename Symbol"... at least it's a little bit annoying for me.

  2. maxandersen commented on Sep 23, 2019

    @maxandersen
    ContributorAuthor

    F2 doesn't exist on most laptop keyboards (which sucks - but that’s reality) so its kinda blocked off from easy access. I'm not talking about removing F2 just talking about enabling quick fix to actually include one of the most useful quick fixes/refactoring available.

    Right now Move shows up everywhere and it is way less useful than Rename - at least for me :)

    Having a bulb with rename symbol would actually be possible to use in most cases and then it would be less annoying the bulb shows up all the time :)

  3. robstryker commented on Oct 29, 2026

    @robstryker
    Contributor

    A reasonable request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions