Eric Amodio d2d72f0d54 | 8 years ago | ||
---|---|---|---|
.vscode | 删除 | 8 years ago | |
images | 删除 | 8 years ago | |
src | 删除 | 8 years ago | |
test | 删除 | 8 years ago | |
typings | 删除 | 8 years ago | |
.gitignore | 8 years ago | ||
.vscodeignore | 8 years ago | ||
LICENSE | 8 years ago | ||
README.md | 8 years ago | ||
package.json | 8 years ago | ||
tsconfig.json | 8 years ago | ||
typings.json | 8 years ago | ||
vsc-extension-quickstart.md | 8 years ago |
Provides Git information (most recent commit, # of authors) in CodeLens, on-demand inline blame annotations, status bar blame information, a blame explorer, and commands to compare changes with the working tree or previous versions.
Clicking on the CodeLens opens a Blame history explorer with the commits and changed lines in the right pane and the commit (file) contents on the left
Clicking on the CodeLens toggles Git blame annotations on/off
Must be using Git and it must be in your path.
Name | Description |
---|---|
gitlens.blame.annotation.style |
Specifies the style of the blame annotations. compact - groups annotations to limit the repetition and also adds author and date when possible. expanded - shows an annotation on every line |
gitlens.blame.annotation.sha |
Specifies whether the commit sha will be shown in the blame annotations. Applies only to the expanded annotation style |
gitlens.blame.annotation.author |
Specifies whether the committer will be shown in the blame annotations. Applies only to the expanded annotation style |
gitlens.blame.annotation.date |
Specifies whether the commit date will be shown in the blame annotations. Applies only to the expanded annotation style |
gitlens.codeLens.visibility |
Specifies when CodeLens will be triggered in the active document. auto - automatically. ondemand - only when requested. off - disables all active document CodeLens |
gitlens.codeLens.location |
Specifies where CodeLens will be rendered in the active document. all - render at the top of the document, on container-like (classes, modules, etc), and on member-like (methods, functions, properties, etc) lines. document+containers - render at the top of the document and on container-like lines. document - only render at the top of the document. custom - rendering controlled by gitlens.codeLens.locationCustomSymbols |
gitlens.codeLens.locationCustomSymbols |
Specifies the set of document symbols to render active document CodeLens on. Must be a member of SymbolKind |
gitlens.codeLens.recentChange.enabled |
Specifies whether the recent change CodeLens is shown |
gitlens.codeLens.recentChange.command |
Specifies the command executed when the recent change CodeLens is clicked. gitlens.toggleBlame - toggles blame annotations. gitlens.showBlameHistory - opens the blame history explorer. gitlens.diffWithPrevious - compares the current checked-in file with the previous commit. git.viewFileHistory - opens a file history picker, which requires the Git History (git log) extension |
gitlens.codeLens.authors.enabled |
Specifies whether the authors CodeLens is shown |
gitlens.codeLens.authors.command |
Specifies the command executed when the authors CodeLens is clicked. gitlens.toggleBlame - toggles blame annotations. gitlens.showBlameHistory - opens the blame history explorer. gitlens.diffWithPrevious - compares the current checked-in file with the previous commit. git.viewFileHistory - opens a file history picker, which requires the Git History (git log) extension |
gitlens.statusBar.enabled |
Specifies whether blame information is shown in the status bar |
gitlens.statusBar.command |
"Specifies the command executed when the blame status bar item is clicked. gitlens.toggleBlame - toggles blame annotations. gitlens.showBlameHistory - opens the blame history explorer. gitlens.diffWithPrevious - compares the current checked-in file with the previous commit. git.viewFileHistory - opens a file history picker, which requires the Git History (git log) extension" |
gitlens.codeLens.recentChange.command
& gitlens.codeLens.authors.command
settings options (to align with command names)gitlens.diffWithPrevious
option to the gitlens.codeLens.recentChange.command
& gitlens.codeLens.authors.command
settingsgitlens.blame.annotation.useCodeActions
setting and behaviorgitlens.codeLens.visibility
is set to ondemand
Candidate for preview release on the vscode marketplace.
Initial release but still heavily a work in progress.