# Rename F2 not working

**URL:** <https://forum.cursor.com/t/rename-f2-not-working/13583>\
**Category:** Bug Reports\
**Created:** [August 29, 2024, 2:39pm UTC](https://forum.cursor.com/t/rename-f2-not-working/13583 "2024-08-29T14:39:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjorns](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/bjorns/32/3716_2.png) [@bjorns](https://forum.cursor.com/u/bjorns)\
**Post date:** [August 29, 2024, 2:39pm UTC](https://forum.cursor.com/t/rename-f2-not-working/13583/1 "2024-08-29T14:39:38Z")

</div>

Hi, trying to rename a variable using F2. But nothing happens. Keyboard shortcuts seem setup the way I’d expect them. any clues?

 ![image](https://us1.discourse-cdn.com/cursor1/original/2X/2/203ca09e7c1201dd21ff3e8640d4bcdb309ccc31.png)

---

<div class="post-metadata">

**Author:** ![AlainJoss](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/alainjoss/32/41835_2.png) [@AlainJoss](https://forum.cursor.com/u/AlainJoss)\
**Post date:** [March 28, 2025, 8:21am UTC](https://forum.cursor.com/t/rename-f2-not-working/13583/2 "2025-03-28T08:21:24Z")

</div>

Hey, could you solve the issue?  
I’m struggling with the same problem, couldn’t figure it out yet.

---

<div class="post-metadata">

**Author:** ![condor](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/condor/32/73148_2.png) [@condor](https://forum.cursor.com/u/condor)\
**Post date:** [March 28, 2025, 11:29am UTC](https://forum.cursor.com/t/rename-f2-not-working/13583/3 "2025-03-28T11:29:16Z")

</div>

Is that a common key shortcut for rename in vscode? my vanilla cursor does not have it

---

<div class="post-metadata">

**Author:** ![tove](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tove/32/64182_2.png) [@tove](https://forum.cursor.com/u/tove)\
**Post date:** [June 19, 2025, 11:00am UTC](https://forum.cursor.com/t/rename-f2-not-working/13583/4 "2025-06-19T11:00:05Z")

</div>

I’m stuck with this too. It appears correctly in the keyboard shortcuts menu, and rebinding it to something else doesn’t work.

---

<div class="post-metadata">

**Author:** ![bjorns](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/bjorns/32/3716_2.png) [@bjorns](https://forum.cursor.com/u/bjorns)\
**Post date:** [July 5, 2025, 9:45am UTC](https://forum.cursor.com/t/rename-f2-not-working/13583/5 "2025-07-05T09:45:56Z")

</div>

This is still an issue. What is odd with my settings? Freshly installed cursor on win11.

F2 renames files ok, but nothing happens when I press it in editor to rename a variable or symbol as it’s called in the settings file.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/9/8/98b6414d49f46ae49c44f25c5c85767d5f524a00.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [December 21, 2025, 8:56am UTC](https://forum.cursor.com/t/rename-f2-not-working/13583/6 "2025-12-21T08:56:55Z")

</div>

Closed on December 21, 2025, 8:56am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
