Cursor Inline Chat (Cmd+K) Fails to Capture Entire Function/Class When Triggered on Name

When invoking the Cursor inline chat shortcut (Cmd+K) on a function or class name, the extension no longer captures the full source code block. Instead, only a partial snippet below the name is sent to the chat, making it harder to refactor.