"The editor could not be opened because the file was not found"

Anytime I try to click on a thought to perform action in my code, I’m getting this error. If I click in a code block that has an action button that seems to be fine. This also appears to be happening across all projects. I deleted the custom knowledge I had.

The error started when I was using Windows 10 but I just switched to Windows 11 in the same time that the error has been happening.

When I started out using the program, it was working just fine, I had to do some stuff related to my python environment, I also installed Github copilot just to try to use their voice feature. I have since uninstalled those plugins to try to narrow down the problem. I am new to VSCode.

The software works fantastic, though, when it does!

Some help would be greatly appreciated, thank you.

1 Like

I can confirm this is still happening across all projects, even after the new update. I tried uninstalling and also deleting my local, files cache. VSCode code still seems to be keeping my settings, so I’m probably missing something…

1 Like

Hmm, It appears actions are not working even when I click them within code blocks as well.

Thank you for the report! I’m having the same problem for “Apply to” on text blocks.

What’s happening when you click on “Apply to” on code blocks?

I have met the same issue with the devcontainers. Is it the bug? It seems cannot refer to the workspace file in container.

This error is from March and there is no fix for it? I never had this problem on my Mac. I switched to a windows machine and now I can’t shake this error. I click on apply and this stupid error comes up every time. I tried different folders and different files.

I am on windows 11 24h2. Cursor version 0.41.3.

This is driving me nuts!

@buecker I’m also on Win 11 cursor 0.42.4 and experienced the same issue. The fix for me was to open the Folder (Cursor: File → Open Folder…) where my .py file was. Then Apply works.