Update .gitignore and add VSCode workspace exclude-settings

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2021-03-06 06:40:44 +00:00
parent d96698e88f
commit c5511902e2
2 changed files with 29 additions and 4 deletions
+4 -4
View File
@@ -1,6 +1,3 @@
# Object files output by the assembler
/build
# Generated binary
pihole-FTL
@@ -11,13 +8,16 @@ version*
/cmake/
/cmake-build-debug/
/cmake-build-release/
/cmake/
# IDE files
.idea/
*.sw*
.vscode/
/build/
# MAC->Vendor database files
tools/manuf.data
tools/macvendor.db
# Test dependencies
/node_modules/
+25
View File
@@ -0,0 +1,25 @@
{
// Configure glob patterns for excluding files and folders.
// For example, the files explorer decides which files and folders to show
// or hide based on this setting.
// Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).
"files.exclude": {
".git": true,
"cmake": true,
"build": true,
"node_modules": true,
"src/api/docs/hex": true
},
// Configure glob patterns of file paths to exclude from file watching.
// Patterns must match on absolute paths
// (i.e. prefix with ** or the full path to match properly).
// Changing this setting requires a restart.
// When you experience Code consuming lots of cpu time on startup,
// you can exclude large folders to reduce the initial load.
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"cmake/*/**": true,
"**/node_modules/*/**": true
}
}