Skip to content

Commit b741ef3

Browse files
committed
Track launch.json, tasks.json, md & svd files
Ignoring the .vscode/ directory is good default behavior, but it's probably best to track the files that define build tasks, debug configs, documentation, and any system view description files. The gitignore.io sample takes the same approach. https://www.gitignore.io/api/visualstudiocode > We in the VS Code team share debug and task specific settings as well because we want our team to have the same set of debug targets and task targets for VS Code. https://stackoverflow.com/a/32979933/3198973 Even people who vehemently argue that .vscode shouldn't be track, agree that complex debug configs should be tracked and shared. > The only .vscode that makes sense to include are complex launch configs for debugging. https://stackoverflow.com/a/47668283/3198973
1 parent a546d1b commit b741ef3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ Cargo.lock
55
target/
66

77
# editor files
8-
.vscode/
8+
.vscode/*
9+
!.vscode/*.md
10+
!.vscode/*.svd
11+
!.vscode/launch.json
12+
!.vscode/tasks.json

0 commit comments

Comments
 (0)