We configured the setting "cursor.chat.defaultNoContext": true
on .vscode/settings.json
to prevent Cursor from automatically adding the current file to the chat.
(got it from this forum post: .cursorignore not being used - #7 by rubycon)
Today I noticed that setting is not valid any longer:
Asked Chat how to prevent files from being automatically added to it, it said to use "ai.contextStrategy": "none"
on .cursor/settings.json
.
I created that file and used Tab to autocomplete other options there too:
{
"ai.contextStrategy": "none",
"ai.chat.defaultNoContext": true,
"cursor.chat.defaultNoContext": true
}
No combination of that works, files are still automatically added to Chat (restarted Cursor multiple times).
The documentation (Cursor - Build Software Faster) is also not helpful: it refers to Default to no context
under Cursor Settings > Features > Chat
, which doesn’t exist any longer.
Version info
Version: 0.43.5
VSCode Version: 1.93.1
Commit: 2eaa79a1b14ccff5d1c78a2c358a08be16a8e5a0
Date: 2024-11-27T09:11:51.854Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 22.6.0
The lack of consistency and care with privacy and security is hindering Cursor as a code assistant alternative.