|
|
- {
- "name": "gitlens",
- "displayName": "GitLens — Git supercharged",
- "description": "Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more",
- "version": "10.0.0-alpha",
- "author": {
- "name": "Eric Amodio",
- "email": "eamodio@gmail.com"
- },
- "publisher": "eamodio",
- "license": "SEE LICENSE IN LICENSE",
- "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
- "bugs": {
- "url": "https://github.com/eamodio/vscode-gitlens/issues"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/eamodio/vscode-gitlens.git"
- },
- "engines": {
- "vscode": "^1.37.0"
- },
- "main": "./dist/extension",
- "icon": "images/gitlens-icon.png",
- "preview": false,
- "badges": [
- {
- "url": "https://img.shields.io/badge/vscode--dev--community-gitlens-blue.svg?logo=slack&labelColor=555555",
- "href": "https://vscode-slack.amod.io",
- "description": "Join us in the #gitlens channel"
- }
- ],
- "categories": [
- "Other"
- ],
- "galleryBanner": {
- "color": "#8647ae",
- "theme": "dark"
- },
- "keywords": [
- "gitlens",
- "git",
- "blame",
- "log",
- "annotation",
- "multi-root ready"
- ],
- "activationEvents": [
- "*"
- ],
- "contributes": {
- "configuration": {
- "type": "object",
- "title": "GitLens — Use 'GitLens: Open Settings' for a richer, interactive experience",
- "properties": {
- "gitlens.blame.avatars": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show avatar images in the gutter blame annotations",
- "scope": "window"
- },
- "gitlens.blame.compact": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations",
- "scope": "window"
- },
- "gitlens.blame.dateFormat": {
- "type": "string",
- "default": null,
- "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in gutter blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
- "scope": "window"
- },
- "gitlens.blame.format": {
- "type": "string",
- "default": "${message|40?} ${agoOrDate|14-}",
- "markdownDescription": "Specifies the format of the gutter blame annotations. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.blame.dateFormat#` setting",
- "scope": "window"
- },
- "gitlens.blame.heatmap.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide a heatmap indicator in the gutter blame annotations",
- "scope": "window"
- },
- "gitlens.blame.heatmap.location": {
- "type": "string",
- "default": "right",
- "enum": [
- "left",
- "right"
- ],
- "enumDescriptions": [
- "Adds a heatmap indicator on the left edge of the gutter blame annotations",
- "Adds a heatmap indicator on the right edge of the gutter blame annotations"
- ],
- "markdownDescription": "Specifies where the heatmap indicators will be shown in the gutter blame annotations",
- "scope": "window"
- },
- "gitlens.blame.highlight.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to highlight lines associated with the current line",
- "scope": "window"
- },
- "gitlens.blame.highlight.locations": {
- "type": "array",
- "default": [
- "gutter",
- "line",
- "overview"
- ],
- "items": {
- "type": "string",
- "enum": [
- "gutter",
- "line",
- "overview"
- ],
- "enumDescriptions": [
- "Adds a gutter glyph",
- "Adds a full-line highlight background color",
- "Adds a decoration to the overview ruler (scroll bar)"
- ]
- },
- "minItems": 1,
- "maxItems": 3,
- "uniqueItems": true,
- "markdownDescription": "Specifies where the associated line highlights will be shown",
- "scope": "window"
- },
- "gitlens.blame.ignoreWhitespace": {
- "type": "boolean",
- "default": false,
- "markdownDescription": "Specifies whether to ignore whitespace when comparing revisions during blame operations",
- "scope": "resource"
- },
- "gitlens.blame.separateLines": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether gutter blame annotations will be separated by a small gap",
- "scope": "window"
- },
- "gitlens.blame.toggleMode": {
- "type": "string",
- "default": "file",
- "enum": [
- "file",
- "window"
- ],
- "enumDescriptions": [
- "Toggles each file individually",
- "Toggles the window, i.e. all files at once"
- ],
- "markdownDescription": "Specifies how the gutter blame annotations will be toggled",
- "scope": "window"
- },
- "gitlens.codeLens.authors.command": {
- "type": "string",
- "default": "gitlens.toggleFileBlame",
- "enum": [
- "gitlens.toggleFileBlame",
- "gitlens.diffWithPrevious",
- "gitlens.showQuickCommitDetails",
- "gitlens.showQuickCommitFileDetails",
- "gitlens.showQuickFileHistory",
- "gitlens.showQuickRepoHistory"
- ],
- "enumDescriptions": [
- "Toggles file blame annotations",
- "Compares the current committed file with the previous commit",
- "Shows a commit details quick pick",
- "Shows a commit file details quick pick",
- "Shows a file history quick pick",
- "Shows a branch history quick pick"
- ],
- "markdownDescription": "Specifies the command to be executed when an _authors_ code lens is clicked",
- "scope": "window"
- },
- "gitlens.codeLens.authors.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide an _authors_ code lens, showing number of authors of the file or code block and the most prominent author (if there is more than one)",
- "scope": "window"
- },
- "gitlens.codeLens.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide any Git code lens, by default. Use the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to toggle the Git code lens on and off for the current window",
- "scope": "window"
- },
- "gitlens.codeLens.includeSingleLineSymbols": {
- "type": "boolean",
- "default": false,
- "markdownDescription": "Specifies whether to provide any Git code lens on symbols that span only a single line",
- "scope": "window"
- },
- "gitlens.codeLens.recentChange.command": {
- "type": "string",
- "default": "gitlens.showQuickCommitFileDetails",
- "enum": [
- "gitlens.toggleFileBlame",
- "gitlens.diffWithPrevious",
- "gitlens.showQuickCommitDetails",
- "gitlens.showQuickCommitFileDetails",
- "gitlens.showQuickFileHistory",
- "gitlens.showQuickRepoHistory"
- ],
- "enumDescriptions": [
- "Toggles file blame annotations",
- "Compares the current committed file with the previous commit",
- "Shows a commit details quick pick",
- "Shows a commit file details quick pick",
- "Shows a file history quick pick",
- "Shows a branch history quick pick"
- ],
- "markdownDescription": "Specifies the command to be executed when a _recent change_ code lens is clicked",
- "scope": "window"
- },
- "gitlens.codeLens.recentChange.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide a _recent change_ code lens, showing the author and date of the most recent commit for the file or code block",
- "scope": "window"
- },
- "gitlens.codeLens.scopes": {
- "type": "array",
- "default": [
- "document",
- "containers"
- ],
- "items": {
- "type": "string",
- "enum": [
- "document",
- "containers",
- "blocks"
- ],
- "enumDescriptions": [
- "Adds code lens at the top of the document",
- "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
- "Adds code lens at the start of block-like symbols (functions, methods, etc) lines"
- ]
- },
- "minItems": 1,
- "maxItems": 4,
- "uniqueItems": true,
- "markdownDescription": "Specifies where Git code lens will be shown in the document",
- "scope": "resource"
- },
- "gitlens.codeLens.scopesByLanguage": {
- "type": "array",
- "default": [
- {
- "language": "azure-pipelines",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "ansible",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "css",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "html",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "json",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "jsonc",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "less",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "postcss",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "python",
- "symbolScopes": [
- "!Module"
- ]
- },
- {
- "language": "scss",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "stylus",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "vue",
- "scopes": [
- "document"
- ]
- },
- {
- "language": "yaml",
- "scopes": [
- "document"
- ]
- }
- ],
- "items": {
- "type": "object",
- "required": [
- "language"
- ],
- "properties": {
- "language": {
- "type": "string",
- "description": "Specifies the language to which this code lens override applies"
- },
- "scopes": {
- "type": "array",
- "default": [
- "document",
- "containers"
- ],
- "items": {
- "type": "string",
- "enum": [
- "document",
- "containers",
- "blocks",
- "custom"
- ],
- "enumDescriptions": [
- "Adds code lens at the top of the document",
- "Adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)",
- "Adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines",
- "Adds code lens at the start of symbols contained in `symbolScopes`"
- ]
- },
- "minItems": 1,
- "maxItems": 4,
- "uniqueItems": true,
- "description": "Specifies where Git code lens will be shown in the document for the specified language"
- },
- "symbolScopes": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "uniqueItems": true,
- "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language. Must be a member of `SymbolKind`"
- }
- }
- },
- "uniqueItems": true,
- "markdownDescription": "Specifies where Git code lens will be shown in the document for the specified languages",
- "scope": "resource"
- },
- "gitlens.codeLens.symbolScopes": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "uniqueItems": true,
- "markdownDescription": "Specifies a set of document symbols where Git code lens will or will not be shown in the document. Prefix with `!` to avoid providing a Git code lens for the symbol. Must be a member of `SymbolKind`",
- "scope": "resource"
- },
- "gitlens.currentLine.dateFormat": {
- "type": "string",
- "default": null,
- "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) for the current line blame annotation. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
- "scope": "window"
- },
- "gitlens.currentLine.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide a blame annotation for the current line, by default. Use the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window",
- "scope": "window"
- },
- "gitlens.currentLine.format": {
- "type": "string",
- "default": "${author}, ${agoOrDate} • ${message}",
- "markdownDescription": "Specifies the format of the current line blame annotation. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.currentLine.dateFormat#` setting",
- "scope": "window"
- },
- "gitlens.currentLine.scrollable": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
- "scope": "window"
- },
- "gitlens.debug": {
- "type": "boolean",
- "default": false,
- "markdownDescription": "Specifies debug mode",
- "scope": "window"
- },
- "gitlens.defaultDateFormat": {
- "type": "string",
- "default": null,
- "markdownDescription": "Specifies how absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
- "scope": "window"
- },
- "gitlens.defaultDateShortFormat": {
- "type": "string",
- "default": null,
- "markdownDescription": "Specifies how short absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
- "scope": "window"
- },
- "gitlens.defaultDateSource": {
- "type": "string",
- "default": "authored",
- "enum": [
- "authored",
- "committed"
- ],
- "enumDescriptions": [
- "Uses the date when the changes were authored (i.e. originally written)",
- "Uses the date when the changes were committed"
- ],
- "markdownDescription": "Specifies whether commit dates should use the authored or committed date",
- "scope": "window"
- },
- "gitlens.defaultDateStyle": {
- "type": "string",
- "default": "relative",
- "enum": [
- "relative",
- "absolute"
- ],
- "enumDescriptions": [
- "e.g. 1 day ago",
- "e.g. July 25th, 2018 7:18pm"
- ],
- "markdownDescription": "Specifies how dates will be displayed by default",
- "scope": "window"
- },
- "gitlens.defaultGravatarsStyle": {
- "type": "string",
- "default": "robohash",
- "enum": [
- "identicon",
- "mp",
- "monsterid",
- "retro",
- "robohash",
- "wavatar"
- ],
- "enumDescriptions": [
- "A geometric pattern",
- "A simple, cartoon-style silhouetted outline of a person (does not vary by email hash)",
- "A monster with different colors, faces, etc",
- "8-bit arcade-style pixelated faces",
- "A robot with different colors, faces, etc",
- "A face with differing features and backgrounds"
- ],
- "markdownDescription": "Specifies the style of the gravatar default (fallback) images",
- "scope": "window"
- },
- "gitlens.gitCommands.closeOnFocusOut": {
- "type": "boolean",
- "default": false,
- "markdownDescription": "Specifies whether to dismiss the Git Commands menu when focus is lost (if not, press `ESC` to dismiss)",
- "scope": "window"
- },
- "gitlens.gitCommands.skipConfirmations": {
- "type": "array",
- "default": [
- "fetch:command",
- "stash-push:command",
- "switch:command"
- ],
- "items": {
- "type": "string",
- "enum": [
- "fetch:command",
- "fetch:menu",
- "pull:command",
- "pull:menu",
- "push:command",
- "push:menu",
- "stash-apply:command",
- "stash-apply:menu",
- "stash-pop:command",
- "stash-pop:menu",
- "stash-push:command",
- "stash-push:menu",
- "switch:command",
- "switch:menu"
- ],
- "enumDescriptions": [
- "Skips fetch confirmations when run from a command, e.g. a view action",
- "Skips fetch confirmations when run from the `Git Commands` menu",
- "Skips pull confirmations when run from a command, e.g. a view action",
- "Skips pull confirmations when run from the `Git Commands` menu",
- "Skips push confirmations when run from a command, e.g. a view action",
- "Skips push confirmations when run from the `Git Commands` menu",
- "Skips stash apply confirmations when run from a command, e.g. a view action",
- "Skips stash apply confirmations when run from the `Git Commands` menu",
- "Skips stash pop confirmations when run from a command, e.g. a view action",
- "Skips stash pop confirmations when run from the `Git Commands` menu",
- "Skips stash push confirmations when run from a command, e.g. a view action",
- "Skips stash push confirmations when run from the `Git Commands` menu",
- "Skips switch confirmations when run from a command, e.g. a view action",
- "Skips switch confirmations when run from the `Git Commands` menu"
- ]
- },
- "minItems": 0,
- "maxItems": 14,
- "uniqueItems": true,
- "markdownDescription": "Specifies which (and when) Git commands will skip the confirmation step, using the format: `git-command-name:(menu|command)`",
- "scope": "window"
- },
- "gitlens.heatmap.ageThreshold": {
- "type": "string",
- "default": "90",
- "markdownDescription": "Specifies the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `#gitlens.heatmap.coldColor#` instead of `#gitlens.heatmap.hotColor#`)",
- "scope": "window"
- },
- "gitlens.heatmap.coldColor": {
- "type": "string",
- "default": "#0a60f6",
- "markdownDescription": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `#gitlens.heatmap.ageThreshold#` value",
- "scope": "window"
- },
- "gitlens.heatmap.hotColor": {
- "type": "string",
- "default": "#f66a0a",
- "markdownDescription": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `#gitlens.heatmap.ageThreshold#` value",
- "scope": "window"
- },
- "gitlens.heatmap.toggleMode": {
- "type": "string",
- "default": "file",
- "enum": [
- "file",
- "window"
- ],
- "enumDescriptions": [
- "Toggles each file individually",
- "Toggles the window, i.e. all files at once"
- ],
- "markdownDescription": "Specifies how the gutter heatmap annotations will be toggled",
- "scope": "window"
- },
- "gitlens.hovers.annotations.changes": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide a _changes (diff)_ hover for all lines when showing blame annotations",
- "scope": "window"
- },
- "gitlens.hovers.annotations.details": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide a _commit details_ hover for all lines when showing blame annotations",
- "scope": "window"
- },
- "gitlens.hovers.annotations.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide any hovers when showing blame annotations",
- "scope": "window"
- },
- "gitlens.hovers.annotations.over": {
- "type": "string",
- "default": "line",
- "enum": [
- "annotation",
- "line"
- ],
- "enumDescriptions": [
- "Only shown when hovering over the line annotation",
- "Shown when hovering anywhere over the line"
- ],
- "markdownDescription": "Specifies when to trigger hovers when showing blame annotations",
- "scope": "window"
- },
- "gitlens.hovers.currentLine.changes": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide a _changes (diff)_ hover for the current line",
- "scope": "window"
- },
- "gitlens.hovers.currentLine.details": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide a _commit details_ hover for the current line",
- "scope": "window"
- },
- "gitlens.hovers.currentLine.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide any hovers for the current line",
- "scope": "window"
- },
- "gitlens.hovers.currentLine.over": {
- "type": "string",
- "default": "annotation",
- "enum": [
- "annotation",
- "line"
- ],
- "enumDescriptions": [
- "Only shown when hovering over the line annotation",
- "Shown when hovering anywhere over the line"
- ],
- "markdownDescription": "Specifies when to trigger hovers for the current line",
- "scope": "window"
- },
- "gitlens.hovers.avatars": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show avatar images in hovers",
- "scope": "window"
- },
- "gitlens.hovers.changesDiff": {
- "type": "string",
- "default": "line",
- "enum": [
- "line",
- "hunk"
- ],
- "enumDescriptions": [
- "Shows only the changes to the line",
- "Shows the set of related changes"
- ],
- "markdownDescription": "Specifies whether to show just the changes to the line or the set of related changes in the _changes (diff)_ hover",
- "scope": "window"
- },
- "gitlens.hovers.detailsMarkdownFormat": {
- "type": "string",
- "default": "${avatar} __${author}__, ${ago} _(${date})_ \n\n${message}\n\n${commands}",
- "markdownDescription": "Specifies the format (in markdown) of the _commit details_ hover. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.hovers.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide any hovers",
- "scope": "window"
- },
- "gitlens.insiders": {
- "type": "boolean",
- "default": false,
- "markdownDescription": "Specifies whether to enable experimental features",
- "scope": "window"
- },
- "gitlens.keymap": {
- "type": "string",
- "default": "chorded",
- "enum": [
- "alternate",
- "chorded",
- "none"
- ],
- "enumDescriptions": [
- "Adds an alternate set of shortcut keys that start with `Alt` (⌥ on macOS)",
- "Adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`⌥⌘G` on macOS)",
- "No shortcut keys will be added"
- ],
- "markdownDescription": "Specifies the keymap to use for GitLens shortcut keys",
- "scope": "window"
- },
- "gitlens.liveshare.allowGuestAccess": {
- "type": "boolean",
- "default": true,
- "description": "Specifies whether to allow guest access to GitLens features when using Visual Studio Live Share",
- "scope": "window"
- },
- "gitlens.menus": {
- "anyOf": [
- {
- "enum": [
- false
- ]
- },
- {
- "type": "object",
- "properties": {
- "editor": {
- "anyOf": [
- {
- "enum": [
- false
- ]
- },
- {
- "type": "object",
- "properties": {
- "blame": {
- "type": "boolean"
- },
- "clipboard": {
- "type": "boolean"
- },
- "compare": {
- "type": "boolean"
- },
- "details": {
- "type": "boolean"
- },
- "history": {
- "type": "boolean"
- },
- "remote": {
- "type": "boolean"
- }
- }
- }
- ]
- },
- "editorGroup": {
- "anyOf": [
- {
- "enum": [
- false
- ]
- },
- {
- "type": "object",
- "properties": {
- "blame": {
- "type": "boolean"
- },
- "compare": {
- "type": "boolean"
- }
- }
- }
- ]
- },
- "editorTab": {
- "anyOf": [
- {
- "enum": [
- false
- ]
- },
- {
- "type": "object",
- "properties": {
- "clipboard": {
- "type": "boolean"
- },
- "compare": {
- "type": "boolean"
- },
- "history": {
- "type": "boolean"
- },
- "remote": {
- "type": "boolean"
- }
- }
- }
- ]
- },
- "explorer": {
- "anyOf": [
- {
- "enum": [
- false
- ]
- },
- {
- "type": "object",
- "properties": {
- "clipboard": {
- "type": "boolean"
- },
- "compare": {
- "type": "boolean"
- },
- "history": {
- "type": "boolean"
- },
- "remote": {
- "type": "boolean"
- }
- }
- }
- ]
- },
- "scmGroup": {
- "anyOf": [
- {
- "enum": [
- false
- ]
- },
- {
- "type": "object",
- "properties": {
- "compare": {
- "type": "boolean"
- },
- "openClose": {
- "type": "boolean"
- },
- "stash": {
- "type": "boolean"
- },
- "stashInline": {
- "type": "boolean"
- }
- }
- }
- ]
- },
- "scmItem": {
- "anyOf": [
- {
- "enum": [
- false
- ]
- },
- {
- "type": "object",
- "properties": {
- "clipboard": {
- "type": "boolean"
- },
- "compare": {
- "type": "boolean"
- },
- "history": {
- "type": "boolean"
- },
- "remote": {
- "type": "boolean"
- },
- "stash": {
- "type": "boolean"
- }
- }
- }
- ]
- }
- }
- }
- ],
- "default": {
- "editor": {
- "blame": false,
- "clipboard": true,
- "compare": true,
- "details": false,
- "history": false,
- "remote": false
- },
- "editorGroup": {
- "blame": true,
- "compare": true
- },
- "editorTab": {
- "clipboard": true,
- "compare": true,
- "history": true,
- "remote": true
- },
- "explorer": {
- "clipboard": true,
- "compare": true,
- "history": true,
- "remote": true
- },
- "scmGroup": {
- "compare": true,
- "openClose": true,
- "stash": true,
- "stashInline": true
- },
- "scmItem": {
- "clipboard": true,
- "compare": true,
- "history": true,
- "remote": true,
- "stash": true
- }
- },
- "markdownDescription": "Specifies which commands will be added to which menus",
- "scope": "window"
- },
- "gitlens.mode.active": {
- "type": "string",
- "markdownDescription": "Specifies the active GitLens mode, if any",
- "scope": "window"
- },
- "gitlens.mode.statusBar.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide the active GitLens mode in the status bar",
- "scope": "window"
- },
- "gitlens.mode.statusBar.alignment": {
- "type": "string",
- "default": "right",
- "enum": [
- "left",
- "right"
- ],
- "enumDescriptions": [
- "Aligns to the left",
- "Aligns to the right"
- ],
- "markdownDescription": "Specifies the active GitLens mode alignment in the status bar",
- "scope": "window"
- },
- "gitlens.modes": {
- "type": "object",
- "properties": {
- "zen": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "Specifies the friendly name of this user-defined mode"
- },
- "statusBarItemName": {
- "type": "string",
- "description": "Specifies the name shown in the status bar when this user-defined mode is active"
- },
- "description": {
- "type": "string",
- "description": "Specifies the description of this user-defined mode"
- },
- "codeLens": {
- "type": "boolean",
- "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
- },
- "currentLine": {
- "type": "boolean",
- "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
- },
- "hovers": {
- "type": "boolean",
- "description": "Specifies whether to show any hovers when this user-defined mode is active"
- },
- "statusBar": {
- "type": "boolean",
- "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
- },
- "views": {
- "type": "boolean",
- "description": "Specifies whether to show any GitLens views when this user-defined mode is active"
- }
- }
- },
- "review": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "Specifies the friendly name of this user-defined mode"
- },
- "statusBarItemName": {
- "type": "string",
- "description": "Specifies the name shown in the status bar when this user-defined mode is active"
- },
- "description": {
- "type": "string",
- "description": "Specifies the description of this user-defined mode"
- },
- "codeLens": {
- "type": "boolean",
- "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
- },
- "currentLine": {
- "type": "boolean",
- "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
- },
- "hovers": {
- "type": "boolean",
- "description": "Specifies whether to show any hovers when this user-defined mode is active"
- },
- "statusBar": {
- "type": "boolean",
- "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
- },
- "views": {
- "type": "boolean",
- "description": "Specifies whether to show any GitLens views when this user-defined mode is active"
- }
- }
- }
- },
- "additionalProperties": {
- "type": "object",
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "type": "string",
- "description": "Specifies the friendly name of this user-defined mode"
- },
- "statusBarItemName": {
- "type": "string",
- "description": "Specifies the name shown in the status bar when this user-defined mode is active"
- },
- "description": {
- "type": "string",
- "description": "Specifies the description of this user-defined mode"
- },
- "annotations": {
- "type": "string",
- "enum": [
- "blame",
- "heatmap",
- "recentChanges"
- ],
- "enumDescriptions": [
- "Shows the gutter blame annotations",
- "Shows the gutter heatmap annotations",
- "Shows the recently changed lines annotations"
- ],
- "description": "Specifies which (if any) file annotations will be shown when this user-defined mode is active"
- },
- "codeLens": {
- "type": "boolean",
- "description": "Specifies whether to show any Git code lens when this user-defined mode is active"
- },
- "currentLine": {
- "type": "boolean",
- "description": "Specifies whether to show a blame annotation for the current line when this user-defined mode is active"
- },
- "hovers": {
- "type": "boolean",
- "description": "Specifies whether to show any hovers when this user-defined mode is active"
- },
- "statusBar": {
- "type": "boolean",
- "description": "Specifies whether to show blame information in the status bar when this user-defined mode is active"
- },
- "views": {
- "type": "boolean",
- "description": "Specifies whether to show any GitLens views when this user-defined mode is active"
- }
- }
- },
- "default": {
- "zen": {
- "name": "Zen",
- "statusBarItemName": "Zen",
- "description": "for a zen-like experience, disables many visual features",
- "codeLens": false,
- "currentLine": false,
- "hovers": false,
- "statusBar": false
- },
- "review": {
- "name": "Review",
- "statusBarItemName": "Reviewing",
- "description": "for reviewing code, enables many visual features",
- "codeLens": true,
- "currentLine": true,
- "hovers": true
- }
- },
- "markdownDescription": "Specifies the user-defined GitLens modes",
- "scope": "window"
- },
- "gitlens.outputLevel": {
- "type": "string",
- "default": "errors",
- "enum": [
- "silent",
- "errors",
- "verbose",
- "debug"
- ],
- "enumDescriptions": [
- "Logs nothing",
- "Logs only errors",
- "Logs all errors, warnings, and messages",
- "Logs all errors, warnings, and messages with extra context useful for debugging"
- ],
- "markdownDescription": "Specifies how much (if any) output will be sent to the GitLens output channel",
- "scope": "window"
- },
- "gitlens.recentChanges.highlight.locations": {
- "type": "array",
- "default": [
- "gutter",
- "line",
- "overview"
- ],
- "items": {
- "type": "string",
- "enum": [
- "gutter",
- "line",
- "overview"
- ],
- "enumDescriptions": [
- "Adds a gutter glyph",
- "Adds a full-line highlight background color",
- "Adds a decoration to the overview ruler (scroll bar)"
- ]
- },
- "minItems": 1,
- "maxItems": 3,
- "uniqueItems": true,
- "markdownDescription": "Specifies where the highlights of the recently changed lines will be shown",
- "scope": "window"
- },
- "gitlens.recentChanges.toggleMode": {
- "type": "string",
- "default": "file",
- "enum": [
- "file",
- "window"
- ],
- "enumDescriptions": [
- "Toggles each file individually",
- "Toggles the window, i.e. all files at once"
- ],
- "markdownDescription": "Specifies how the recently changed lines annotations will be toggled",
- "scope": "window"
- },
- "gitlens.remotes": {
- "type": "array",
- "default": null,
- "items": {
- "type": "object",
- "required": [
- "type",
- "domain"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "Bitbucket",
- "BitbucketServer",
- "Custom",
- "GitHub",
- "GitLab"
- ],
- "description": "Specifies the type of the custom remote service"
- },
- "domain": {
- "type": "string",
- "description": "Specifies the domain name of the custom remote service"
- },
- "name": {
- "type": "string",
- "description": "Specifies an optional friendly name for the custom remote service"
- },
- "protocol": {
- "type": "string",
- "default": "https",
- "description": "Specifies an optional url protocol for the custom remote service"
- },
- "urls": {
- "type": "object",
- "required": [
- "repository",
- "branches",
- "branch",
- "commit",
- "file",
- "fileInCommit",
- "fileInBranch",
- "fileLine",
- "fileRange"
- ],
- "properties": {
- "repository": {
- "type": "string",
- "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo}` — repository path"
- },
- "branches": {
- "type": "string",
- "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${branch}` — branch"
- },
- "branch": {
- "type": "string",
- "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${branch}` — branch"
- },
- "commit": {
- "type": "string",
- "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${id}` — commit id"
- },
- "file": {
- "type": "string",
- "description": "Specifies the format of a file url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${file}` — file name\n ${line}` — formatted line information"
- },
- "fileInBranch": {
- "type": "string",
- "description": "Specifies the format of a branch file url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${file}` — file name\n ${branch}` — branch\n ${line}` — formatted line information"
- },
- "fileInCommit": {
- "type": "string",
- "description": "Specifies the format of a commit file url for the custom remote service\nAvailable tokens\n ${repo}` — repository path\n ${file}` — file name\n ${id}` — commit id\n ${line}` — formatted line information"
- },
- "fileLine": {
- "type": "string",
- "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line}` — line"
- },
- "fileRange": {
- "type": "string",
- "description": "Specifies the format of a range in a file url for the custom remote service\nAvailable tokens\n ${start}` — starting line\n ${end}` — ending line"
- }
- }
- },
- "description": "Specifies the url formats of the custom remote service"
- }
- },
- "uniqueItems": true,
- "markdownDescription": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
- "scope": "resource"
- },
- "gitlens.showWhatsNewAfterUpgrades": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show What's New after upgrading to new feature releases",
- "scope": "window"
- },
- "gitlens.sortBranchesBy": {
- "type": "string",
- "default": "name:desc",
- "enum": [
- "name:desc",
- "name:asc",
- "date:desc",
- "date:asc"
- ],
- "enumDescriptions": [
- "Sorts branches by name in descending order",
- "Sorts branches by name in ascending order",
- "Sorts branches by the most recent commit date in descending order",
- "Sorts branches by the most recent commit date in ascending order"
- ],
- "markdownDescription": "Specifies how branches are sorted in quick pick menus and views",
- "scope": "window"
- },
- "gitlens.sortTagsBy": {
- "type": "string",
- "default": "name:desc",
- "enum": [
- "name:desc",
- "name:asc"
- ],
- "enumDescriptions": [
- "Sorts tags by name in descending order",
- "Sorts tags by name in ascending order"
- ],
- "markdownDescription": "Specifies how tags are sorted in quick pick menus and views",
- "scope": "window"
- },
- "gitlens.statusBar.alignment": {
- "type": "string",
- "default": "right",
- "enum": [
- "left",
- "right"
- ],
- "enumDescriptions": [
- "Aligns to the left",
- "Aligns to the right"
- ],
- "markdownDescription": "Specifies the blame alignment in the status bar",
- "scope": "window"
- },
- "gitlens.statusBar.command": {
- "type": "string",
- "default": "gitlens.showQuickCommitDetails",
- "enum": [
- "gitlens.toggleFileBlame",
- "gitlens.diffWithPrevious",
- "gitlens.diffWithWorking",
- "gitlens.toggleCodeLens",
- "gitlens.showQuickCommitDetails",
- "gitlens.showQuickCommitFileDetails",
- "gitlens.showQuickFileHistory",
- "gitlens.showQuickRepoHistory"
- ],
- "enumDescriptions": [
- "Toggles file blame annotations",
- "Compares the current line commit with the previous",
- "Compares the current line commit with the working tree",
- "Toggles Git code lens",
- "Shows a commit details quick pick",
- "Shows a commit file details quick pick",
- "Shows a file history quick pick",
- "Shows a branch history quick pick"
- ],
- "markdownDescription": "Specifies the command to be executed when the blame status bar item is clicked",
- "scope": "window"
- },
- "gitlens.statusBar.dateFormat": {
- "type": "string",
- "default": null,
- "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats",
- "scope": "window"
- },
- "gitlens.statusBar.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to provide blame information in the status bar",
- "scope": "window"
- },
- "gitlens.statusBar.format": {
- "type": "string",
- "default": "${author}, ${agoOrDate}",
- "markdownDescription": "Specifies the format of the blame information in the status bar. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `#gitlens.statusBar.dateFormat#` setting",
- "scope": "window"
- },
- "gitlens.statusBar.reduceFlicker": {
- "type": "boolean",
- "default": false,
- "markdownDescription": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
- "scope": "window"
- },
- "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
- "type": "string",
- "default": "Unsaved changes (cannot determine recent change or authors)",
- "markdownDescription": "Specifies the string to be shown in place of both the _recent change_ and _authors_ code lens when there are unsaved changes",
- "scope": "window"
- },
- "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
- "type": "string",
- "default": "Unsaved changes (cannot determine recent change)",
- "markdownDescription": "Specifies the string to be shown in place of the _recent change_ code lens when there are unsaved changes",
- "scope": "window"
- },
- "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
- "type": "string",
- "default": "Unsaved changes (cannot determine authors)",
- "markdownDescription": "Specifies the string to be shown in place of the _authors_ code lens when there are unsaved changes",
- "scope": "window"
- },
- "gitlens.views.commitFileFormat": {
- "type": "string",
- "default": "${file}",
- "markdownDescription": "Specifies the format of a committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.commitFileDescriptionFormat": {
- "type": "string",
- "default": "${directory}${ ← originalPath}",
- "markdownDescription": "Specifies the description format of a committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.commitFormat": {
- "type": "string",
- "default": "${❰ tips ❱➤ }${message}",
- "markdownDescription": "Specifies the format of committed changes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.commitDescriptionFormat": {
- "type": "string",
- "default": "${changes • }${author}, ${agoOrDate}",
- "markdownDescription": "Specifies the description format of committed changes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.compare.avatars": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Compare_ view",
- "scope": "window"
- },
- "gitlens.views.compare.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show the _Compare_ view",
- "scope": "window"
- },
- "gitlens.views.compare.files.compact": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Compare_ view. Only applies when `#gitlens.views.compare.files.layout#` is set to `tree` or `auto`",
- "scope": "window"
- },
- "gitlens.views.compare.files.layout": {
- "type": "string",
- "default": "auto",
- "enum": [
- "auto",
- "list",
- "tree"
- ],
- "enumDescriptions": [
- "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.compare.files.threshold#` value and the number of files at each nesting level",
- "Displays files as a list",
- "Displays files as a tree"
- ],
- "markdownDescription": "Specifies how the _Compare_ view will display files",
- "scope": "window"
- },
- "gitlens.views.compare.files.threshold": {
- "type": "number",
- "default": 5,
- "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Compare_ view. Only applies when `#gitlens.views.compare.files.layout#` is set to `auto`",
- "scope": "window"
- },
- "gitlens.views.compare.location": {
- "type": "string",
- "default": "gitlens",
- "enum": [
- "gitlens",
- "explorer",
- "scm"
- ],
- "enumDescriptions": [
- "Adds to the GitLens side bar",
- "Adds to the Explorer side bar",
- "Adds to the Source Control side bar"
- ],
- "markdownDescription": "Specifies where to show the _Compare_ view",
- "scope": "window"
- },
- "gitlens.views.defaultItemLimit": {
- "type": "number",
- "default": 10,
- "markdownDescription": "Specifies the default number of items to show in a view list. Use 0 to specify no limit",
- "scope": "window"
- },
- "gitlens.views.pageItemLimit": {
- "type": "number",
- "default": 20,
- "markdownDescription": "Specifies the number of items to show in a each page when paginating a view list. Use 0 to specify no limit",
- "scope": "window"
- },
- "gitlens.views.fileHistory.avatars": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _File History_ view",
- "scope": "window"
- },
- "gitlens.views.fileHistory.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show the _File History_ view",
- "scope": "window"
- },
- "gitlens.views.fileHistory.location": {
- "type": "string",
- "default": "gitlens",
- "enum": [
- "gitlens",
- "explorer",
- "scm"
- ],
- "enumDescriptions": [
- "Adds to the GitLens side bar",
- "Adds to the Explorer side bar",
- "Adds to the Source Control side bar"
- ],
- "markdownDescription": "Specifies where to show the _File History_ view",
- "scope": "window"
- },
- "gitlens.views.lineHistory.avatars": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show avatar images instead of status icons in the _Line History_ view",
- "scope": "window"
- },
- "gitlens.views.lineHistory.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show the _Line History_ view",
- "scope": "window"
- },
- "gitlens.views.lineHistory.location": {
- "type": "string",
- "default": "gitlens",
- "enum": [
- "gitlens",
- "explorer",
- "scm"
- ],
- "enumDescriptions": [
- "Adds to the GitLens side bar",
- "Adds to the Explorer side bar",
- "Adds to the Source Control side bar"
- ],
- "markdownDescription": "Specifies where to show the _Line History_ view",
- "scope": "window"
- },
- "gitlens.views.repositories.autoRefresh": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to automatically refresh the _Repositories_ view when the repository or the file system changes",
- "scope": "window"
- },
- "gitlens.views.repositories.autoReveal": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to automatically reveal repositories in the _Repositories_ view when opening files",
- "scope": "window"
- },
- "gitlens.views.repositories.avatars": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Repositories_ view",
- "scope": "window"
- },
- "gitlens.views.repositories.branches.layout": {
- "type": "string",
- "default": "tree",
- "enum": [
- "list",
- "tree"
- ],
- "enumDescriptions": [
- "Displays branches as a list",
- "Displays branches as a tree when branch names contain slashes `/`"
- ],
- "markdownDescription": "Specifies how the _Repositories_ view will display branches",
- "scope": "window"
- },
- "gitlens.views.repositories.compact": {
- "type": "boolean",
- "default": false,
- "markdownDescription": "Specifies whether to show the _Repositories_ view in a compact display density",
- "scope": "window"
- },
- "gitlens.views.repositories.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show the _Repositories_ view",
- "scope": "window"
- },
- "gitlens.views.repositories.files.compact": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Repositories_ view. Only applies when `#gitlens.views.repositories.files.layout#` is set to `tree` or `auto`",
- "scope": "window"
- },
- "gitlens.views.repositories.files.layout": {
- "type": "string",
- "default": "auto",
- "enum": [
- "auto",
- "list",
- "tree"
- ],
- "enumDescriptions": [
- "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.repositories.files.threshold#` value and the number of files at each nesting level",
- "Displays files as a list",
- "Displays files as a tree"
- ],
- "markdownDescription": "Specifies how the _Repositories_ view will display files",
- "scope": "window"
- },
- "gitlens.views.repositories.files.threshold": {
- "type": "number",
- "default": 5,
- "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Repositories_ view. Only applies when `#gitlens.views.repositories.files.layout#` is set to `auto`",
- "scope": "window"
- },
- "gitlens.views.repositories.includeWorkingTree": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to include working tree file status for each repository in the _Repositories_ view",
- "scope": "window"
- },
- "gitlens.views.repositories.location": {
- "type": "string",
- "default": "gitlens",
- "enum": [
- "gitlens",
- "explorer",
- "scm"
- ],
- "enumDescriptions": [
- "Adds to the GitLens side bar",
- "Adds to the Explorer side bar",
- "Adds to the Source Control side bar"
- ],
- "markdownDescription": "Specifies where to show the _Repositories_ view",
- "scope": "window"
- },
- "gitlens.views.repositories.showBranchComparison": {
- "anyOf": [
- {
- "enum": [
- false
- ]
- },
- {
- "type": "string",
- "enum": [
- "branch",
- "working"
- ],
- "enumDescriptions": [
- "Compares the current branch to the user-selected reference",
- "Compares the working tree to the user-selected reference"
- ]
- }
- ],
- "default": "working",
- "markdownDescription": "Specifies whether to show a comparison of a user-selected reference (branch, tag. etc) to the current branch or the working tree in the _Repositories_ view",
- "scope": "window"
- },
- "gitlens.views.repositories.showTrackingBranch": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show the tracking branch when displaying local branches in the _Repositories_ view",
- "scope": "window"
- },
- "gitlens.views.search.avatars": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show avatar images instead of commit (or status) icons in the _Search Commits_ view",
- "scope": "window"
- },
- "gitlens.views.search.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show the _Search Commits_ view",
- "scope": "window"
- },
- "gitlens.views.search.files.compact": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to compact (flatten) unnecessary file nesting in the _Search Commits_ view. Only applies when `#gitlens.views.search.files.layout#` is set to `tree` or `auto`",
- "scope": "window"
- },
- "gitlens.views.search.files.layout": {
- "type": "string",
- "default": "auto",
- "enum": [
- "auto",
- "list",
- "tree"
- ],
- "enumDescriptions": [
- "Automatically switches between displaying files as a `tree` or `list` based on the `#gitlens.views.search.files.threshold#` value and the number of files at each nesting level",
- "Displays files as a list",
- "Displays files as a tree"
- ],
- "markdownDescription": "Specifies how the _Search Commits_ view will display files",
- "scope": "window"
- },
- "gitlens.views.search.files.threshold": {
- "type": "number",
- "default": 5,
- "markdownDescription": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Search Commits_ view. Only applies when `#gitlens.views.search.files.layout#` is set to `auto`",
- "scope": "window"
- },
- "gitlens.views.search.location": {
- "type": "string",
- "default": "gitlens",
- "enum": [
- "gitlens",
- "explorer",
- "scm"
- ],
- "enumDescriptions": [
- "Adds to the GitLens side bar",
- "Adds to the Explorer side bar",
- "Adds to the Source Control side bar"
- ],
- "markdownDescription": "Specifies where to show the _Search Commits_ view",
- "scope": "window"
- },
- "gitlens.views.showRelativeDateMarkers": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to show relative date markers (_Less than a week ago_, _Over a week ago_, _Over a month ago_, etc) on revision (commit) histories in the views",
- "scope": "window"
- },
- "gitlens.views.stashFileFormat": {
- "type": "string",
- "default": "${file}",
- "markdownDescription": "Specifies the format of a stashed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.stashFileDescriptionFormat": {
- "type": "string",
- "default": "${directory}${ ← originalPath}",
- "markdownDescription": "Specifies the description format of a stashed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.stashFormat": {
- "type": "string",
- "default": "${message}",
- "markdownDescription": "Specifies the format of stashes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.stashDescriptionFormat": {
- "type": "string",
- "default": "${changes • }${agoOrDate}",
- "markdownDescription": "Specifies the description format of stashes in the views. See [_Commit Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.statusFileFormat": {
- "type": "string",
- "default": "${working }${file}",
- "markdownDescription": "Specifies the format of the status of a working or committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.views.statusFileDescriptionFormat": {
- "type": "string",
- "default": "${directory}${ ← originalPath}",
- "markdownDescription": "Specifies the description format of the status of a working or committed file in the views. See [_File Tokens_](https://github.com/eamodio/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs",
- "scope": "window"
- },
- "gitlens.advanced.abbreviatedShaLength": {
- "type": "number",
- "default": "7",
- "markdownDescription": "Specifies the length of abbreviated commit ids (shas)",
- "scope": "window"
- },
- "gitlens.advanced.blame.customArguments": {
- "type": "array",
- "default": null,
- "items": {
- "type": "string"
- },
- "markdownDescription": "Specifies additional arguments to pass to the `git blame` command",
- "scope": "resource"
- },
- "gitlens.advanced.blame.delayAfterEdit": {
- "type": "number",
- "default": 5000,
- "markdownDescription": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
- "scope": "window"
- },
- "gitlens.advanced.blame.sizeThresholdAfterEdit": {
- "type": "number",
- "default": 5000,
- "markdownDescription": "Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum",
- "scope": "window"
- },
- "gitlens.advanced.caching.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether git output will be cached — changing the default is not recommended",
- "scope": "window"
- },
- "gitlens.advanced.fileHistoryFollowsRenames": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether file histories will follow renames — will affect how merge commits are shown in histories",
- "scope": "window"
- },
- "gitlens.advanced.maxListItems": {
- "type": "number",
- "default": 200,
- "markdownDescription": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
- "scope": "window"
- },
- "gitlens.advanced.maxSearchItems": {
- "type": "number",
- "default": 200,
- "markdownDescription": "Specifies the maximum number of items to show in a search. Use 0 to specify no maximum",
- "scope": "window"
- },
- "gitlens.advanced.messages": {
- "type": "object",
- "default": {
- "suppressCommitHasNoPreviousCommitWarning": false,
- "suppressCommitNotFoundWarning": false,
- "suppressFileNotUnderSourceControlWarning": false,
- "suppressGitDisabledWarning": false,
- "suppressGitVersionWarning": false,
- "suppressLineUncommittedWarning": false,
- "suppressNoRepositoryWarning": false,
- "suppressSupportGitLensNotification": false
- },
- "properties": {
- "suppressCommitHasNoPreviousCommitWarning": {
- "type": "boolean",
- "default": false
- },
- "suppressCommitNotFoundWarning": {
- "type": "boolean",
- "default": false
- },
- "suppressFileNotUnderSourceControlWarning": {
- "type": "boolean",
- "default": false
- },
- "suppressGitDisabledWarning": {
- "type": "boolean",
- "default": false
- },
- "suppressGitVersionWarning": {
- "type": "boolean",
- "default": false
- },
- "suppressLineUncommittedWarning": {
- "type": "boolean",
- "default": false
- },
- "suppressNoRepositoryWarning": {
- "type": "boolean",
- "default": false
- },
- "suppressSupportGitLensNotification": {
- "type": "boolean",
- "default": false
- }
- },
- "markdownDescription": "Specifies which messages should be suppressed",
- "scope": "window"
- },
- "gitlens.advanced.quickPick.closeOnFocusOut": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to dismiss quick pick menus when focus is lost (if not, press `ESC` to dismiss)",
- "scope": "window"
- },
- "gitlens.advanced.repositorySearchDepth": {
- "type": "number",
- "default": 1,
- "markdownDescription": "Specifies how many folders deep to search for repositories",
- "scope": "resource"
- },
- "gitlens.advanced.similarityThreshold": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "markdownDescription": "Specifies the amount (percent) of similarity a deleted and added file pair must have to be considered a rename",
- "scope": "window"
- },
- "gitlens.advanced.telemetry.enabled": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `#telemetry.enableTelemetry#` setting",
- "scope": "window"
- },
- "gitlens.advanced.useSymmetricDifferenceNotation": {
- "type": "boolean",
- "default": true,
- "markdownDescription": "Specifies whether to use the symmetric difference (three-dot) notation or the range (two-dot) notation for comparisons. See the [Git docs](https://git-scm.com/docs/gitrevisions#_dotted_range_notations)",
- "scope": "window"
- }
- }
- },
- "colors": [
- {
- "id": "gitlens.gutterBackgroundColor",
- "description": "Specifies the background color of the gutter blame annotations",
- "defaults": {
- "dark": "#FFFFFF13",
- "light": "#0000000C",
- "highContrast": "#FFFFFF13"
- }
- },
- {
- "id": "gitlens.gutterForegroundColor",
- "description": "Specifies the foreground color of the gutter blame annotations",
- "defaults": {
- "dark": "#BEBEBE",
- "light": "#747474",
- "highContrast": "#BEBEBE"
- }
- },
- {
- "id": "gitlens.gutterUncommittedForegroundColor",
- "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
- "defaults": {
- "dark": "#00BCF299",
- "light": "#00BCF299",
- "highContrast": "#00BCF2FF"
- }
- },
- {
- "id": "gitlens.trailingLineBackgroundColor",
- "description": "Specifies the background color of the blame annotation for the current line",
- "defaults": {
- "dark": "#00000000",
- "light": "#00000000",
- "highContrast": "#00000000"
- }
- },
- {
- "id": "gitlens.trailingLineForegroundColor",
- "description": "Specifies the foreground color of the blame annotation for the current line",
- "defaults": {
- "dark": "#99999959",
- "light": "#99999959",
- "highContrast": "#99999999"
- }
- },
- {
- "id": "gitlens.lineHighlightBackgroundColor",
- "description": "Specifies the background color of the associated line highlights in blame annotations",
- "defaults": {
- "dark": "#00BCF233",
- "light": "#00BCF233",
- "highContrast": "#00BCF233"
- }
- },
- {
- "id": "gitlens.lineHighlightOverviewRulerColor",
- "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
- "defaults": {
- "dark": "#00BCF299",
- "light": "#00BCF299",
- "highContrast": "#00BCF299"
- }
- }
- ],
- "commands": [
- {
- "command": "gitlens.supportGitLens",
- "title": "Support GitLens ❤",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-heart.svg",
- "light": "images/light/icon-heart.svg"
- }
- },
- {
- "command": "gitlens.showSettingsPage",
- "title": "Open Settings",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-gear.svg",
- "light": "images/light/icon-gear.svg"
- }
- },
- {
- "command": "gitlens.showSettingsPage#repositories-view",
- "title": "Open Settings",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-gear.svg",
- "light": "images/light/icon-gear.svg"
- }
- },
- {
- "command": "gitlens.showSettingsPage#file-history-view",
- "title": "Open Settings",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-gear.svg",
- "light": "images/light/icon-gear.svg"
- }
- },
- {
- "command": "gitlens.showSettingsPage#line-history-view",
- "title": "Open Settings",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-gear.svg",
- "light": "images/light/icon-gear.svg"
- }
- },
- {
- "command": "gitlens.showSettingsPage#search-commits-view",
- "title": "Open Settings",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-gear.svg",
- "light": "images/light/icon-gear.svg"
- }
- },
- {
- "command": "gitlens.showSettingsPage#compare-view",
- "title": "Open Settings",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-gear.svg",
- "light": "images/light/icon-gear.svg"
- }
- },
- {
- "command": "gitlens.showWelcomePage",
- "title": "Welcome",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showCompareView",
- "title": "Show Compare View",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showFileHistoryView",
- "title": "Show File History View",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showLineHistoryView",
- "title": "Show Line History View",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showRepositoriesView",
- "title": "Show Repositories View",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showSearchView",
- "title": "Show Search Commits View",
- "category": "GitLens"
- },
- {
- "command": "gitlens.diffDirectory",
- "title": "Directory Compare Working Tree with...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.diffDirectoryWithHead",
- "title": "Directory Compare All Changes",
- "category": "GitLens"
- },
- {
- "command": "gitlens.diffHeadWith",
- "title": "Compare HEAD with...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.diffWorkingWith",
- "title": "Compare Working Tree with...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.diffWithRef",
- "title": "Open Changes with...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.diffWithNext",
- "title": "Open Changes with Next Revision",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-next-commit.svg",
- "light": "images/light/icon-next-commit.svg"
- }
- },
- {
- "command": "gitlens.diffWithNextInDiff",
- "title": "Open Changes with Next Revision",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-next-commit.svg",
- "light": "images/light/icon-next-commit.svg"
- }
- },
- {
- "command": "gitlens.diffWithPrevious",
- "title": "Open Changes with Previous Revision",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-prev-commit.svg",
- "light": "images/light/icon-prev-commit.svg"
- }
- },
- {
- "command": "gitlens.diffWithPreviousInDiff",
- "title": "Open Changes with Previous Revision",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-prev-commit.svg",
- "light": "images/light/icon-prev-commit.svg"
- }
- },
- {
- "command": "gitlens.diffLineWithPrevious",
- "title": "Open Line Changes with Previous Revision",
- "category": "GitLens"
- },
- {
- "command": "gitlens.diffWithRevision",
- "title": "Open Changes with Revision...",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-prev-commit-menu.svg",
- "light": "images/light/icon-prev-commit-menu.svg"
- }
- },
- {
- "command": "gitlens.diffWithWorking",
- "title": "Open Changes with Working File",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-ref-working.svg",
- "light": "images/light/icon-compare-ref-working.svg"
- }
- },
- {
- "command": "gitlens.diffWithWorkingInDiff",
- "title": "Open Changes with Working File",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-ref-working.svg",
- "light": "images/light/icon-compare-ref-working.svg"
- }
- },
- {
- "command": "gitlens.diffLineWithWorking",
- "title": "Open Line Changes with Working File",
- "category": "GitLens"
- },
- {
- "command": "gitlens.toggleFileBlame",
- "title": "Toggle File Blame Annotations",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-git.svg",
- "light": "images/light/icon-git.svg"
- }
- },
- {
- "command": "gitlens.clearFileAnnotations",
- "title": "Clear File Annotations",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-git-orange.svg",
- "light": "images/light/icon-git-orange.svg"
- }
- },
- {
- "command": "gitlens.computingFileAnnotations",
- "title": "Computing File Annotations...",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-git-progress.svg",
- "light": "images/light/icon-git-progress.svg"
- }
- },
- {
- "command": "gitlens.toggleFileHeatmap",
- "title": "Toggle File Heatmap Annotations",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-git.svg",
- "light": "images/light/icon-git.svg"
- }
- },
- {
- "command": "gitlens.toggleFileRecentChanges",
- "title": "Toggle Recent File Changes Annotations",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-git.svg",
- "light": "images/light/icon-git.svg"
- }
- },
- {
- "command": "gitlens.toggleLineBlame",
- "title": "Toggle Line Blame Annotations",
- "category": "GitLens"
- },
- {
- "command": "gitlens.toggleCodeLens",
- "title": "Toggle Git Code Lens",
- "category": "GitLens"
- },
- {
- "command": "gitlens.gitCommands",
- "title": "Git Commands",
- "category": "GitLens"
- },
- {
- "command": "gitlens.switchMode",
- "title": "Switch Mode",
- "category": "GitLens"
- },
- {
- "command": "gitlens.toggleReviewMode",
- "title": "Toggle Review Mode",
- "category": "GitLens"
- },
- {
- "command": "gitlens.toggleZenMode",
- "title": "Toggle Zen Mode",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showCommitSearch",
- "title": "Search Commits",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-search.svg",
- "light": "images/light/icon-search.svg"
- }
- },
- {
- "command": "gitlens.showLastQuickPick",
- "title": "Show Last Opened Quick Pick",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showCommitInView",
- "title": "Show Commit in View",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showFileHistoryInView",
- "title": "Show File History in View",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showFolderHistory",
- "title": "Show Folder History",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showQuickCommitDetails",
- "title": "Show Commit Details",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showQuickCommitFileDetails",
- "title": "Show Commit Details",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showQuickRevisionDetails",
- "title": "Show Revision Details",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-commit.svg",
- "light": "images/light/icon-commit.svg"
- }
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "title": "Show File History",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showQuickBranchHistory",
- "title": "Show Branch History",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showQuickRepoHistory",
- "title": "Show Current Branch History",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showQuickRepoStatus",
- "title": "Show Repository Status",
- "category": "GitLens"
- },
- {
- "command": "gitlens.showQuickStashList",
- "title": "Show Stashes",
- "category": "GitLens"
- },
- {
- "command": "gitlens.copyMessageToClipboard",
- "title": "Copy Commit Message to Clipboard",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-copy-message.svg",
- "light": "images/light/icon-copy-message.svg"
- }
- },
- {
- "command": "gitlens.copyRemoteFileUrlToClipboard",
- "title": "Copy Remote Url to Clipboard",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-copy-link.svg",
- "light": "images/light/icon-copy-link.svg"
- }
- },
- {
- "command": "gitlens.copyShaToClipboard",
- "title": "Copy Commit ID to Clipboard",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-copy.svg",
- "light": "images/light/icon-copy.svg"
- }
- },
- {
- "command": "gitlens.closeUnchangedFiles",
- "title": "Close Unchanged Files",
- "category": "GitLens"
- },
- {
- "command": "gitlens.openChangedFiles",
- "title": "Open Changed Files",
- "category": "GitLens"
- },
- {
- "command": "gitlens.openBranchesInRemote",
- "title": "Open Branches on Remote",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-link.svg",
- "light": "images/light/icon-link.svg"
- }
- },
- {
- "command": "gitlens.openBranchInRemote",
- "title": "Open Branch on Remote",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-link.svg",
- "light": "images/light/icon-link.svg"
- }
- },
- {
- "command": "gitlens.openCommitInRemote",
- "title": "Open Commit on Remote",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-link.svg",
- "light": "images/light/icon-link.svg"
- }
- },
- {
- "command": "gitlens.openFileInRemote",
- "title": "Open File on Remote",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-link.svg",
- "light": "images/light/icon-link.svg"
- }
- },
- {
- "command": "gitlens.openFileRevision",
- "title": "Open Revision...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.openFileRevisionFrom",
- "title": "Open Revision from...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.openRepoInRemote",
- "title": "Open Repository on Remote",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-link.svg",
- "light": "images/light/icon-link.svg"
- }
- },
- {
- "command": "gitlens.openRevisionFile",
- "title": "Open Revision",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-open-revision.svg",
- "light": "images/light/icon-open-revision.svg"
- }
- },
- {
- "command": "gitlens.openWorkingFile",
- "title": "Open Working File",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-open-working-file.svg",
- "light": "images/light/icon-open-working-file.svg"
- }
- },
- {
- "command": "gitlens.stashApply",
- "title": "Apply Stash",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-stash-pop.svg",
- "light": "images/light/icon-stash-pop.svg"
- }
- },
- {
- "command": "gitlens.stashDelete",
- "title": "Delete Stash",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-delete.svg",
- "light": "images/light/icon-delete.svg"
- }
- },
- {
- "command": "gitlens.stashSave",
- "title": "Stash All Changes",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-stash-save.svg",
- "light": "images/light/icon-stash-save.svg"
- }
- },
- {
- "command": "gitlens.stashSaveFiles",
- "title": "Stash Changes",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-stash-save.svg",
- "light": "images/light/icon-stash-save.svg"
- }
- },
- {
- "command": "gitlens.externalDiff",
- "title": "Open Changes (with difftool)",
- "category": "GitLens"
- },
- {
- "command": "gitlens.externalDiffAll",
- "title": "Open All Changes (with difftool)",
- "category": "GitLens"
- },
- {
- "command": "gitlens.resetSuppressedWarnings",
- "title": "Reset Suppressed Warnings",
- "category": "GitLens"
- },
- {
- "command": "gitlens.inviteToLiveShare",
- "title": "Invite to Live Share",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-link-color.svg",
- "light": "images/light/icon-link-color.svg"
- }
- },
- {
- "command": "gitlens.exploreRepoAtRevision",
- "title": "Explore Repository from Here",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-open-folder.svg",
- "light": "images/light/icon-open-folder.svg"
- }
- },
- {
- "command": "gitlens.views.exploreRepoAtRevision",
- "title": "Explore Repository from Here",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-open-folder.svg",
- "light": "images/light/icon-open-folder.svg"
- }
- },
- {
- "command": "gitlens.fetchRepositories",
- "title": "Fetch Repositories",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-sync.svg",
- "light": "images/light/icon-sync.svg"
- }
- },
- {
- "command": "gitlens.pullRepositories",
- "title": "Pull Repositories",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-pull.svg",
- "light": "images/light/icon-pull.svg"
- }
- },
- {
- "command": "gitlens.pushRepositories",
- "title": "Push Repositories",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-push.svg",
- "light": "images/light/icon-push.svg"
- }
- },
- {
- "command": "gitlens.views.addRemote",
- "title": "Add Remote",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-add.svg",
- "light": "images/light/icon-add.svg"
- }
- },
- {
- "command": "gitlens.views.restore",
- "title": "Restore",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-checkout.svg",
- "light": "images/light/icon-checkout.svg"
- }
- },
- {
- "command": "gitlens.views.switchToBranch",
- "title": "Switch to Branch",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-checkout.svg",
- "light": "images/light/icon-checkout.svg"
- }
- },
- {
- "command": "gitlens.views.switchToCommit",
- "title": "Switch to Commit",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-checkout.svg",
- "light": "images/light/icon-checkout.svg"
- }
- },
- {
- "command": "gitlens.views.switchToTag",
- "title": "Switch to Tag",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-checkout.svg",
- "light": "images/light/icon-checkout.svg"
- }
- },
- {
- "command": "gitlens.views.copy",
- "title": "Copy",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.repositories.copy",
- "title": "Copy",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.fileHistory.copy",
- "title": "Copy",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.lineHistory.copy",
- "title": "Copy",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compare.copy",
- "title": "Copy",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.search.copy",
- "title": "Copy",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.pruneRemote",
- "title": "Prune",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.fetch",
- "title": "Fetch",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-sync.svg",
- "light": "images/light/icon-sync.svg"
- }
- },
- {
- "command": "gitlens.views.pull",
- "title": "Pull",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-pull.svg",
- "light": "images/light/icon-pull.svg"
- }
- },
- {
- "command": "gitlens.views.push",
- "title": "Push",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-push.svg",
- "light": "images/light/icon-push.svg"
- }
- },
- {
- "command": "gitlens.views.pushWithForce",
- "title": "Push (force)",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-push-force.svg",
- "light": "images/light/icon-push-force.svg"
- }
- },
- {
- "command": "gitlens.views.openInTerminal",
- "title": "Open in Terminal",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.setAsDefault",
- "title": "Set as Default",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.unsetAsDefault",
- "title": "Unset as Default",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.stageDirectory",
- "title": "Stage All Changes",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-add.svg",
- "light": "images/light/icon-add.svg"
- }
- },
- {
- "command": "gitlens.views.stageFile",
- "title": "Stage Changes",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-add.svg",
- "light": "images/light/icon-add.svg"
- }
- },
- {
- "command": "gitlens.views.unstageDirectory",
- "title": "Unstage All Changes",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-minus.svg",
- "light": "images/light/icon-minus.svg"
- }
- },
- {
- "command": "gitlens.views.unstageFile",
- "title": "Unstage Changes",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-minus.svg",
- "light": "images/light/icon-minus.svg"
- }
- },
- {
- "command": "gitlens.views.star",
- "title": "Add to Favorites",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-star.svg",
- "light": "images/light/icon-star.svg"
- }
- },
- {
- "command": "gitlens.views.unstar",
- "title": "Remove from Favorites",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-star-filled.svg",
- "light": "images/light/icon-star-filled.svg"
- }
- },
- {
- "command": "gitlens.views.openDirectoryDiff",
- "title": "Open Directory Compare",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.openDirectoryDiffWithWorking",
- "title": "Open Directory Compare with Working Tree",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.openChanges",
- "title": "Open Changes",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.openChangesWithWorking",
- "title": "Open Changes with Working File",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.openFile",
- "title": "Open File",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-open-file.svg",
- "light": "images/light/icon-open-file.svg"
- }
- },
- {
- "command": "gitlens.views.openFileRevision",
- "title": "Open Revision",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-open-file.svg",
- "light": "images/light/icon-open-file.svg"
- }
- },
- {
- "command": "gitlens.views.openFileRevisionInRemote",
- "title": "Open Revision on Remote",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-link.svg",
- "light": "images/light/icon-link.svg"
- }
- },
- {
- "command": "gitlens.views.openChangedFiles",
- "title": "Open Files",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.openChangedFileChanges",
- "title": "Open All Changes",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.openChangedFileChangesWithWorking",
- "title": "Open All Changes with Working Tree",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.openChangedFileRevisions",
- "title": "Open Revisions",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.applyChanges",
- "title": "Apply Changes",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.closeRepository",
- "title": "Close Repository",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compareAncestryWithWorking",
- "title": "Compare Ancestry with Working Tree",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compareWithHead",
- "title": "Compare with HEAD",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-refs.svg",
- "light": "images/light/icon-compare-refs.svg"
- }
- },
- {
- "command": "gitlens.views.compareWithRemote",
- "title": "Compare with Remote",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-ref-remote.svg",
- "light": "images/light/icon-compare-ref-remote.svg"
- }
- },
- {
- "command": "gitlens.views.compareWithSelected",
- "title": "Compare with Selected",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.selectForCompare",
- "title": "Select for Compare",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compareFileWithSelected",
- "title": "Compare with Selected",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.selectFileForCompare",
- "title": "Select for Compare",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compareWithWorking",
- "title": "Compare with Working Tree",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-ref-working.svg",
- "light": "images/light/icon-compare-ref-working.svg"
- }
- },
- {
- "command": "gitlens.views.contributor.addCoauthoredBy",
- "title": "Add as Co-author",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.contributor.copyToClipboard",
- "title": "Copy to Clipboard",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-copy.svg",
- "light": "images/light/icon-copy.svg"
- }
- },
- {
- "command": "gitlens.views.setComparisonToTwoDot",
- "title": "Switch to Two-dot Comparison",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-twodot.svg",
- "light": "images/light/icon-compare-twodot.svg"
- }
- },
- {
- "command": "gitlens.views.setComparisonToThreeDot",
- "title": "Switch to Three-dot Comparison",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-threedot.svg",
- "light": "images/light/icon-compare-threedot.svg"
- }
- },
- {
- "command": "gitlens.views.terminalCreateBranch",
- "title": "Create Branch (via Terminal)...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.terminalDeleteBranch",
- "title": "Delete Branch (via Terminal)",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.cherryPick",
- "title": "Cherry Pick Commit",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.mergeBranchInto",
- "title": "Merge Branch into Current...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.rebaseOntoBranch",
- "title": "Rebase Current onto Branch...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.rebaseOntoCommit",
- "title": "Rebase Current onto Commit...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.rebaseOntoUpstream",
- "title": "Rebase Current onto Upstream...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.reset",
- "title": "Reset to Commit",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.revert",
- "title": "Revert Commit",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.terminalPushCommit",
- "title": "Push to Commit (via Terminal)",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.terminalRemoveRemote",
- "title": "Remove Remote (via Terminal)",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.terminalCreateTag",
- "title": "Create Tag (via Terminal)...",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.terminalDeleteTag",
- "title": "Delete Tag (via Terminal)",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.repositories.refresh",
- "title": "Refresh",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-refresh.svg",
- "light": "images/light/icon-refresh.svg"
- }
- },
- {
- "command": "gitlens.views.repositories.setBranchComparisonToWorking",
- "title": "Switch to Working Tree Comparison",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-ref-working.svg",
- "light": "images/light/icon-compare-ref-working.svg"
- }
- },
- {
- "command": "gitlens.views.repositories.setBranchComparisonToBranch",
- "title": "Switch to Branch Comparison",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-refs.svg",
- "light": "images/light/icon-compare-refs.svg"
- }
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToAuto",
- "title": "Automatic Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToList",
- "title": "List Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToTree",
- "title": "Tree Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.repositories.setAutoRefreshToOn",
- "title": "Enable Automatic Refresh",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.repositories.setAutoRefreshToOff",
- "title": "Disable Automatic Refresh",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.fileHistory.refresh",
- "title": "Refresh",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-refresh.svg",
- "light": "images/light/icon-refresh.svg"
- }
- },
- {
- "command": "gitlens.views.fileHistory.changeBase",
- "title": "Change Base...",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-history.svg",
- "light": "images/light/icon-history.svg"
- }
- },
- {
- "command": "gitlens.views.fileHistory.setEditorFollowingOn",
- "title": "Resume File Tracking",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-location.svg",
- "light": "images/light/icon-location.svg"
- }
- },
- {
- "command": "gitlens.views.fileHistory.setEditorFollowingOff",
- "title": "Pause File Tracking",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-location-filled.svg",
- "light": "images/light/icon-location-filled.svg"
- }
- },
- {
- "command": "gitlens.views.fileHistory.setRenameFollowingOn",
- "title": "Follow Renames",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.fileHistory.setRenameFollowingOff",
- "title": "Don't Follow Renames",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.lineHistory.refresh",
- "title": "Refresh",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-refresh.svg",
- "light": "images/light/icon-refresh.svg"
- }
- },
- {
- "command": "gitlens.views.lineHistory.changeBase",
- "title": "Change Base...",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-history.svg",
- "light": "images/light/icon-history.svg"
- }
- },
- {
- "command": "gitlens.views.lineHistory.setEditorFollowingOn",
- "title": "Resume Line Tracking",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-location.svg",
- "light": "images/light/icon-location.svg"
- }
- },
- {
- "command": "gitlens.views.lineHistory.setEditorFollowingOff",
- "title": "Pause Line Tracking",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-location-filled.svg",
- "light": "images/light/icon-location-filled.svg"
- }
- },
- {
- "command": "gitlens.views.lineHistory.setRenameFollowingOn",
- "title": "Follow Renames",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.lineHistory.setRenameFollowingOff",
- "title": "Don't Follow Renames",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compare.selectForCompare",
- "title": "Compare References...",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-compare-refs.svg",
- "light": "images/light/icon-compare-refs.svg"
- }
- },
- {
- "command": "gitlens.views.compare.clear",
- "title": "Clear Results",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-clear.svg",
- "light": "images/light/icon-clear.svg"
- }
- },
- {
- "command": "gitlens.views.compare.refresh",
- "title": "Refresh",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-refresh.svg",
- "light": "images/light/icon-refresh.svg"
- }
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToAuto",
- "title": "Automatic Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToList",
- "title": "List Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToTree",
- "title": "Tree Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.compare.setKeepResultsToOn",
- "title": "Keep Results",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-lock.svg",
- "light": "images/light/icon-lock.svg"
- }
- },
- {
- "command": "gitlens.views.compare.setKeepResultsToOff",
- "title": "Keep Results",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-locked.svg",
- "light": "images/light/icon-locked.svg"
- }
- },
- {
- "command": "gitlens.views.compare.pinComparison",
- "title": "Pin Comparison",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-pin.svg",
- "light": "images/light/icon-pin.svg"
- }
- },
- {
- "command": "gitlens.views.compare.unpinComparison",
- "title": "Unpin Comparison",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-unpin.svg",
- "light": "images/light/icon-unpin.svg"
- }
- },
- {
- "command": "gitlens.views.compare.swapComparison",
- "title": "Swap Comparison",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-swap.svg",
- "light": "images/light/icon-swap.svg"
- }
- },
- {
- "command": "gitlens.views.search.searchCommits",
- "title": "Search Commits",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-search.svg",
- "light": "images/light/icon-search.svg"
- }
- },
- {
- "command": "gitlens.views.search.clear",
- "title": "Clear Results",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-clear.svg",
- "light": "images/light/icon-clear.svg"
- }
- },
- {
- "command": "gitlens.views.search.refresh",
- "title": "Refresh",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-refresh.svg",
- "light": "images/light/icon-refresh.svg"
- }
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToAuto",
- "title": "Automatic Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToList",
- "title": "List Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToTree",
- "title": "Tree Layout",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.search.setKeepResultsToOn",
- "title": "Keep Results",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-lock.svg",
- "light": "images/light/icon-lock.svg"
- }
- },
- {
- "command": "gitlens.views.search.setKeepResultsToOff",
- "title": "Keep Results",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-locked.svg",
- "light": "images/light/icon-locked.svg"
- }
- },
- {
- "command": "gitlens.views.dismissNode",
- "title": "Dismiss",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-close.svg",
- "light": "images/light/icon-close.svg"
- }
- },
- {
- "command": "gitlens.views.expandNode",
- "title": "Expand",
- "category": "GitLens"
- },
- {
- "command": "gitlens.views.refreshNode",
- "title": "Refresh",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-refresh.svg",
- "light": "images/light/icon-refresh.svg"
- }
- },
- {
- "command": "gitlens.views.showMoreChildren",
- "title": "Show More",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-unfold.svg",
- "light": "images/light/icon-unfold.svg"
- }
- },
- {
- "command": "gitlens.views.showAllChildren",
- "title": "Show All",
- "category": "GitLens",
- "icon": {
- "dark": "images/dark/icon-unfold.svg",
- "light": "images/light/icon-unfold.svg"
- }
- }
- ],
- "menus": {
- "commandPalette": [
- {
- "command": "gitlens.showSettingsPage#repositories-view",
- "when": "false"
- },
- {
- "command": "gitlens.showSettingsPage#file-history-view",
- "when": "false"
- },
- {
- "command": "gitlens.showSettingsPage#line-history-view",
- "when": "false"
- },
- {
- "command": "gitlens.showSettingsPage#search-commits-view",
- "when": "false"
- },
- {
- "command": "gitlens.showSettingsPage#compare-view",
- "when": "false"
- },
- {
- "command": "gitlens.showCompareView",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showFileHistoryView",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showLineHistoryView",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showRepositoriesView",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showSearchView",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.diffDirectory",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.diffDirectoryWithHead",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.diffHeadWith",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.diffWorkingWith",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.diffWithRef",
- "when": "gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffWithNext",
- "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithNextInDiff",
- "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithPrevious",
- "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffWithPreviousInDiff",
- "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffLineWithPrevious",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.diffWithRevision",
- "when": "gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffWithWorking",
- "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithWorkingInDiff",
- "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffLineWithWorking",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.externalDiff",
- "when": "gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.externalDiffAll",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.toggleFileBlame",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.clearFileAnnotations",
- "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed"
- },
- {
- "command": "gitlens.computingFileAnnotations",
- "when": "false"
- },
- {
- "command": "gitlens.toggleFileHeatmap",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.toggleFileRecentChanges",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.toggleLineBlame",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.toggleCodeLens",
- "when": "gitlens:enabled && gitlens:canToggleCodeLens"
- },
- {
- "command": "gitlens.gitCommands",
- "when": "gitlens:enabled && !gitlens:readonly"
- },
- {
- "command": "gitlens.switchMode",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.toggleReviewMode",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.toggleZenMode",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showCommitSearch",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showLastQuickPick",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showCommitInView",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.showFileHistoryInView",
- "when": "gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.showFolderHistory",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickCommitDetails",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.showQuickCommitFileDetails",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.showQuickRevisionDetails",
- "when": "gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "when": "gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.showQuickBranchHistory",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickRepoHistory",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickRepoStatus",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickStashList",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.copyMessageToClipboard",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.copyRemoteFileUrlToClipboard",
- "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
- },
- {
- "command": "gitlens.copyShaToClipboard",
- "when": "gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.closeUnchangedFiles",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.openChangedFiles",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.openBranchesInRemote",
- "when": "gitlens:hasRemotes"
- },
- {
- "command": "gitlens.openBranchInRemote",
- "when": "gitlens:hasRemotes"
- },
- {
- "command": "gitlens.openCommitInRemote",
- "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
- },
- {
- "command": "gitlens.openFileInRemote",
- "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
- },
- {
- "command": "gitlens.openFileRevision",
- "when": "gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.openFileRevisionFrom",
- "when": "gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.openRepoInRemote",
- "when": "gitlens:hasRemotes"
- },
- {
- "command": "gitlens.openRevisionFile",
- "when": "gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.openWorkingFile",
- "when": "gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.stashApply",
- "when": "gitlens:enabled && !gitlens:readonly"
- },
- {
- "command": "gitlens.stashDelete",
- "when": "false"
- },
- {
- "command": "gitlens.stashSave",
- "when": "gitlens:enabled && !gitlens:readonly"
- },
- {
- "command": "gitlens.stashSaveFiles",
- "when": "false"
- },
- {
- "command": "gitlens.resetSuppressedWarnings",
- "when": "gitlens:enabled"
- },
- {
- "command": "gitlens.inviteToLiveShare",
- "when": "false"
- },
- {
- "command": "gitlens.exploreRepoAtRevision",
- "when": "gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.views.exploreRepoAtRevision",
- "when": "false"
- },
- {
- "command": "gitlens.fetchRepositories",
- "when": "gitlens:hasRemotes && !gitlens:readonly"
- },
- {
- "command": "gitlens.pullRepositories",
- "when": "gitlens:hasRemotes && !gitlens:readonly"
- },
- {
- "command": "gitlens.pushRepositories",
- "when": "gitlens:hasRemotes && !gitlens:readonly"
- },
- {
- "command": "gitlens.views.addRemote",
- "when": "false"
- },
- {
- "command": "gitlens.views.restore",
- "when": "false"
- },
- {
- "command": "gitlens.views.switchToBranch",
- "when": "false"
- },
- {
- "command": "gitlens.views.switchToCommit",
- "when": "false"
- },
- {
- "command": "gitlens.views.switchToTag",
- "when": "false"
- },
- {
- "command": "gitlens.views.copy",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.copy",
- "when": "false"
- },
- {
- "command": "gitlens.views.fileHistory.copy",
- "when": "false"
- },
- {
- "command": "gitlens.views.lineHistory.copy",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.copy",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.copy",
- "when": "false"
- },
- {
- "command": "gitlens.views.pruneRemote",
- "when": "false"
- },
- {
- "command": "gitlens.views.fetch",
- "when": "false"
- },
- {
- "command": "gitlens.views.pull",
- "when": "false"
- },
- {
- "command": "gitlens.views.push",
- "when": "false"
- },
- {
- "command": "gitlens.views.pushWithForce",
- "when": "false"
- },
- {
- "command": "gitlens.views.openInTerminal",
- "when": "false"
- },
- {
- "command": "gitlens.views.setAsDefault",
- "when": "false"
- },
- {
- "command": "gitlens.views.unsetAsDefault",
- "when": "false"
- },
- {
- "command": "gitlens.views.stageDirectory",
- "when": "false"
- },
- {
- "command": "gitlens.views.stageFile",
- "when": "false"
- },
- {
- "command": "gitlens.views.unstageDirectory",
- "when": "false"
- },
- {
- "command": "gitlens.views.unstageFile",
- "when": "false"
- },
- {
- "command": "gitlens.views.star",
- "when": "false"
- },
- {
- "command": "gitlens.views.unstar",
- "when": "false"
- },
- {
- "command": "gitlens.views.openChanges",
- "when": "false"
- },
- {
- "command": "gitlens.views.openDirectoryDiff",
- "when": "false"
- },
- {
- "command": "gitlens.views.openDirectoryDiffWithWorking",
- "when": "false"
- },
- {
- "command": "gitlens.views.openChangesWithWorking",
- "when": "false"
- },
- {
- "command": "gitlens.views.openFile",
- "when": "false"
- },
- {
- "command": "gitlens.views.openFileRevision",
- "when": "false"
- },
- {
- "command": "gitlens.views.openFileRevisionInRemote",
- "when": "false"
- },
- {
- "command": "gitlens.views.openChangedFiles",
- "when": "false"
- },
- {
- "command": "gitlens.views.openChangedFileChanges",
- "when": "false"
- },
- {
- "command": "gitlens.views.openChangedFileChangesWithWorking",
- "when": "false"
- },
- {
- "command": "gitlens.views.openChangedFileRevisions",
- "when": "false"
- },
- {
- "command": "gitlens.views.applyChanges",
- "when": "false"
- },
- {
- "command": "gitlens.views.closeRepository",
- "when": "false"
- },
- {
- "command": "gitlens.views.compareAncestryWithWorking",
- "when": "false"
- },
- {
- "command": "gitlens.views.compareWithHead",
- "when": "false"
- },
- {
- "command": "gitlens.views.compareWithRemote",
- "when": "false"
- },
- {
- "command": "gitlens.views.compareWithSelected",
- "when": "false"
- },
- {
- "command": "gitlens.views.selectForCompare",
- "when": "false"
- },
- {
- "command": "gitlens.views.compareFileWithSelected",
- "when": "false"
- },
- {
- "command": "gitlens.views.selectFileForCompare",
- "when": "false"
- },
- {
- "command": "gitlens.views.compareWithWorking",
- "when": "false"
- },
- {
- "command": "gitlens.views.contributor.addCoauthoredBy",
- "when": "false"
- },
- {
- "command": "gitlens.views.contributor.copyToClipboard",
- "when": "false"
- },
- {
- "command": "gitlens.views.setComparisonToTwoDot",
- "when": "false"
- },
- {
- "command": "gitlens.views.setComparisonToThreeDot",
- "when": "false"
- },
- {
- "command": "gitlens.views.terminalCreateBranch",
- "when": "false"
- },
- {
- "command": "gitlens.views.terminalDeleteBranch",
- "when": "false"
- },
- {
- "command": "gitlens.views.cherryPick",
- "when": "false"
- },
- {
- "command": "gitlens.views.mergeBranchInto",
- "when": "false"
- },
- {
- "command": "gitlens.views.rebaseOntoBranch",
- "when": "false"
- },
- {
- "command": "gitlens.views.rebaseOntoCommit",
- "when": "false"
- },
- {
- "command": "gitlens.views.rebaseOntoUpstream",
- "when": "false"
- },
- {
- "command": "gitlens.views.reset",
- "when": "false"
- },
- {
- "command": "gitlens.views.revert",
- "when": "false"
- },
- {
- "command": "gitlens.views.terminalPushCommit",
- "when": "false"
- },
- {
- "command": "gitlens.views.terminalRemoveRemote",
- "when": "false"
- },
- {
- "command": "gitlens.views.terminalCreateTag",
- "when": "false"
- },
- {
- "command": "gitlens.views.terminalDeleteTag",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.refresh",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.setBranchComparisonToWorking",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.setBranchComparisonToBranch",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToAuto",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToList",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToTree",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.setAutoRefreshToOn",
- "when": "false"
- },
- {
- "command": "gitlens.views.repositories.setAutoRefreshToOff",
- "when": "false"
- },
- {
- "command": "gitlens.views.fileHistory.refresh",
- "when": "false"
- },
- {
- "command": "gitlens.views.fileHistory.changeBase",
- "when": "false"
- },
- {
- "command": "gitlens.views.fileHistory.setEditorFollowingOn",
- "when": "false"
- },
- {
- "command": "gitlens.views.fileHistory.setEditorFollowingOff",
- "when": "false"
- },
- {
- "command": "gitlens.views.fileHistory.setRenameFollowingOn",
- "when": "false"
- },
- {
- "command": "gitlens.views.fileHistory.setRenameFollowingOff",
- "when": "false"
- },
- {
- "command": "gitlens.views.lineHistory.refresh",
- "when": "false"
- },
- {
- "command": "gitlens.views.lineHistory.changeBase",
- "when": "false"
- },
- {
- "command": "gitlens.views.lineHistory.setEditorFollowingOn",
- "when": "false"
- },
- {
- "command": "gitlens.views.lineHistory.setEditorFollowingOff",
- "when": "false"
- },
- {
- "command": "gitlens.views.lineHistory.setRenameFollowingOn",
- "when": "false"
- },
- {
- "command": "gitlens.views.lineHistory.setRenameFollowingOff",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.selectForCompare",
- "when": "gitlens:enabled && config.gitlens.views.compare.enabled"
- },
- {
- "command": "gitlens.views.compare.clear",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.refresh",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToAuto",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToList",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToTree",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.setKeepResultsToOn",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.setKeepResultsToOff",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.pinComparison",
- "when": "false"
- },
- {
- "command": "gitlens.views.compare.unpinComparison",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.searchCommits",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.clear",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.refresh",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToAuto",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToList",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToTree",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.setKeepResultsToOn",
- "when": "false"
- },
- {
- "command": "gitlens.views.search.setKeepResultsToOff",
- "when": "false"
- },
- {
- "command": "gitlens.views.dismissNode",
- "when": "false"
- },
- {
- "command": "gitlens.views.expandNode",
- "when": "false"
- },
- {
- "command": "gitlens.views.refreshNode",
- "when": "false"
- },
- {
- "command": "gitlens.views.showMoreChildren",
- "when": "false"
- },
- {
- "command": "gitlens.views.showAllChildren",
- "when": "false"
- }
- ],
- "editor/context": [
- {
- "command": "gitlens.diffLineWithPrevious",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.diffLineWithWorking",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.compare",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.openFileInRemote",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
- "group": "1_gitlens_1@1"
- },
- {
- "command": "gitlens.openCommitInRemote",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote",
- "group": "1_gitlens_1@2"
- },
- {
- "command": "gitlens.showQuickCommitFileDetails",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.details",
- "group": "1_gitlens_1@3"
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
- "group": "3_gitlens@1"
- },
- {
- "command": "gitlens.showFileHistoryInView",
- "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history",
- "group": "3_gitlens@2"
- },
- {
- "command": "gitlens.toggleFileBlame",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame",
- "group": "3_gitlens@3"
- },
- {
- "command": "gitlens.copyShaToClipboard",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
- "group": "9_b_gitlens@1"
- },
- {
- "command": "gitlens.copyMessageToClipboard",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard",
- "group": "9_b_gitlens@2"
- },
- {
- "command": "gitlens.copyRemoteFileUrlToClipboard",
- "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.clipboard",
- "group": "9_b_gitlens@3"
- }
- ],
- "editor/title": [
- {
- "command": "gitlens.diffWithWorking",
- "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
- "group": "navigation@0"
- },
- {
- "command": "gitlens.diffWithWorkingInDiff",
- "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
- "group": "navigation@0"
- },
- {
- "command": "gitlens.openWorkingFile",
- "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git",
- "group": "navigation@1"
- },
- {
- "command": "gitlens.openWorkingFile",
- "when": "!gitlens:activeFileStatus =~ /revision/ && resourceScheme != file && resourceScheme != git && isInDiffEditor",
- "group": "navigation@1"
- },
- {
- "command": "gitlens.openWorkingFile",
- "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor",
- "group": "navigation@1"
- },
- {
- "command": "gitlens.openRevisionFile",
- "when": "gitlens:activeFileStatus =~ /revision/ && isInDiffEditor",
- "group": "navigation@2"
- },
- {
- "command": "gitlens.exploreRepoAtRevision",
- "when": "gitlens:activeFileStatus =~ /revision/",
- "group": "navigation@3"
- },
- {
- "command": "gitlens.diffWithPrevious",
- "alt": "gitlens.diffWithRevision",
- "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
- "group": "navigation@97"
- },
- {
- "command": "gitlens.diffWithPreviousInDiff",
- "alt": "gitlens.diffWithRevision",
- "when": "isInDiffEditor && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editorGroup.compare",
- "group": "navigation@97"
- },
- {
- "command": "gitlens.showQuickRevisionDetails",
- "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme != git && config.gitlens.menus.editorGroup.compare",
- "group": "navigation@98"
- },
- {
- "command": "gitlens.diffWithNext",
- "when": "!isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
- "group": "navigation@99"
- },
- {
- "command": "gitlens.diffWithNextInDiff",
- "when": "isInDiffEditor && gitlens:activeFileStatus =~ /revision/ && config.gitlens.menus.editorGroup.compare",
- "group": "navigation@99"
- },
- {
- "command": "gitlens.toggleFileBlame",
- "alt": "gitlens.toggleFileHeatmap",
- "when": "gitlens:activeFileStatus =~ /blameable/ && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
- "group": "navigation@100"
- },
- {
- "command": "gitlens.computingFileAnnotations",
- "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
- "group": "navigation@100"
- },
- {
- "command": "gitlens.clearFileAnnotations",
- "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
- "group": "navigation@100"
- }
- ],
- "editor/title/context": [
- {
- "command": "gitlens.openRevisionFile",
- "when": "resourceScheme == gitlens",
- "group": "1_co_gitlens@1"
- },
- {
- "command": "gitlens.openWorkingFile",
- "when": "resourceScheme == gitlens",
- "group": "1_co_gitlens@2"
- },
- {
- "command": "gitlens.openFileInRemote",
- "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.remote",
- "group": "1_co_gitlens@3"
- },
- {
- "command": "gitlens.diffWithPrevious",
- "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
- "group": "1_co_gitlens_1@1"
- },
- {
- "command": "gitlens.diffWithRevision",
- "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
- "group": "1_co_gitlens_1@2"
- },
- {
- "command": "gitlens.diffWithWorking",
- "when": "resourceScheme == gitlens && config.gitlens.menus.editorTab.compare",
- "group": "1_co_gitlens_1@3"
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
- "group": "1_co_gitlens_2@1"
- },
- {
- "command": "gitlens.showFileHistoryInView",
- "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
- "group": "1_co_gitlens_2@2"
- },
- {
- "command": "gitlens.exploreRepoAtRevision",
- "when": "resourceScheme == gitlens",
- "group": "1_co_gitlens_3@1"
- },
- {
- "command": "gitlens.copyRemoteFileUrlToClipboard",
- "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.editorTab.clipboard",
- "group": "1_cutcopypaste@100"
- }
- ],
- "explorer/context": [
- {
- "command": "gitlens.openFileInRemote",
- "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
- "group": "navigation@100"
- },
- {
- "command": "gitlens.diffWithPrevious",
- "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
- "group": "3_compare@1"
- },
- {
- "command": "gitlens.diffWithRevision",
- "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
- "group": "3_compare@2"
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
- "group": "4_gitlens_1@1"
- },
- {
- "command": "gitlens.showFolderHistory",
- "when": "explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
- "group": "4_gitlens_1@1"
- },
- {
- "command": "gitlens.showFileHistoryInView",
- "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
- "group": "4_gitlens_1@2"
- },
- {
- "command": "gitlens.copyRemoteFileUrlToClipboard",
- "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.clipboard",
- "group": "5_cutcopypaste@100"
- }
- ],
- "scm/resourceGroup/context": [
- {
- "command": "gitlens.stashSave",
- "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stashInline",
- "group": "inline@-1"
- },
- {
- "command": "gitlens.stashSave",
- "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stash",
- "group": "1_modification@100"
- },
- {
- "command": "gitlens.openChangedFiles",
- "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.closeUnchangedFiles",
- "when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
- "group": "2_gitlens@2"
- },
- {
- "command": "gitlens.externalDiffAll",
- "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
- "group": "3_gitlens@3"
- },
- {
- "command": "gitlens.diffDirectoryWithHead",
- "when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
- "group": "3_gitlens@4"
- }
- ],
- "scm/resourceState/context": [
- {
- "command": "gitlens.openFileInRemote",
- "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.remote",
- "group": "navigation"
- },
- {
- "command": "gitlens.externalDiff",
- "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
- "group": "navigation"
- },
- {
- "command": "gitlens.diffWithRevision",
- "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.diffWithRef",
- "when": "gitlens:enabled && config.gitlens.menus.scmItem.compare",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
- "group": "1_gitlens_1@1"
- },
- {
- "command": "gitlens.showFileHistoryInView",
- "when": "gitlens:enabled && config.gitlens.menus.scmItem.history",
- "group": "1_gitlens_1@2"
- },
- {
- "command": "gitlens.stashSaveFiles",
- "when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmItem.stash",
- "group": "1_modification@-1"
- },
- {
- "command": "gitlens.copyRemoteFileUrlToClipboard",
- "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.scmItem.clipboard",
- "group": "9_gitlens@1"
- }
- ],
- "view/title": [
- {
- "command": "gitlens.pushRepositories",
- "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
- "group": "navigation@10"
- },
- {
- "command": "gitlens.pullRepositories",
- "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
- "group": "navigation@11"
- },
- {
- "command": "gitlens.fetchRepositories",
- "when": "gitlens:hasRemotes && !gitlens:readonly && view =~ /^gitlens\\.views\\.repositories:/",
- "group": "navigation@12"
- },
- {
- "command": "gitlens.views.repositories.refresh",
- "when": "view =~ /^gitlens\\.views\\.repositories:/",
- "group": "navigation@99"
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToAuto",
- "when": "view =~ /^gitlens\\.views\\.repositories:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToList",
- "when": "view =~ /^gitlens\\.views\\.repositories:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.repositories.setFilesLayoutToTree",
- "when": "view =~ /^gitlens\\.views\\.repositories:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.repositories.setAutoRefreshToOn",
- "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && !gitlens:views:repositories:autoRefresh",
- "group": "2_gitlens"
- },
- {
- "command": "gitlens.views.repositories.setAutoRefreshToOff",
- "when": "view =~ /^gitlens\\.views\\.repositories:/ && config.gitlens.views.repositories.autoRefresh && gitlens:views:repositories:autoRefresh",
- "group": "2_gitlens"
- },
- {
- "command": "gitlens.views.fileHistory.setEditorFollowingOn",
- "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !gitlens:views:fileHistory:editorFollowing",
- "group": "navigation@10"
- },
- {
- "command": "gitlens.views.fileHistory.setEditorFollowingOff",
- "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && gitlens:views:fileHistory:editorFollowing",
- "group": "navigation@10"
- },
- {
- "command": "gitlens.views.fileHistory.changeBase",
- "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
- "group": "navigation@11"
- },
- {
- "command": "gitlens.views.fileHistory.refresh",
- "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
- "group": "navigation@99"
- },
- {
- "command": "gitlens.views.fileHistory.setRenameFollowingOn",
- "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.fileHistory.setRenameFollowingOff",
- "when": "view =~ /^gitlens\\.views\\.fileHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.lineHistory.setEditorFollowingOn",
- "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !gitlens:views:lineHistory:editorFollowing",
- "group": "navigation@10"
- },
- {
- "command": "gitlens.views.lineHistory.setEditorFollowingOff",
- "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && gitlens:views:lineHistory:editorFollowing",
- "group": "navigation@10"
- },
- {
- "command": "gitlens.views.lineHistory.changeBase",
- "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
- "group": "navigation@11"
- },
- {
- "command": "gitlens.views.lineHistory.refresh",
- "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
- "group": "navigation@99"
- },
- {
- "command": "gitlens.views.lineHistory.setRenameFollowingOn",
- "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.lineHistory.setRenameFollowingOff",
- "when": "view =~ /^gitlens\\.views\\.lineHistory:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.compare.selectForCompare",
- "when": "view =~ /^gitlens\\.views\\.compare:/",
- "group": "navigation@10"
- },
- {
- "command": "gitlens.views.compare.setKeepResultsToOn",
- "when": "view =~ /^gitlens\\.views\\.compare:/ && !gitlens:views:compare:keepResults",
- "group": "navigation@11"
- },
- {
- "command": "gitlens.views.compare.setKeepResultsToOff",
- "when": "view =~ /^gitlens\\.views\\.compare:/ && gitlens:views:compare:keepResults",
- "group": "navigation@11"
- },
- {
- "command": "gitlens.views.compare.clear",
- "when": "view =~ /^gitlens\\.views\\.compare:/",
- "group": "navigation@98"
- },
- {
- "command": "gitlens.views.compare.refresh",
- "when": "view =~ /^gitlens\\.views\\.compare:/",
- "group": "navigation@99"
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToAuto",
- "when": "view =~ /^gitlens\\.views\\.compare:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToList",
- "when": "view =~ /^gitlens\\.views\\.compare:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.compare.setFilesLayoutToTree",
- "when": "view =~ /^gitlens\\.views\\.compare:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.search.searchCommits",
- "when": "view =~ /^gitlens\\.views\\.search:/",
- "group": "navigation@10"
- },
- {
- "command": "gitlens.views.search.setKeepResultsToOn",
- "when": "view =~ /^gitlens\\.views\\.search:/ && !gitlens:views:search:keepResults",
- "group": "navigation@11"
- },
- {
- "command": "gitlens.views.search.setKeepResultsToOff",
- "when": "view =~ /^gitlens\\.views\\.search:/ && gitlens:views:search:keepResults",
- "group": "navigation@11"
- },
- {
- "command": "gitlens.views.search.clear",
- "when": "view =~ /^gitlens\\.views\\.search:/",
- "group": "navigation@98"
- },
- {
- "command": "gitlens.views.search.refresh",
- "when": "view =~ /^gitlens\\.views\\.search:/",
- "group": "navigation@99"
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToAuto",
- "when": "view =~ /^gitlens\\.views\\.search:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToList",
- "when": "view =~ /^gitlens\\.views\\.search:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.views.search.setFilesLayoutToTree",
- "when": "view =~ /^gitlens\\.views\\.search:/",
- "group": "1_gitlens"
- },
- {
- "command": "gitlens.supportGitLens",
- "when": "view =~ /^gitlens\\.views\\..*:/ && config.gitlens.advanced.messages.suppressSupportGitLensNotification != true && gitlens:views:supportGitLens:hide != true",
- "group": "navigation@1"
- },
- {
- "command": "gitlens.showSettingsPage#repositories-view",
- "when": "view =~ /^gitlens\\.views\\.repositories:/",
- "group": "9_gitlens"
- },
- {
- "command": "gitlens.showSettingsPage#file-history-view",
- "when": "view =~ /^gitlens\\.views\\.fileHistory:/",
- "group": "9_gitlens"
- },
- {
- "command": "gitlens.showSettingsPage#line-history-view",
- "when": "view =~ /^gitlens\\.views\\.lineHistory:/",
- "group": "9_gitlens"
- },
- {
- "command": "gitlens.showSettingsPage#search-commits-view",
- "when": "view =~ /^gitlens\\.views\\.search:/",
- "group": "9_gitlens"
- },
- {
- "command": "gitlens.showSettingsPage",
- "when": "view =~ /^gitlens\\.views\\.compare:/",
- "group": "9_gitlens"
- }
- ],
- "view/item/context": [
- {
- "command": "gitlens.openBranchesInRemote",
- "when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/",
- "group": "inline@98"
- },
- {
- "command": "gitlens.openBranchesInRemote",
- "when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.switchToBranch",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/",
- "group": "inline@10"
- },
- {
- "command": "gitlens.views.compareWithRemote",
- "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+tracking\\b)/",
- "group": "inline@97"
- },
- {
- "command": "gitlens.views.compareWithHead",
- "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\b\\+current\\b)|commit\\b|stash\\b|tag\\b)/",
- "group": "inline@98",
- "alt": "gitlens.views.compareWithWorking"
- },
- {
- "command": "gitlens.views.compareWithWorking",
- "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)/",
- "group": "inline@98"
- },
- {
- "command": "gitlens.views.star",
- "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/",
- "group": "inline@99"
- },
- {
- "command": "gitlens.views.unstar",
- "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/",
- "group": "inline@99"
- },
- {
- "command": "gitlens.views.switchToBranch",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.rebaseOntoUpstream",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+tracking\\b)/",
- "group": "1_gitlens_1@1"
- },
- {
- "command": "gitlens.views.mergeBranchInto",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
- "group": "1_gitlens_1@2"
- },
- {
- "command": "gitlens.views.rebaseOntoBranch",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
- "group": "1_gitlens_1@3"
- },
- {
- "command": "gitlens.openBranchInRemote",
- "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.views.compareWithRemote",
- "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+tracking\\b)/",
- "group": "7_gitlens@1"
- },
- {
- "command": "gitlens.views.compareWithHead",
- "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\b\\+current\\b)|commit\\b|stash\\b|tag\\b)/",
- "group": "7_gitlens@2"
- },
- {
- "command": "gitlens.views.compareWithWorking",
- "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
- "group": "7_gitlens@3"
- },
- {
- "command": "gitlens.views.compareAncestryWithWorking",
- "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
- "group": "7_gitlens@4"
- },
- {
- "command": "gitlens.views.compareWithSelected",
- "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:views:canCompare",
- "group": "7_gitlens_@1"
- },
- {
- "command": "gitlens.views.selectForCompare",
- "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
- "group": "7_gitlens_@2"
- },
- {
- "command": "gitlens.views.compareFileWithSelected",
- "when": "viewItem =~ /gitlens:file\\b/ && gitlens:views:canCompare:file",
- "group": "7_gitlens_@1"
- },
- {
- "command": "gitlens.views.selectFileForCompare",
- "when": "viewItem =~ /gitlens:file\\b/",
- "group": "7_gitlens_@2"
- },
- {
- "command": "gitlens.views.openDirectoryDiffWithWorking",
- "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
- "group": "7_gitlens_more@2"
- },
- {
- "command": "gitlens.views.terminalCreateBranch",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit|tag)\\b/",
- "group": "8_gitlens@5"
- },
- {
- "command": "gitlens.views.terminalDeleteBranch",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/",
- "group": "8_gitlens@6"
- },
- {
- "command": "gitlens.views.terminalCreateTag",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit)\\b/",
- "group": "8_gitlens@7"
- },
- {
- "command": "gitlens.views.star",
- "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/",
- "group": "8_gitlens_@1"
- },
- {
- "command": "gitlens.views.unstar",
- "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/",
- "group": "8_gitlens_@1"
- },
- {
- "command": "gitlens.inviteToLiveShare",
- "when": "gitlens:vsls && gitlens:vsls != guest && viewItem =~ /gitlens:contributor\\b/",
- "group": "inline@97"
- },
- {
- "command": "gitlens.views.contributor.copyToClipboard",
- "when": "viewItem =~ /gitlens:contributor\\b/",
- "group": "inline@98"
- },
- {
- "command": "gitlens.inviteToLiveShare",
- "when": "gitlens:vsls && gitlens:vsls != guest && viewItem =~ /gitlens:contributor\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.contributor.copyToClipboard",
- "when": "viewItem =~ /gitlens:contributor\\b/",
- "group": "1_gitlens_1@1"
- },
- {
- "command": "gitlens.views.contributor.addCoauthoredBy",
- "when": "viewItem =~ /gitlens:contributor\\b/",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.openCommitInRemote",
- "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
- "group": "inline@98"
- },
- {
- "command": "gitlens.views.revert",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.reset",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.views.cherryPick",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?!.*?\\b\\+current\\b)/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.switchToCommit",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
- "group": "1_gitlens@3"
- },
- {
- "command": "gitlens.views.rebaseOntoCommit",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/",
- "group": "1_gitlens@4"
- },
- {
- "command": "gitlens.openCommitInRemote",
- "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
- "group": "1_gitlens_1@1"
- },
- {
- "command": "gitlens.views.openChangedFileChanges",
- "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.views.openChangedFileChangesWithWorking",
- "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
- "group": "2_gitlens@2"
- },
- {
- "command": "gitlens.views.openChangedFiles",
- "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
- "group": "3_gitlens@1"
- },
- {
- "command": "gitlens.views.openChangedFileRevisions",
- "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
- "group": "3_gitlens@2"
- },
- {
- "command": "gitlens.copyShaToClipboard",
- "when": "viewItem =~ /gitlens:(commit|file\\b(?=.*?\\b\\+committed\\b))\\b/",
- "group": "inline@98",
- "alt": "gitlens.copyMessageToClipboard"
- },
- {
- "command": "gitlens.copyShaToClipboard",
- "when": "viewItem =~ /gitlens:(commit|file\\b(?=.*?\\b\\+committed\\b))\\b/",
- "group": "5_gitlens@1"
- },
- {
- "command": "gitlens.copyMessageToClipboard",
- "when": "viewItem =~ /gitlens:(commit|stash|file\\b(?=.*?\\b\\+committed\\b))\\b/",
- "group": "5_gitlens@2"
- },
- {
- "command": "gitlens.showQuickCommitDetails",
- "when": "viewItem =~ /gitlens:commit\\b/",
- "group": "5_gitlens_1@1"
- },
- {
- "command": "gitlens.showCommitInView",
- "when": "viewItem =~ /gitlens:commit\\b/",
- "group": "5_gitlens_1@2"
- },
- {
- "command": "gitlens.views.terminalPushCommit",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
- "group": "8_gitlens@2"
- },
- {
- "command": "gitlens.views.openFile",
- "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.openFile",
- "when": "viewItem =~ /gitlens:file\\b(?!.*?\\b\\+history\\b)/",
- "group": "inline@1",
- "alt": "gitlens.views.openFileRevision"
- },
- {
- "command": "gitlens.views.openFileRevision",
- "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+history\\b)/",
- "group": "inline@1",
- "alt": "gitlens.views.openFile"
- },
- {
- "command": "gitlens.views.stageFile",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+unstaged\\b)/",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.unstageFile",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+staged\\b)/",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.stageFile",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+unstaged\\b)/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.unstageFile",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+staged\\b)/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.stashSaveFiles",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+(un)?staged\\b)/",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.views.openChanges",
- "when": "viewItem =~ /gitlens:file\\b/",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.externalDiff",
- "when": "viewItem =~ /gitlens:file\\b/",
- "group": "2_gitlens@2"
- },
- {
- "command": "gitlens.views.openChangesWithWorking",
- "when": "viewItem =~ /gitlens:file\\b/",
- "group": "2_gitlens@3"
- },
- {
- "command": "gitlens.views.openFile",
- "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
- "group": "3_gitlens@1"
- },
- {
- "command": "gitlens.views.openFileRevision",
- "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/",
- "group": "3_gitlens@2"
- },
- {
- "command": "gitlens.openFileInRemote",
- "when": "viewItem =~ /gitlens:(file\\b(?!.*?\\b\\+(un)?staged\\b)|history:(file|line))\\b/ && gitlens:hasRemotes",
- "group": "inline@99",
- "alt": "gitlens.copyRemoteFileUrlToClipboard"
- },
- {
- "command": "gitlens.openFileInRemote",
- "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
- "group": "4_gitlens@1"
- },
- {
- "command": "gitlens.copyRemoteFileUrlToClipboard",
- "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
- "group": "5_gitlens@3"
- },
- {
- "command": "gitlens.views.openFileRevisionInRemote",
- "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes",
- "group": "4_gitlens@2"
- },
- {
- "command": "gitlens.openFileInRemote",
- "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
- "group": "3_gitlens@2"
- },
- {
- "command": "gitlens.views.applyChanges",
- "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results\\b)/",
- "group": "5_gitlens_1@1"
- },
- {
- "command": "gitlens.views.restore",
- "when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results\\b)/",
- "group": "5_gitlens_1@2"
- },
- {
- "command": "gitlens.views.applyChanges",
- "when": "!gitlens:readonly && viewItem == gitlens:file:stash",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.restore",
- "when": "!gitlens:readonly && viewItem == gitlens:file:stash",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.showQuickCommitDetails",
- "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
- "group": "5_gitlens_2@1"
- },
- {
- "command": "gitlens.showCommitInView",
- "when": "viewItem =~ /gitlens:file\\b(?!(:stash|:status))/",
- "group": "5_gitlens_2@2"
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "when": "viewItem =~ /gitlens:file\\b/",
- "group": "8_gitlens@1"
- },
- {
- "command": "gitlens.showFileHistoryInView",
- "when": "viewItem =~ /gitlens:file\\b/",
- "group": "8_gitlens@2"
- },
- {
- "command": "gitlens.views.addRemote",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:remotes\\b/",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.addRemote",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:remotes\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.fetch",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
- "group": "inline@97"
- },
- {
- "command": "gitlens.openRepoInRemote",
- "when": "viewItem =~ /gitlens:remote\\b/",
- "group": "inline@98"
- },
- {
- "command": "gitlens.views.fetch",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.pruneRemote",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.openRepoInRemote",
- "when": "viewItem =~ /gitlens:remote\\b/",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.openBranchesInRemote",
- "when": "viewItem =~ /gitlens:remote\\b/",
- "group": "2_gitlens@2"
- },
- {
- "command": "gitlens.views.terminalRemoveRemote",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/",
- "group": "8_gitlens@1"
- },
- {
- "command": "gitlens.views.setAsDefault",
- "when": "viewItem =~ /gitlens:remote\\b(?!.*?\\b\\+default\\b)/",
- "group": "8_gitlens_@1"
- },
- {
- "command": "gitlens.views.unsetAsDefault",
- "when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+default\\b)/",
- "group": "8_gitlens_@1"
- },
- {
- "command": "gitlens.views.exploreRepoAtRevision",
- "when": "viewItem =~ /gitlens:(branch|commit|file\\b((?=.*?\\b\\+committed\\b)|:results)|stash|tag)\\b/",
- "group": "7_gitlens_more@1"
- },
- {
- "command": "gitlens.showCommitSearch",
- "when": "viewItem =~ /gitlens:repository\\b/",
- "group": "inline@10"
- },
- {
- "command": "gitlens.views.push",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "inline@96",
- "alt": "gitlens.views.pushWithForce"
- },
- {
- "command": "gitlens.views.pull",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "inline@97"
- },
- {
- "command": "gitlens.views.fetch",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "inline@98"
- },
- {
- "command": "gitlens.views.star",
- "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/",
- "group": "inline@99"
- },
- {
- "command": "gitlens.views.unstar",
- "when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/",
- "group": "inline@99"
- },
- {
- "command": "gitlens.views.fetch",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.pull",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.push",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.pushWithForce",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.views.openInTerminal",
- "when": "viewItem =~ /gitlens:repository\\b/",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.openRepoInRemote",
- "when": "viewItem =~ /gitlens:repository\\b/ && gitlens:hasRemotes",
- "group": "2_gitlens@2"
- },
- {
- "command": "gitlens.showCommitSearch",
- "when": "viewItem =~ /gitlens:repository\\b/",
- "group": "3_gitlens@1"
- },
- {
- "command": "gitlens.stashApply",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "4_gitlens@1"
- },
- {
- "command": "gitlens.stashSave",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
- "group": "4_gitlens@2"
- },
- {
- "command": "gitlens.views.star",
- "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/",
- "group": "8_gitlens@1"
- },
- {
- "command": "gitlens.views.unstar",
- "when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/",
- "group": "8_gitlens@1"
- },
- {
- "command": "gitlens.views.closeRepository",
- "when": "viewItem =~ /gitlens:repository\\b/",
- "group": "8_gitlens@2"
- },
- {
- "command": "gitlens.views.pull",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.pull",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.push",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
- "group": "inline@1",
- "alt": "gitlens.views.pushWithForce"
- },
- {
- "command": "gitlens.views.push",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.pushWithForce",
- "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.views.dismissNode",
- "when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\b\\+pinned\\b)|search)\\b(?!:(commits|files))/",
- "group": "inline@99"
- },
- {
- "command": "gitlens.views.setComparisonToTwoDot",
- "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+threedot\\b)/",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.setComparisonToThreeDot",
- "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+twodot\\b)/",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.repositories.setBranchComparisonToWorking",
- "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+branch\\b)/",
- "group": "inline@2"
- },
- {
- "command": "gitlens.views.repositories.setBranchComparisonToBranch",
- "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+working\\b)/",
- "group": "inline@2"
- },
- {
- "command": "gitlens.views.setComparisonToTwoDot",
- "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+threedot\\b)/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.setComparisonToThreeDot",
- "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+twodot\\b)/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.repositories.setBranchComparisonToWorking",
- "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+branch\\b)/",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.views.repositories.setBranchComparisonToBranch",
- "when": "viewItem =~ /gitlens:compare:branch\\b(?=.*?\\b\\+comparing\\b)(?=.*?\\b\\+working\\b)/",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.views.setComparisonToTwoDot",
- "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+threedot\\b)/",
- "group": "inline@2"
- },
- {
- "command": "gitlens.views.setComparisonToThreeDot",
- "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+twodot\\b)/",
- "group": "inline@2"
- },
- {
- "command": "gitlens.views.compare.swapComparison",
- "when": "viewItem =~ /gitlens:compare:results\\b/",
- "group": "inline@3"
- },
- {
- "command": "gitlens.views.refreshNode",
- "when": "viewItem =~ /gitlens:compare:(branch(?=.*?\\b\\+comparing\\b)|results)\\b/",
- "group": "inline@4"
- },
- {
- "command": "gitlens.views.compare.pinComparison",
- "when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\b\\+pinned\\b)/",
- "group": "inline@98"
- },
- {
- "command": "gitlens.views.compare.unpinComparison",
- "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+pinned\\b)/",
- "group": "inline@98"
- },
- {
- "command": "gitlens.views.openDirectoryDiff",
- "when": "viewItem =~ /gitlens:compare:results\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.compare.pinComparison",
- "when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\b\\+pinned\\b)/",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.views.compare.unpinComparison",
- "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+pinned\\b)/",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.views.setComparisonToTwoDot",
- "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+threedot\\b)/",
- "group": "2_gitlens@2"
- },
- {
- "command": "gitlens.views.setComparisonToThreeDot",
- "when": "viewItem =~ /gitlens:compare:results\\b(?=.*?\\b\\+twodot\\b)/",
- "group": "2_gitlens@2"
- },
- {
- "command": "gitlens.views.compare.swapComparison",
- "when": "viewItem =~ /gitlens:compare:results\\b/",
- "group": "2_gitlens@3"
- },
- {
- "command": "gitlens.views.search.searchCommits",
- "when": "viewItem == gitlens:search:results",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.search.searchCommits",
- "when": "viewItem == gitlens:search:results",
- "group": "2_gitlens@1"
- },
- {
- "command": "gitlens.stashSave",
- "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
- "group": "inline@98"
- },
- {
- "command": "gitlens.stashApply",
- "when": "!gitlens:readonly && viewItem == gitlens:stashes",
- "group": "inline@99"
- },
- {
- "command": "gitlens.stashSave",
- "when": "!gitlens:readonly && viewItem =~ /^gitlens:(stashes|status:files)$/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.stashApply",
- "when": "!gitlens:readonly && viewItem == gitlens:stashes",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.stashApply",
- "when": "!gitlens:readonly && viewItem == gitlens:stash",
- "group": "inline@98"
- },
- {
- "command": "gitlens.stashDelete",
- "when": "!gitlens:readonly && viewItem == gitlens:stash",
- "group": "inline@99"
- },
- {
- "command": "gitlens.stashApply",
- "when": "!gitlens:readonly && viewItem == gitlens:stash",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.stashDelete",
- "when": "!gitlens:readonly && viewItem == gitlens:stash",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.views.switchToTag",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
- "group": "inline@10"
- },
- {
- "command": "gitlens.views.switchToTag",
- "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.terminalDeleteTag",
- "when": "!gitlens:readonly && viewItem == gitlens:tag",
- "group": "8_gitlens"
- },
- {
- "command": "gitlens.views.stageDirectory",
- "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.unstageDirectory",
- "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
- "group": "inline@2"
- },
- {
- "command": "gitlens.views.stageDirectory",
- "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
- "group": "1_gitlens@1"
- },
- {
- "command": "gitlens.views.unstageDirectory",
- "when": "viewItem =~ /gitlens:folder\\b(?=.*?\\b\\+working\\b)/",
- "group": "1_gitlens@2"
- },
- {
- "command": "gitlens.views.expandNode",
- "when": "viewItem =~ /gitlens:(compare|folder|results|search|status)\\b/",
- "group": "8_gitlens@1"
- },
- {
- "command": "gitlens.views.dismissNode",
- "when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\b\\+pinned\\b)|search)\\b(?!:(commits|files))/",
- "group": "8_gitlens@2"
- },
- {
- "command": "gitlens.views.refreshNode",
- "when": "viewItem =~ /gitlens:(?!file\\b)/",
- "group": "9_gitlens@1"
- },
- {
- "command": "gitlens.views.showAllChildren",
- "when": "viewItem =~ /gitlens:pager\\b/",
- "group": "inline@1"
- },
- {
- "command": "gitlens.views.showAllChildren",
- "when": "viewItem =~ /gitlens:pager\\b/",
- "group": "1_gitlens@1"
- }
- ]
- },
- "keybindings": [
- {
- "command": "gitlens.key.left",
- "key": "alt+left",
- "when": "gitlens:key:left"
- },
- {
- "command": "gitlens.key.right",
- "key": "alt+right",
- "when": "gitlens:key:right"
- },
- {
- "command": "gitlens.key.,",
- "key": "alt+,",
- "when": "gitlens:key:,"
- },
- {
- "command": "gitlens.key..",
- "key": "alt+.",
- "when": "gitlens:key:."
- },
- {
- "command": "gitlens.key.escape",
- "key": "escape",
- "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
- },
- {
- "command": "gitlens.toggleFileBlame",
- "key": "alt+b",
- "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.toggleCodeLens",
- "key": "shift+alt+b",
- "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
- },
- {
- "command": "gitlens.showLastQuickPick",
- "key": "alt+-",
- "when": "config.gitlens.keymap == alternate && gitlens:enabled"
- },
- {
- "command": "gitlens.showCommitSearch",
- "key": "alt+/",
- "when": "config.gitlens.keymap == alternate && gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "key": "alt+h",
- "when": "config.gitlens.keymap == alternate && gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickRepoHistory",
- "key": "shift+alt+h",
- "when": "config.gitlens.keymap == alternate && gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickRepoStatus",
- "key": "alt+s",
- "when": "config.gitlens.keymap == alternate && gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickCommitFileDetails",
- "key": "alt+c",
- "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:enabled"
- },
- {
- "command": "gitlens.diffWithNext",
- "key": "alt+.",
- "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithNextInDiff",
- "key": "alt+.",
- "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithPrevious",
- "key": "alt+,",
- "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffWithPreviousInDiff",
- "key": "alt+,",
- "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffLineWithPrevious",
- "key": "shift+alt+,",
- "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffWithWorking",
- "key": "shift+alt+.",
- "when": "config.gitlens.keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithWorkingInDiff",
- "key": "shift+alt+.",
- "when": "config.gitlens.keymap == alternate && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffLineWithWorking",
- "key": "alt+w",
- "when": "config.gitlens.keymap == alternate && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.toggleFileBlame",
- "key": "ctrl+shift+g b",
- "mac": "cmd+alt+g b",
- "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /blameable/"
- },
- {
- "command": "gitlens.toggleCodeLens",
- "key": "ctrl+shift+g shift+b",
- "mac": "cmd+alt+g shift+b",
- "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
- },
- {
- "command": "gitlens.showLastQuickPick",
- "key": "ctrl+shift+g -",
- "mac": "cmd+alt+g -",
- "when": "config.gitlens.keymap == chorded && gitlens:enabled"
- },
- {
- "command": "gitlens.showCommitSearch",
- "key": "ctrl+shift+g /",
- "mac": "cmd+alt+g /",
- "when": "config.gitlens.keymap == chorded && gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickFileHistory",
- "key": "ctrl+shift+g h",
- "mac": "cmd+alt+g h",
- "when": "config.gitlens.keymap == chorded && gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickRepoHistory",
- "key": "ctrl+shift+g shift+h",
- "mac": "cmd+alt+g shift+h",
- "when": "config.gitlens.keymap == chorded && gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickRepoStatus",
- "key": "ctrl+shift+g s",
- "mac": "cmd+alt+g s",
- "when": "config.gitlens.keymap == chorded && gitlens:enabled"
- },
- {
- "command": "gitlens.showQuickCommitFileDetails",
- "key": "ctrl+shift+g c",
- "mac": "cmd+alt+g c",
- "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:enabled"
- },
- {
- "command": "gitlens.diffWithNext",
- "key": "ctrl+shift+g .",
- "mac": "cmd+alt+g .",
- "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithNextInDiff",
- "key": "ctrl+shift+g .",
- "mac": "cmd+alt+g .",
- "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithPrevious",
- "key": "ctrl+shift+g ,",
- "mac": "cmd+alt+g ,",
- "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffWithPreviousInDiff",
- "key": "ctrl+shift+g ,",
- "mac": "cmd+alt+g ,",
- "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffLineWithPrevious",
- "key": "ctrl+shift+g shift+,",
- "mac": "cmd+alt+g shift+,",
- "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "gitlens.diffWithWorking",
- "key": "ctrl+shift+g shift+.",
- "mac": "cmd+alt+g shift+.",
- "when": "config.gitlens.keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffWithWorkingInDiff",
- "key": "ctrl+shift+g shift+.",
- "mac": "cmd+alt+g shift+.",
- "when": "config.gitlens.keymap == chorded && isInDiffEditor && gitlens:activeFileStatus =~ /revision/"
- },
- {
- "command": "gitlens.diffLineWithWorking",
- "key": "ctrl+shift+g w",
- "mac": "cmd+alt+g w",
- "when": "config.gitlens.keymap == chorded && editorTextFocus && gitlens:activeFileStatus =~ /tracked/"
- },
- {
- "command": "workbench.view.scm",
- "key": "ctrl+shift+g g",
- "mac": "ctrl+shift+g",
- "when": "config.gitlens.keymap == chorded && gitlens:enabled"
- },
- {
- "command": "gitlens.views.repositories.copy",
- "key": "ctrl+c",
- "mac": "cmd+c",
- "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.repositories/"
- },
- {
- "command": "gitlens.views.fileHistory.copy",
- "key": "ctrl+c",
- "mac": "cmd+c",
- "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.fileHistory/"
- },
- {
- "command": "gitlens.views.lineHistory.copy",
- "key": "ctrl+c",
- "mac": "cmd+c",
- "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.lineHistory/"
- },
- {
- "command": "gitlens.views.compare.copy",
- "key": "ctrl+c",
- "mac": "cmd+c",
- "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.compare/"
- },
- {
- "command": "gitlens.views.search.copy",
- "key": "ctrl+c",
- "mac": "cmd+c",
- "when": "gitlens:enabled && focusedView =~ /^gitlens\\.views\\.search/"
- }
- ],
- "resourceLabelFormatters": [
- {
- "scheme": "gitlens",
- "authority": "*",
- "formatting": {
- "label": "${path} (${authority})",
- "separator": "/"
- }
- }
- ],
- "viewsContainers": {
- "activitybar": [
- {
- "id": "gitlens",
- "title": "GitLens",
- "icon": "images/gitlens-activitybar.svg"
- }
- ]
- },
- "views": {
- "gitlens": [
- {
- "id": "gitlens.views.repositories:gitlens",
- "name": "Repositories",
- "when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
- },
- {
- "id": "gitlens.views.fileHistory:gitlens",
- "name": "File History",
- "when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
- },
- {
- "id": "gitlens.views.lineHistory:gitlens",
- "name": "Line History",
- "when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
- },
- {
- "id": "gitlens.views.compare:gitlens",
- "name": "Compare",
- "when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens"
- },
- {
- "id": "gitlens.views.search:gitlens",
- "name": "Search Commits",
- "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens"
- }
- ],
- "explorer": [
- {
- "id": "gitlens.views.repositories:explorer",
- "name": "GitLens: Repositories",
- "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer"
- },
- {
- "id": "gitlens.views.fileHistory:explorer",
- "name": "GitLens: File History",
- "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer"
- },
- {
- "id": "gitlens.views.lineHistory:explorer",
- "name": "GitLens: Line History",
- "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer"
- },
- {
- "id": "gitlens.views.compare:explorer",
- "name": "GitLens: Compare",
- "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer"
- },
- {
- "id": "gitlens.views.search:explorer",
- "name": "GitLens: Search Commits",
- "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer"
- }
- ],
- "scm": [
- {
- "id": "gitlens.views.repositories:scm",
- "name": "GitLens: Repositories",
- "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm"
- },
- {
- "id": "gitlens.views.fileHistory:scm",
- "name": "GitLens: File History",
- "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm"
- },
- {
- "id": "gitlens.views.lineHistory:scm",
- "name": "GitLens: Line History",
- "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm"
- },
- {
- "id": "gitlens.views.compare:scm",
- "name": "GitLens: Compare",
- "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm"
- },
- {
- "id": "gitlens.views.search:scm",
- "name": "GitLens: Search Commits",
- "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm"
- }
- ]
- }
- },
- "scripts": {
- "analyze:bundle": "webpack --env.analyzeBundle",
- "analyze:deps": "webpack --env.analyzeDeps",
- "build": "webpack --env.development",
- "bundle": "webpack --env.production",
- "clean": "git clean -Xdf -e !node_modules -e !node_modules/**/*",
- "lint": "eslint src/**/*.ts --fix",
- "pack": "vsce package --yarn",
- "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\"",
- "pub": "vsce publish --yarn",
- "rebuild": "yarn run reset && yarn run build",
- "reset": "yarn run clean && yarn --frozen-lockfile",
- "watch": "webpack --watch --env.development --info-verbosity verbose",
- "webviews:optimize": "webpack --config-name webviews --env.optimizeImages",
- "webviews:watch": "webpack --watch --config-name webviews --env.development --info-verbosity verbose",
- "update:emoji": "pushd emoji && node ./shortcodeToEmoji.js && popd",
- "vscode:prepublish": "yarn run bundle"
- },
- "dependencies": {
- "dayjs": "1.8.16",
- "iconv-lite": "0.5.0",
- "lodash-es": "4.17.15",
- "vsls": "0.3.1291"
- },
- "devDependencies": {
- "@types/lodash-es": "4.17.3",
- "@types/node": "10.14.17",
- "@types/vscode": "1.37.0",
- "@typescript-eslint/eslint-plugin": "2.1.0",
- "@typescript-eslint/parser": "2.1.0",
- "circular-dependency-plugin": "5.2.0",
- "clean-webpack-plugin": "3.0.0",
- "csp-html-webpack-plugin": "3.0.3",
- "css-loader": "3.2.0",
- "eslint": "6.3.0",
- "eslint-cli": "1.1.1",
- "eslint-config-prettier": "6.2.0",
- "eslint-plugin-import": "2.18.2",
- "fork-ts-checker-webpack-plugin": "1.5.0",
- "html-webpack-exclude-assets-plugin": "0.0.7",
- "html-webpack-plugin": "3.2.0",
- "imagemin-webpack-plugin": "2.4.2",
- "mini-css-extract-plugin": "0.8.0",
- "node-sass": "4.12.0",
- "prettier": "1.18.2",
- "sass-loader": "8.0.0",
- "terser-webpack-plugin": "2.0.0",
- "ts-loader": "6.0.4",
- "typescript": "3.6.2",
- "vsce": "1.66.0",
- "webpack": "4.39.3",
- "webpack-bundle-analyzer": "3.4.1",
- "webpack-cli": "3.3.8"
- }
- }
|