No more Refactor > Move to File in Python?

I recommend people who want this to like this github issue to show interest in this in basedpyright. Currently it’s the most wanted feature: Support "Extract Method" | "Extract Variable" | "Move Symbol" · Issue #223 · DetachHead/basedpyright · GitHub

+1 for keeping this thread alive. I’m completely blocked by this regression, as I do refactoring all the time to keep agent-generated code manageable.
@ravirahman please rise priority in your product team, we pay for Cursor company-wide and the refactoring feature is absolutely a must for production scale development

Seems that VS Code forks are not allowed to use PyLance as Microsoft doesn’t allow it. Even if you install PyLance it still won’t work in Cursor. So no more refactoring until they implement it in some other extension I guess.

+1 to this

I love Cursor, but not having basic IDE features like this makes me wonder if I should start using ClaudeCode instead.

It’s only one feature, but after spending a bunch of time moving to/configuring a new language server a few weeks ago and still not having access to a basic IDE feature it’s starting to feel like an IDE reliability issue. And the IDE is the main value add of Cursor over Claude Code.

1 Like

Yes, but it is us Cursor users who are suffering, which is why Anysphere, the company that has over $1 billion in funding, should take ownership and fix the issue upstream in BasedPyright.

Python refactoring is broken in Cursor until this is resolved!

2 Likes

as a relative newbie to cursor and vscode (coming from intellij), I’m really surprise that this is tolerated. I’ll move away within the next days without this.
Maybe codex for vscode to keep proper programming features.

1 Like