Skip to content

Commit

Permalink
Add gitlens settings suggestion
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jakebailey committed Nov 6, 2022
1 parent e5b58c4 commit 8671acf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@

// To use the locally built compiler, after 'npm run build':
// "typescript.tsdk": "built/local"

// To ignore commits listed in .git-blame-ignore-revs in GitLens:
// "gitlens.advanced.blame.customArguments": [
// "--ignore-revs-file",
// ".git-blame-ignore-revs"
// ]
}

0 comments on commit 8671acf

Please sign in to comment.