Skip to content

Commit 7823493

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 e5b97c7 commit 7823493

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.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)