vscode icon indicating copy to clipboard operation
vscode copied to clipboard

.gitignore respected in a multi root workspace.

Open stevenh opened this issue 7 months ago • 0 comments

When a .gitignore is defined in a standard workspace VS code explorer automatically hides all matching files, however in a multi root workspace this only works for the root workspace and others it doesn't.

The only workaround currently is to manually replicate rules form .gitignore into "settings": { "files.exclude": [] } in the workspace file, which is fragile as everyone needs to remember to update both files when making changes.

Ideally having all workspaces apply the setting would be the default but any option to have this enabled would be great.

stevenh avatar May 23 '25 12:05 stevenh