I now have Cursor using a VS Code devcontainer, so the files it has access to are limited to my Docker container. With this setup, I’d feel comfortable turning on auto-run, but I can’t find a way to set the setting specific to the devcontainer.
I can only assume others have set up similar environments, in which auto-run is only enabled within a devcontainer, so that they can turn on auto-run comfortably and securely.
How do I do this?
To be clear, dev containers can have settings specific to them defined, but I can’t figure out what the correct setting is. For example, in my devcontainer.json I did the following, guessing that the setting is named cursor.autoRunMode.enabled
. (note that I know this approach to setting settings does work since I have tested using it to change editor.tabSize
)
{
"name": "Existing Docker Compose (Extend)",
// https://www.daytona.io/dotfiles/advanced-configuration-techniques-for-dev-container
"customizations": {
"vscode": {
"settings": {
"cursor.autoRunMode.enabled": true
}
}
},
"dockerComposeFile": [
"../docker-compose.yml",
"docker-compose.yml"
],
...
}