Skip to content

Commit 0c8b87f

Browse files
committed
Add gitlens settings suggestion
While GitHub automatically uses this file if present, GitLens in VS Code does not. Add the right option to our example settings.json for those who use the extension. Unfortunately, you can't leave this enabled if you want to look at the repo _without_ the file; git blame just crashes when the file isn't present. I'm not sure that there's a workaround for that.
1 parent c684c22 commit 0c8b87f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: .vscode/settings.template.json

+6
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@
66

77
// To use the locally built compiler, after 'npm run build':
88
// "typescript.tsdk": "built/local"
9+
10+
// To ignore commits listed in .git-blame-ignore-revs in GitLens:
11+
// "gitlens.advanced.blame.customArguments": [
12+
// "--ignore-revs-file",
13+
// ".git-blame-ignore-revs"
14+
// ]
915
}

0 commit comments

Comments
 (0)