# BUG. CMD+K "generate" not working

**URL:** <https://forum.cursor.com/t/bug-cmd-k-generate-not-working/43094>\
**Category:** Bug Reports\
**Created:** [January 21, 2025, 8:28am UTC](https://forum.cursor.com/t/bug-cmd-k-generate-not-working/43094 "2025-01-21T08:28:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdp](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sdp/32/21128_2.png) [@sdp](https://forum.cursor.com/u/sdp)\
**Post date:** [January 21, 2025, 8:28am UTC](https://forum.cursor.com/t/bug-cmd-k-generate-not-working/43094/1 "2025-01-21T08:28:21Z")

</div>

Hi,  
I tried this on two different PC (windows and MacOS), but I have the same issue.

If I select some code and run “ctrl+k” or “command+k”, I see the context window opening, I can type my request, but only the “quick question” works (it does not modified the current code, but it provide an answer).  
Instead if run “enter”/“generate” after typing my request nothing happens. No answer and no suggestion to modify the existing code.

If it might help solving the issue and anybody from the team is available, I am willing to participate in a video call to show you the bug (maybe it is a conflict with some existing setting or extension…)

Many thanks

---

<div class="post-metadata">

**Author:** ![sdp](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sdp/32/21128_2.png) [@sdp](https://forum.cursor.com/u/sdp)\
**Post date:** [January 21, 2025, 9:42am UTC](https://forum.cursor.com/t/bug-cmd-k-generate-not-working/43094/2 "2025-01-21T09:42:42Z")

</div>

solved. It was an issue with “python indent” preventing the generation of code
