Locks for file and folders

  1. As a user, I want to be able to place locks on files and folders so that the cursor will not ever touch them. This should include right-clicking on a file or folder to add or remove a lock, or to add or remove it from a lock group.
  2. As a user, I want to be able to create a lock group that consists of a set of files and folders that are locked as a group. I also want to be able to remove the files and folders from the group.
  3. I want to be able to set the lock group I am working on at any point in this.

The idea here is to limit the blast radius as code is generated, updated, or changed.

1 Like

hi @Keith_Tobin and welcome to Cursor Forum.

Thank you for your feature request. Currently this is implemented with .cursorignore and .gitignore files as those files can be committed and will work on subsequent checkouts. Additionally it allows for wildcard patterns to ignore files not just in current folder but any folder structure. There are also additional Cursor settings for .dotfile protection.

Yes the added usability benefit from right-click would be good.

Cursor Team is regularly reviewing requests and will consider it. Thank you again.

Run cursor as its own user and use your OS’s permissions and you can make whatever files you want read only / invisible.

Or run it as you and make them read only for you too.