xxxxxxxxxx
"explorer.excludeGitIgnore": false
// or
"files.excludeGitIgnore":false
// or
"search.useIgnoreFiles": false
xxxxxxxxxx
It is possible to add files to the .gitignore file from within VS Code by using
the list of untracked changed files in the 'source control' panel.
1. Right-click a file
2. Select add to .gitignore from the pop-up menu.
You can't add folders but just the individual files.