Hi @matveirush, can you create a feature request for this in the basedpyright GitHub? Once their extension supports this feature, we’ll merge it into our extension.
Thank you for your response @ravirahman . I’d respectfully ask that your team create the issue in basedpyright directly, for the following reasons:
1. I don’t understand how the Cursor Python extension integrates with basedpyright to implement “Go to Definition” functionality, which limits my ability to provide comprehensive technical details. While I can describe what I see as a user, your team has the technical expertise to provide the precise specifications for how pytest fixture resolution should be implemented.
2. I feel it might be more natural for the Cursor team to engage directly with basedpyright maintainers about features needed for your Python extension. As an end user, I’d be in the position of asking open-source maintainers to implement functionality for a commercial product that I neither develop nor maintain, which feels a bit awkward from my perspective. I think direct communication between the teams would be more straightforward.
I completely understand that your resources are limited, but so are basedpyright’s maintainers. Perhaps you could discuss this issue together and decide who should implement it (or if it’s reasonable to implement at all).
I realize this is no longer a bug report but rather a feature request, so I would understand if it takes time to implement or isn’t implemented at all. That said, I would be happy to have such a feature.
Hi, I am not sure what has changed but today my cursor setup decided not have this feature any more despite having it for at least a month now. what could have changed?
Also my fixture wrapper color started becoming yellow instead of green.
I don’t know who this is relates to but it sounds to me like it’s related to here. so i am attaching this video of a bug.
What are we seeing in the video?
Normal cursor usage, I have been working on python tests using pytest and fixtures of a while now and you could have always jumped to the definition reference by ctrl+click the fixture name on the test, demonstrated working
after window reload it stops working and shows in-file references mostly