You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is there a way to auto-ignore some files pattern? #269
One of the final solutions as it seems for me would be project-related settings via something custom in ./vscode/ folder, because its very common to want not only some always ignored files, but also custom prompts: in project with rust I want one prompt, in python project other and so on. Also — autoignored on sending to models 😄
By the way, ignoring files is a really needed function. I'd use it with uv.lock or Gemfile.lock files or something encrypted, yet in git, like credentials files in Rails ecosystem.
In .vscode/settings.json add key codeWebChat.ignorePatterns, and in the array of strings, list all the globs you want to ignore. I'll add a shortcut for it in Settings :)
Activity
robertpiosik commentedon May 22, 2025
Great you bring it up. We need a way to ignore glob patterns outside of those defined in
.gitignore.dat-lequoc commentedon May 23, 2025
Yeah, but ignore in a way that => not select , but the file still show in the tree though
Mayurifag commentedon Dec 15, 2025
One of the final solutions as it seems for me would be project-related settings via something custom in
./vscode/folder, because its very common to want not only some always ignored files, but also custom prompts: in project with rust I want one prompt, in python project other and so on. Also — autoignored on sending to models 😄By the way, ignoring files is a really needed function. I'd use it with uv.lock or Gemfile.lock files or something encrypted, yet in git, like credentials files in Rails ecosystem.
Thanks in advance!! 👍🏻
robertpiosik commentedon Dec 15, 2025
Hi @Mayurifag.
In
.vscode/settings.jsonadd keycodeWebChat.ignorePatterns, and in the array of strings, list all the globs you want to ignore. I'll add a shortcut for it in Settings :)Mayurifag commentedon Dec 16, 2025
Hi! Thanks for suggestion! Yea, looks much better. :)
Mayurifag commentedon Dec 16, 2025
If one wants that just for workspace, not global excludes, here is the copy-paste solution:
Create/modify
.vscode/settings.jsonin your project:{ "codeWebChat.ignorePatterns": [ "/uv.lock" ], }robertpiosik commentedon Dec 16, 2025
@Mayurifag I'll add a shortcut in settings that creates this on user behalf.