The problem happens to all themes, and everywhere, not just at the import. Doing countless reload nowadays to get the color right. It’s distracting and breaking the flow.
Any suggestion?
The problem is python language server.
Change it to pylance solves the problem.
Default, which is cursor pyright, simply won’t work.
I have fresh installation, no import from vscode, and only has 2 extensions installed: cursor pyright, cursor python.
The real problem is when I set it to pylance, the setting would automatically revert back to default for no reason. The syntax color won’t refresh again, linting is off, etc.
Have to manually set python language server to pylance every single restart and window reload.
This is a flow breaking bug, forcing me to unsubscribe and the only reason preventing me from making cursor the daily driver.
New user here . . . any updates on this problem? I have the Cursor Pyright extension install. When I make an edit (such as commenting a line of code), I see this in the language server output:
2024-03-17 19:42:13.753 [info] [Error - 7:42:13 PM] Request textDocument/semanticTokens/full/delta failed.
2024-03-17 19:42:13.753 [info] Message: No semantic tokens provided/needed for file:///path/to/my/python/filepy
I have met the same issue … any solution on it?
I re-install the pylance extension and the issue has been resolved. and commented out works.
By replacing the Python Language Server with Pylance. It will fix this issue temporarily.