You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3380 line
152 KiB

6 年之前
6 年之前
6 年之前
6 年之前
7 年之前
7 年之前
6 年之前
7 年之前
6 年之前
7 年之前
  1. {
  2. "name": "gitlens",
  3. "displayName": "GitLens \u2014 Git supercharged",
  4. "description": "Supercharge the Git capabilities built into Visual Studio Code \u2014 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",
  5. "version": "8.4.0",
  6. "author": {
  7. "name": "Eric Amodio",
  8. "email": "eamodio@gmail.com"
  9. },
  10. "publisher": "eamodio",
  11. "license": "SEE LICENSE IN LICENSE",
  12. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  13. "bugs": {
  14. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/eamodio/vscode-gitlens.git"
  19. },
  20. "engines": {
  21. "vscode": "^1.23.0"
  22. },
  23. "main": "./out/extension",
  24. "icon": "images/gitlens-icon.png",
  25. "preview": false,
  26. "badges": [
  27. {
  28. "url": "https://img.shields.io/badge/vscode--dev--community-gitlens-blue.svg?logo=slack",
  29. "href": "https://join.slack.com/t/vscode-dev-community/shared_invite/enQtMjIxOTgxNDE3NzM0LWU5M2ZiZDU1YjBlMzdlZjA2YjBjYzRhYTM5NTgzMTAxMjdiNWU0ZmQzYWI3MWU5N2Q1YjBiYmQ4MzY0NDE1MzY",
  30. "description": "Join us in the #gitlens channel"
  31. }
  32. ],
  33. "categories": [
  34. "Other"
  35. ],
  36. "galleryBanner": {
  37. "color": "#8647ae",
  38. "theme": "dark"
  39. },
  40. "keywords": [
  41. "gitlens",
  42. "git",
  43. "blame",
  44. "log",
  45. "annotation",
  46. "multi-root ready"
  47. ],
  48. "activationEvents": [
  49. "*"
  50. ],
  51. "contributes": {
  52. "configuration": {
  53. "type": "object",
  54. "title": "GitLens configuration",
  55. "properties": {
  56. "gitlens.blame.avatars": {
  57. "type": "boolean",
  58. "default": true,
  59. "description": "Specifies whether to show avatar images in the gutter blame annotations",
  60. "scope": "window"
  61. },
  62. "gitlens.blame.compact": {
  63. "type": "boolean",
  64. "default": true,
  65. "description": "Specifies whether to compact (deduplicate) matching adjacent gutter blame annotations",
  66. "scope": "window"
  67. },
  68. "gitlens.blame.dateFormat": {
  69. "type": "string",
  70. "default": null,
  71. "description": "Specifies how to format absolute dates (using the `${date}` token) in gutter blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  72. "scope": "window"
  73. },
  74. "gitlens.blame.format": {
  75. "type": "string",
  76. "default": "${message|40?} ${agoOrDate|14-}",
  77. "description": "Specifies the format of the gutter blame annotations\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.blame.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  78. "scope": "window"
  79. },
  80. "gitlens.blame.heatmap.enabled": {
  81. "type": "boolean",
  82. "default": true,
  83. "description": "Specifies whether to provide a heatmap indicator in the gutter blame annotations",
  84. "scope": "window"
  85. },
  86. "gitlens.blame.heatmap.location": {
  87. "type": "string",
  88. "default": "right",
  89. "enum": [
  90. "left",
  91. "right"
  92. ],
  93. "description": "Specifies where the heatmap indicators will be shown in the gutter blame annotations\n `left` - adds a heatmap indicator on the left edge of the gutter blame annotations\n `right` - adds a heatmap indicator on the right edge of the gutter blame annotations",
  94. "scope": "window"
  95. },
  96. "gitlens.blame.highlight.enabled": {
  97. "type": "boolean",
  98. "default": true,
  99. "description": "Specifies whether to highlight lines associated with the current line",
  100. "scope": "window"
  101. },
  102. "gitlens.blame.highlight.locations": {
  103. "type": "array",
  104. "default": [
  105. "gutter",
  106. "line",
  107. "overview"
  108. ],
  109. "items": {
  110. "type": "string",
  111. "enum": [
  112. "gutter",
  113. "line",
  114. "overview"
  115. ]
  116. },
  117. "minItems": 1,
  118. "maxItems": 3,
  119. "uniqueItems": true,
  120. "description": "Specifies where the associated line highlights will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overview` - adds a decoration to the overview ruler (scroll bar)",
  121. "scope": "window"
  122. },
  123. "gitlens.blame.ignoreWhitespace": {
  124. "type": "boolean",
  125. "default": false,
  126. "description": "Specifies whether to ignore whitespace when comparing revisions during blame operations",
  127. "scope": "resource"
  128. },
  129. "gitlens.blame.separateLines": {
  130. "type": "boolean",
  131. "default": true,
  132. "description": "Specifies whether gutter blame annotations will be separated by a small gap",
  133. "scope": "window"
  134. },
  135. "gitlens.blame.toggleMode": {
  136. "type": "string",
  137. "default": "file",
  138. "enum": [
  139. "file",
  140. "window"
  141. ],
  142. "description": "Specifies how the gutter blame annotations will be toggled\n `file` - toggle each file individually\n `window` - toggle the window, i.e. all files at once",
  143. "scope": "window"
  144. },
  145. "gitlens.codeLens.authors.command": {
  146. "type": "string",
  147. "default": "gitlens.toggleFileBlame",
  148. "enum": [
  149. "gitlens.toggleFileBlame",
  150. "gitlens.diffWithPrevious",
  151. "gitlens.showQuickCommitDetails",
  152. "gitlens.showQuickCommitFileDetails",
  153. "gitlens.showQuickFileHistory",
  154. "gitlens.showQuickRepoHistory"
  155. ],
  156. "description": "Specifies the command to be executed when the `authors` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current committed file with the previous commit\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick",
  157. "scope": "window"
  158. },
  159. "gitlens.codeLens.authors.enabled": {
  160. "type": "boolean",
  161. "default": true,
  162. "description": "Specifies whether to show 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)",
  163. "scope": "window"
  164. },
  165. "gitlens.codeLens.enabled": {
  166. "type": "boolean",
  167. "default": true,
  168. "description": "Specifies whether to provide any Git code lens, by default\nUse the `Toggle Git Code Lens` command (`gitlens.toggleCodeLens`) to toggle the Git code lens on and off for the current window",
  169. "scope": "window"
  170. },
  171. "gitlens.codeLens.recentChange.command": {
  172. "type": "string",
  173. "default": "gitlens.showQuickCommitFileDetails",
  174. "enum": [
  175. "gitlens.toggleFileBlame",
  176. "gitlens.diffWithPrevious",
  177. "gitlens.showQuickCommitDetails",
  178. "gitlens.showQuickCommitFileDetails",
  179. "gitlens.showQuickFileHistory",
  180. "gitlens.showQuickRepoHistory"
  181. ],
  182. "description": "Specifies the command to be executed when the `recent change` code lens is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current committed file with the previous commit\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick",
  183. "scope": "window"
  184. },
  185. "gitlens.codeLens.recentChange.enabled": {
  186. "type": "boolean",
  187. "default": true,
  188. "description": "Specifies whether to show a `recent change` code lens showing the author and date of the most recent commit for the file or code block",
  189. "scope": "window"
  190. },
  191. "gitlens.codeLens.scopes": {
  192. "type": "array",
  193. "default": [
  194. "document",
  195. "containers"
  196. ],
  197. "items": {
  198. "type": "string",
  199. "enum": [
  200. "document",
  201. "containers",
  202. "blocks"
  203. ]
  204. },
  205. "minItems": 1,
  206. "maxItems": 4,
  207. "uniqueItems": true,
  208. "description": "Specifies where Git code lens will be shown in the document\n `document` - adds code lens at the top of the document\n `containers` - adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)\n `blocks` - adds code lens at the start of block-like symbols (functions, methods, etc) lines",
  209. "scope": "resource"
  210. },
  211. "gitlens.codeLens.scopesByLanguage": {
  212. "type": "array",
  213. "default": [
  214. {
  215. "language": "css",
  216. "scopes": [
  217. "document"
  218. ]
  219. },
  220. {
  221. "language": "html",
  222. "scopes": [
  223. "document"
  224. ]
  225. },
  226. {
  227. "language": "json",
  228. "scopes": [
  229. "document"
  230. ]
  231. },
  232. {
  233. "language": "jsonc",
  234. "scopes": [
  235. "document"
  236. ]
  237. },
  238. {
  239. "language": "less",
  240. "scopes": [
  241. "document"
  242. ]
  243. },
  244. {
  245. "language": "postcss",
  246. "scopes": [
  247. "document"
  248. ]
  249. },
  250. {
  251. "language": "python",
  252. "symbolScopes": [
  253. "!Module"
  254. ]
  255. },
  256. {
  257. "language": "scss",
  258. "scopes": [
  259. "document"
  260. ]
  261. },
  262. {
  263. "language": "stylus",
  264. "scopes": [
  265. "document"
  266. ]
  267. },
  268. {
  269. "language": "vue",
  270. "scopes": [
  271. "document"
  272. ]
  273. }
  274. ],
  275. "items": {
  276. "type": "object",
  277. "required": [
  278. "language",
  279. "scopes"
  280. ],
  281. "properties": {
  282. "language": {
  283. "type": "string",
  284. "description": "Specifies the language to which this code lens override applies"
  285. },
  286. "scopes": {
  287. "type": "array",
  288. "default": [
  289. "document",
  290. "containers"
  291. ],
  292. "items": {
  293. "type": "string",
  294. "enum": [
  295. "document",
  296. "containers",
  297. "blocks",
  298. "custom"
  299. ]
  300. },
  301. "minItems": 1,
  302. "maxItems": 4,
  303. "uniqueItems": true,
  304. "description": "Specifies where Git code lens will be shown in the document for the specified language\n `document` - adds code lens at the top of the document\n `containers` - adds code lens at the start of container-like symbols (modules, classes, interfaces, etc)\n `blocks` - adds code lens at the start of block-like symbols (functions, methods, properties, etc) lines\n `custom` - adds code lens at the start of symbols contained in `symbolScopes`"
  305. },
  306. "symbolScopes": {
  307. "type": "array",
  308. "items": {
  309. "type": "string"
  310. },
  311. "uniqueItems": true,
  312. "description": "Specifies the set of document symbols where Git code lens will be shown in the document for the specified language\nMust be a member of `SymbolKind`"
  313. }
  314. }
  315. },
  316. "uniqueItems": true,
  317. "description": "Specifies where Git code lens will be shown in the document for the specified languages",
  318. "scope": "resource"
  319. },
  320. "gitlens.codeLens.symbolScopes": {
  321. "type": "array",
  322. "items": {
  323. "type": "string"
  324. },
  325. "uniqueItems": true,
  326. "description": "Specifies a set of document symbols where Git code lens will or will not be shown in the document\nPrefix with `!` to not show Git code lens for the symbol\nMust be a member of `SymbolKind`",
  327. "scope": "resource"
  328. },
  329. "gitlens.currentLine.dateFormat": {
  330. "type": "string",
  331. "default": null,
  332. "description": "Specifies how to format absolute dates (using the `${date}` token) for the current line blame annotation\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  333. "scope": "window"
  334. },
  335. "gitlens.currentLine.enabled": {
  336. "type": "boolean",
  337. "default": true,
  338. "description": "Specifies whether to provide a blame annotation for the current line, by default\nUse the `Toggle Line Blame Annotations` command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window",
  339. "scope": "window"
  340. },
  341. "gitlens.currentLine.format": {
  342. "type": "string",
  343. "default": "${authorAgoOrDate} \u2022 ${message}",
  344. "description": "Specifies the format of the current line blame annotation\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.currentLine.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  345. "scope": "window"
  346. },
  347. "gitlens.currentLine.scrollable": {
  348. "type": "boolean",
  349. "default": true,
  350. "description": "Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport",
  351. "scope": "window"
  352. },
  353. "gitlens.debug": {
  354. "type": "boolean",
  355. "default": false,
  356. "description": "Specifies debug mode",
  357. "scope": "window"
  358. },
  359. "gitlens.defaultDateFormat": {
  360. "type": "string",
  361. "default": null,
  362. "description": "Specifies how absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats",
  363. "scope": "window"
  364. },
  365. "gitlens.defaultDateStyle": {
  366. "type": "string",
  367. "default": "relative",
  368. "enum": [
  369. "relative",
  370. "absolute"
  371. ],
  372. "description": "Specifies how dates will be displayed by default",
  373. "scope": "window"
  374. },
  375. "gitlens.defaultGravatarsStyle": {
  376. "type": "string",
  377. "default": "robohash",
  378. "enum": [
  379. "identicon",
  380. "mm",
  381. "monsterid",
  382. "retro",
  383. "robohash",
  384. "wavatar"
  385. ],
  386. "description": "Specifies the style of the gravatar default (fallback) images\n `identicon` - a geometric pattern\n `mm` - (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)\n `monsterid` - a monster with different colors, faces, etc\n `retro` - 8-bit arcade-style pixelated faces\n `robohash` - a robot with different colors, faces, etc\n `wavatar` - faces with differing features and backgrounds",
  387. "scope": "window"
  388. },
  389. "gitlens.explorers.avatars": {
  390. "type": "boolean",
  391. "default": true,
  392. "description": "Specifies whether to show avatar images instead of commit (or status) icons in the `GitLens` and `GitLens Results` explorers",
  393. "scope": "window"
  394. },
  395. "gitlens.explorers.commitFileFormat": {
  396. "type": "string",
  397. "default": "${filePath}",
  398. "description": "Specifies the format of a committed file in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  399. "scope": "window"
  400. },
  401. "gitlens.explorers.commitFormat": {
  402. "type": "string",
  403. "default": "${message} \u00a0\u2022\u00a0 ${authorAgoOrDate} \u00a0 (${id})",
  404. "description": "Specifies the format of committed changes in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.defaultDateFormat`)\\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  405. "scope": "window"
  406. },
  407. "gitlens.explorers.stashFileFormat": {
  408. "type": "string",
  409. "default": "${filePath}",
  410. "description": "Specifies the format of a stashed file in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path",
  411. "scope": "window"
  412. },
  413. "gitlens.explorers.stashFormat": {
  414. "type": "string",
  415. "default": "${message}",
  416. "description": "Specifies the format of stashed changes in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  417. "scope": "window"
  418. },
  419. "gitlens.explorers.statusFileFormat": {
  420. "type": "string",
  421. "default": "${working}${filePath}",
  422. "description": "Specifies the format of the status of a working or committed file in the `GitLens` and `GitLens Results` explorers\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path\n ${working} - optional indicator if the file is uncommitted",
  423. "scope": "window"
  424. },
  425. "gitlens.gitExplorer.autoRefresh": {
  426. "type": "boolean",
  427. "default": true,
  428. "description": "Specifies whether to automatically refresh the `GitLens` explorer when the repository or the file system changes",
  429. "scope": "window"
  430. },
  431. "gitlens.gitExplorer.branches.layout": {
  432. "type": "string",
  433. "default": "tree",
  434. "enum": [
  435. "list",
  436. "tree"
  437. ],
  438. "description": "Specifies how the `GitLens` explorer will display branches\n `list` - displays branches as a list \n`tree` - displays branches as a tree when branch names contain slashes `/`",
  439. "scope": "window"
  440. },
  441. "gitlens.gitExplorer.enabled": {
  442. "type": "boolean",
  443. "default": true,
  444. "description": "Specifies whether to show the `GitLens` explorer",
  445. "scope": "window"
  446. },
  447. "gitlens.gitExplorer.files.compact": {
  448. "type": "boolean",
  449. "default": true,
  450. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `GitLens` explorer\nOnly applies when displaying files as a `tree` or `auto`",
  451. "scope": "window"
  452. },
  453. "gitlens.gitExplorer.files.layout": {
  454. "type": "string",
  455. "default": "auto",
  456. "enum": [
  457. "auto",
  458. "list",
  459. "tree"
  460. ],
  461. "description": "Specifies how the `GitLens` explorer will display files\n `auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.gitExplorer.files.threshold` setting and the number of files at each nesting level\n `list` - displays files as a list\n `tree` - displays files as a tree",
  462. "scope": "window"
  463. },
  464. "gitlens.gitExplorer.files.threshold": {
  465. "type": "number",
  466. "default": 5,
  467. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `GitLens` explorer\nOnly applies when displaying files as `auto`",
  468. "scope": "window"
  469. },
  470. "gitlens.gitExplorer.includeWorkingTree": {
  471. "type": "boolean",
  472. "default": true,
  473. "description": "Specifies whether to include working tree files inside the `Repository Status` node of the `GitLens` explorer",
  474. "scope": "window"
  475. },
  476. "gitlens.gitExplorer.location": {
  477. "type": "string",
  478. "default": "scm",
  479. "enum": [
  480. "explorer",
  481. "scm"
  482. ],
  483. "description": "Specifies where to show the `GitLens` explorer\n `explorer` - adds to the Explorer view\n `scm` - adds to the Source Control view",
  484. "scope": "window"
  485. },
  486. "gitlens.gitExplorer.showTrackingBranch": {
  487. "type": "boolean",
  488. "default": true,
  489. "description": "Specifies whether to show the tracking branch when displaying local branches in the `GitLens` explorer",
  490. "scope": "window"
  491. },
  492. "gitlens.gitExplorer.view": {
  493. "type": "string",
  494. "default": "auto",
  495. "enum": [
  496. "auto",
  497. "history",
  498. "repository"
  499. ],
  500. "description": "Specifies the starting view of the `GitLens` explorer\n `auto` - shows the last selected view, defaults to `repository`\n `history` - shows the commit history of the current file\n `repository` - shows a repository explorer",
  501. "scope": "window"
  502. },
  503. "gitlens.heatmap.ageThreshold": {
  504. "type": "string",
  505. "default": "90",
  506. "description": "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`)",
  507. "scope": "window"
  508. },
  509. "gitlens.heatmap.coldColor": {
  510. "type": "string",
  511. "default": "#0a60f6",
  512. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `gitlens.heatmap.ageThreshold` setting",
  513. "scope": "window"
  514. },
  515. "gitlens.heatmap.hotColor": {
  516. "type": "string",
  517. "default": "#f66a0a",
  518. "description": "Specifies the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `gitlens.heatmap.ageThreshold` setting",
  519. "scope": "window"
  520. },
  521. "gitlens.heatmap.toggleMode": {
  522. "type": "string",
  523. "default": "file",
  524. "enum": [
  525. "file",
  526. "window"
  527. ],
  528. "description": "Specifies how the gutter heatmap annotations will be toggled\n `file` - toggle each file individually\n `window` - toggle the window, i.e. all files at once",
  529. "scope": "window"
  530. },
  531. "gitlens.historyExplorer.enabled": {
  532. "type": "boolean",
  533. "default": true,
  534. "description": "Specifies whether to show the current file history undocked in a `GitLens History` explorer",
  535. "scope": "window"
  536. },
  537. "gitlens.historyExplorer.location": {
  538. "type": "string",
  539. "default": "explorer",
  540. "enum": [
  541. "explorer",
  542. "scm"
  543. ],
  544. "description": "Specifies where to show the `GitLens History` explorer\n `explorer` - adds to the Explorer view\n `scm` - adds to the Source Control view",
  545. "scope": "window"
  546. },
  547. "gitlens.hovers.annotations.changes": {
  548. "type": "boolean",
  549. "default": true,
  550. "description": "Specifies whether to provide a changes (diff) hover for all lines when showing blame annotations",
  551. "scope": "window"
  552. },
  553. "gitlens.hovers.annotations.details": {
  554. "type": "boolean",
  555. "default": true,
  556. "description": "Specifies whether to provide a commit details hover for all lines when showing blame annotations",
  557. "scope": "window"
  558. },
  559. "gitlens.hovers.annotations.enabled": {
  560. "type": "boolean",
  561. "default": true,
  562. "description": "Specifies whether to provide any hovers when showing blame annotations",
  563. "scope": "window"
  564. },
  565. "gitlens.hovers.annotations.over": {
  566. "type": "string",
  567. "default": "line",
  568. "enum": [
  569. "annotation",
  570. "line"
  571. ],
  572. "description": "Specifies when to trigger hovers when showing blame annotations\n `annotation` - only shown when hovering over the line annotation\n `line` - shown when hovering anywhere over the line",
  573. "scope": "window"
  574. },
  575. "gitlens.hovers.currentLine.changes": {
  576. "type": "boolean",
  577. "default": true,
  578. "description": "Specifies whether to provide a changes (diff) hover for the current line",
  579. "scope": "window"
  580. },
  581. "gitlens.hovers.currentLine.details": {
  582. "type": "boolean",
  583. "default": true,
  584. "description": "Specifies whether to provide a commit details hover for the current line",
  585. "scope": "window"
  586. },
  587. "gitlens.hovers.currentLine.enabled": {
  588. "type": "boolean",
  589. "default": true,
  590. "description": "Specifies whether to provide any hovers for the current line",
  591. "scope": "window"
  592. },
  593. "gitlens.hovers.currentLine.over": {
  594. "type": "string",
  595. "default": "annotation",
  596. "enum": [
  597. "annotation",
  598. "line"
  599. ],
  600. "description": "Specifies when to trigger hovers for the current line\n `annotation` - only shown when hovering over the line annotation\n `line` - shown when hovering anywhere over the line",
  601. "scope": "window"
  602. },
  603. "gitlens.hovers.enabled": {
  604. "type": "boolean",
  605. "default": true,
  606. "description": "Specifies whether to provide any hovers",
  607. "scope": "window"
  608. },
  609. "gitlens.insiders": {
  610. "type": "boolean",
  611. "default": false,
  612. "description": "Specifies whether to enable new experimental features (expect there to be issues)",
  613. "scope": "window"
  614. },
  615. "gitlens.keymap": {
  616. "type": "string",
  617. "default": "chorded",
  618. "enum": [
  619. "alternate",
  620. "chorded",
  621. "none"
  622. ],
  623. "description": "Specifies the keymap to use for GitLens shortcut keys\n `alternate` - adds an alternate set of shortcut keys that start with `Alt` (\u2325 on macOS)\n `chorded` - adds a chorded set of shortcut keys that start with `Ctrl+Alt+G` (`\u2325\u2318G` on macOS)\n `none` - no shortcut keys will be added",
  624. "scope": "window"
  625. },
  626. "gitlens.menus": {
  627. "anyOf": [
  628. {
  629. "enum": [
  630. false
  631. ]
  632. },
  633. {
  634. "type": "object",
  635. "properties": {
  636. "editor": {
  637. "anyOf": [
  638. {
  639. "enum": [
  640. false
  641. ]
  642. },
  643. {
  644. "type": "object",
  645. "properties": {
  646. "blame": {
  647. "type": "boolean"
  648. },
  649. "clipboard": {
  650. "type": "boolean"
  651. },
  652. "compare": {
  653. "type": "boolean"
  654. },
  655. "details": {
  656. "type": "boolean"
  657. },
  658. "history": {
  659. "type": "boolean"
  660. },
  661. "remote": {
  662. "type": "boolean"
  663. }
  664. }
  665. }
  666. ]
  667. },
  668. "editorGroup": {
  669. "anyOf": [
  670. {
  671. "enum": [
  672. false
  673. ]
  674. },
  675. {
  676. "type": "object",
  677. "properties": {
  678. "blame": {
  679. "type": "boolean"
  680. },
  681. "compare": {
  682. "type": "boolean"
  683. },
  684. "history": {
  685. "type": "boolean"
  686. },
  687. "remote": {
  688. "type": "boolean"
  689. }
  690. }
  691. }
  692. ]
  693. },
  694. "editorTab": {
  695. "anyOf": [
  696. {
  697. "enum": [
  698. false
  699. ]
  700. },
  701. {
  702. "type": "object",
  703. "properties": {
  704. "compare": {
  705. "type": "boolean"
  706. },
  707. "history": {
  708. "type": "boolean"
  709. },
  710. "remote": {
  711. "type": "boolean"
  712. }
  713. }
  714. }
  715. ]
  716. },
  717. "explorer": {
  718. "anyOf": [
  719. {
  720. "enum": [
  721. false
  722. ]
  723. },
  724. {
  725. "type": "object",
  726. "properties": {
  727. "compare": {
  728. "type": "boolean"
  729. },
  730. "history": {
  731. "type": "boolean"
  732. },
  733. "remote": {
  734. "type": "boolean"
  735. }
  736. }
  737. }
  738. ]
  739. }
  740. }
  741. }
  742. ],
  743. "default": {
  744. "editor": {
  745. "blame": false,
  746. "clipboard": true,
  747. "compare": true,
  748. "details": true,
  749. "history": false,
  750. "remote": true
  751. },
  752. "editorGroup": {
  753. "blame": true,
  754. "compare": true,
  755. "history": false,
  756. "remote": false
  757. },
  758. "editorTab": {
  759. "compare": false,
  760. "history": false,
  761. "remote": true
  762. },
  763. "explorer": {
  764. "compare": true,
  765. "history": true,
  766. "remote": true
  767. }
  768. },
  769. "description": "Specifies which commands will be added to which menus",
  770. "scope": "window"
  771. },
  772. "gitlens.mode.active": {
  773. "type": "string",
  774. "description": "Specifies the active GitLens mode, if any",
  775. "scope": "window"
  776. },
  777. "gitlens.mode.statusBar.enabled": {
  778. "type": "boolean",
  779. "default": true,
  780. "description": "Specifies whether to provide the active GitLens mode on the status bar",
  781. "scope": "window"
  782. },
  783. "gitlens.mode.statusBar.alignment": {
  784. "type": "string",
  785. "default": "right",
  786. "enum": [
  787. "left",
  788. "right"
  789. ],
  790. "description": "Specifies the active GitLens mode alignment in the status bar\n `left` - align to the left\n `right` - align to the right",
  791. "scope": "window"
  792. },
  793. "gitlens.modes": {
  794. "type": "object",
  795. "properties": {
  796. "zen": {
  797. "type": "object",
  798. "required": [
  799. "name"
  800. ],
  801. "properties": {
  802. "name": {
  803. "type": "string"
  804. },
  805. "statusBarItemName": {
  806. "type": "string"
  807. },
  808. "description": {
  809. "type": "string"
  810. },
  811. "codeLens": {
  812. "type": "boolean"
  813. },
  814. "currentLine": {
  815. "type": "boolean"
  816. },
  817. "explorers": {
  818. "type": "boolean"
  819. },
  820. "hovers": {
  821. "type": "boolean"
  822. },
  823. "statusBar": {
  824. "type": "boolean"
  825. }
  826. }
  827. },
  828. "review": {
  829. "type": "object",
  830. "required": [
  831. "name"
  832. ],
  833. "properties": {
  834. "name": {
  835. "type": "string"
  836. },
  837. "statusBarItemName": {
  838. "type": "string"
  839. },
  840. "description": {
  841. "type": "string"
  842. },
  843. "codeLens": {
  844. "type": "boolean"
  845. },
  846. "currentLine": {
  847. "type": "boolean"
  848. },
  849. "explorers": {
  850. "type": "boolean"
  851. },
  852. "hovers": {
  853. "type": "boolean"
  854. },
  855. "statusBar": {
  856. "type": "boolean"
  857. }
  858. }
  859. }
  860. },
  861. "additionalProperties": {
  862. "type": "object",
  863. "required": [
  864. "name"
  865. ],
  866. "properties": {
  867. "name": {
  868. "type": "string"
  869. },
  870. "statusBarItemName": {
  871. "type": "string"
  872. },
  873. "description": {
  874. "type": "string"
  875. },
  876. "codeLens": {
  877. "type": "boolean"
  878. },
  879. "currentLine": {
  880. "type": "boolean"
  881. },
  882. "explorers": {
  883. "type": "boolean"
  884. },
  885. "hovers": {
  886. "type": "boolean"
  887. },
  888. "statusBar": {
  889. "type": "boolean"
  890. }
  891. }
  892. },
  893. "default": {
  894. "zen": {
  895. "name": "Zen",
  896. "statusBarItemName": "Zen",
  897. "description": "for a zen-like experience, disables many visual features",
  898. "codeLens": false,
  899. "currentLine": false,
  900. "explorers": false,
  901. "hovers": false,
  902. "statusBar": false
  903. },
  904. "review": {
  905. "name": "Review",
  906. "statusBarItemName": "Reviewing",
  907. "description": "for reviewing code, enables many visual features",
  908. "codeLens": true,
  909. "currentLine": true,
  910. "hovers": true
  911. }
  912. },
  913. "description": "Specifies the user-defined GitLens modes",
  914. "scope": "window"
  915. },
  916. "gitlens.outputLevel": {
  917. "type": "string",
  918. "default": "silent",
  919. "enum": [
  920. "silent",
  921. "errors",
  922. "verbose",
  923. "debug"
  924. ],
  925. "description": "Specifies how much (if any) output will be sent to the GitLens output channel",
  926. "scope": "window"
  927. },
  928. "gitlens.recentChanges.highlight.locations": {
  929. "type": "array",
  930. "default": [
  931. "gutter",
  932. "line",
  933. "overview"
  934. ],
  935. "items": {
  936. "type": "string",
  937. "enum": [
  938. "gutter",
  939. "line",
  940. "overview"
  941. ]
  942. },
  943. "minItems": 1,
  944. "maxItems": 3,
  945. "uniqueItems": true,
  946. "description": "Specifies where the highlights of the recently changed lines will be shown\n `gutter` - adds a gutter glyph\n `line` - adds a full-line highlight background color\n `overview` - adds a decoration to the overview ruler (scroll bar)",
  947. "scope": "window"
  948. },
  949. "gitlens.recentChanges.toggleMode": {
  950. "type": "string",
  951. "default": "file",
  952. "enum": [
  953. "file",
  954. "window"
  955. ],
  956. "description": "Specifies how the recently changed lines annotations will be toggled\n `file` - toggle each file individually\n `window` - toggle the window, i.e. all files at once",
  957. "scope": "window"
  958. },
  959. "gitlens.remotes": {
  960. "type": "array",
  961. "default": null,
  962. "items": {
  963. "type": "object",
  964. "required": [
  965. "type",
  966. "domain"
  967. ],
  968. "properties": {
  969. "type": {
  970. "type": "string",
  971. "enum": [
  972. "Bitbucket",
  973. "BitbucketServer",
  974. "Custom",
  975. "GitHub",
  976. "GitLab"
  977. ],
  978. "description": "Specifies the type of the custom remote service\n `Bitbucket`, `BitbucketServer`, `GitHub`, or `GitLab`"
  979. },
  980. "domain": {
  981. "type": "string",
  982. "description": "Specifies the domain name of the custom remote service"
  983. },
  984. "name": {
  985. "type": "string",
  986. "description": "Specifies an optional friendly name for the custom remote service"
  987. },
  988. "protocol": {
  989. "type": "string",
  990. "default": "https",
  991. "description": "Specifies an optional url protocol for the custom remote service"
  992. },
  993. "urls": {
  994. "type": "object",
  995. "required": [
  996. "repository",
  997. "branches",
  998. "branch",
  999. "commit",
  1000. "file",
  1001. "fileInCommit",
  1002. "fileInBranch",
  1003. "fileLine",
  1004. "fileRange"
  1005. ],
  1006. "properties": {
  1007. "repository": {
  1008. "type": "string",
  1009. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  1010. },
  1011. "branches": {
  1012. "type": "string",
  1013. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  1014. },
  1015. "branch": {
  1016. "type": "string",
  1017. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  1018. },
  1019. "commit": {
  1020. "type": "string",
  1021. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  1022. },
  1023. "file": {
  1024. "type": "string",
  1025. "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"
  1026. },
  1027. "fileInBranch": {
  1028. "type": "string",
  1029. "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"
  1030. },
  1031. "fileInCommit": {
  1032. "type": "string",
  1033. "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"
  1034. },
  1035. "fileLine": {
  1036. "type": "string",
  1037. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  1038. },
  1039. "fileRange": {
  1040. "type": "string",
  1041. "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"
  1042. }
  1043. }
  1044. },
  1045. "description": "Specifies the url formats of the custom remote service"
  1046. }
  1047. },
  1048. "uniqueItems": true,
  1049. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services",
  1050. "scope": "resource"
  1051. },
  1052. "gitlens.resultsExplorer.files.compact": {
  1053. "type": "boolean",
  1054. "default": true,
  1055. "description": "Specifies whether to compact (flatten) unnecessary file nesting in the `GitLens Results` explorer\nOnly applies when displaying files as a `tree` or `auto`",
  1056. "scope": "window"
  1057. },
  1058. "gitlens.resultsExplorer.files.layout": {
  1059. "type": "string",
  1060. "default": "auto",
  1061. "enum": [
  1062. "auto",
  1063. "list",
  1064. "tree"
  1065. ],
  1066. "description": "Specifies how the `GitLens Results` explorer will display files\n `auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.gitExplorer.files.threshold` setting and the number of files at each nesting level\n `list` - displays files as a list\n `tree` - displays files as a tree",
  1067. "scope": "window"
  1068. },
  1069. "gitlens.resultsExplorer.files.threshold": {
  1070. "type": "number",
  1071. "default": 5,
  1072. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `GitLens Results` explorer\nOnly applies when displaying files as `auto`",
  1073. "scope": "window"
  1074. },
  1075. "gitlens.resultsExplorer.location": {
  1076. "type": "string",
  1077. "default": "explorer",
  1078. "enum": [
  1079. "explorer",
  1080. "scm"
  1081. ],
  1082. "description": "Specifies where to show the `GitLens Results` explorer\n `explorer` - adds to the Explorer view\n `scm` - adds to the Source Control view",
  1083. "scope": "window"
  1084. },
  1085. "gitlens.settings.mode": {
  1086. "type": "string",
  1087. "default": "simple",
  1088. "enum": [
  1089. "simple",
  1090. "advanced"
  1091. ],
  1092. "description": "Specifies the display mode of the interactive settings editor\n `simple` - only displays common settings\n `advanced` - displays all settings",
  1093. "scope": "window"
  1094. },
  1095. "gitlens.showWhatsNewAfterUpgrades": {
  1096. "type": "boolean",
  1097. "default": true,
  1098. "description": "Specifies whether to show What's New after upgrading to new feature releases",
  1099. "scope": "window"
  1100. },
  1101. "gitlens.statusBar.alignment": {
  1102. "type": "string",
  1103. "default": "right",
  1104. "enum": [
  1105. "left",
  1106. "right"
  1107. ],
  1108. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right",
  1109. "scope": "window"
  1110. },
  1111. "gitlens.statusBar.command": {
  1112. "type": "string",
  1113. "default": "gitlens.showQuickCommitDetails",
  1114. "enum": [
  1115. "gitlens.toggleFileBlame",
  1116. "gitlens.diffWithPrevious",
  1117. "gitlens.diffWithWorking",
  1118. "gitlens.toggleCodeLens",
  1119. "gitlens.showQuickCommitDetails",
  1120. "gitlens.showQuickCommitFileDetails",
  1121. "gitlens.showQuickFileHistory",
  1122. "gitlens.showQuickRepoHistory"
  1123. ],
  1124. "description": "Specifies the command to be executed when the blame status bar item is clicked\n `gitlens.toggleFileBlame` - toggles file blame annotations\n `gitlens.diffWithPrevious` - compares the current line commit with the previous\n `gitlens.diffWithWorking` - compares the current line commit with the working tree\n `gitlens.toggleCodeLens` - toggles Git code lens\n `gitlens.showQuickCommitDetails` - shows a commit details quick pick\n `gitlens.showQuickCommitFileDetails` - shows a commit file details quick pick\n `gitlens.showQuickFileHistory` - shows a file history quick pick\n `gitlens.showQuickRepoHistory` - shows a branch history quick pick",
  1125. "scope": "window"
  1126. },
  1127. "gitlens.statusBar.dateFormat": {
  1128. "type": "string",
  1129. "default": null,
  1130. "description": "Specifies the date format of absolute dates shown in the blame information on the status bar. See https://momentjs.com/docs/#/displaying/format/ for valid formats",
  1131. "scope": "window"
  1132. },
  1133. "gitlens.statusBar.enabled": {
  1134. "type": "boolean",
  1135. "default": true,
  1136. "description": "Specifies whether to provide blame information on the status bar",
  1137. "scope": "window"
  1138. },
  1139. "gitlens.statusBar.format": {
  1140. "type": "string",
  1141. "default": "${authorAgoOrDate}",
  1142. "description": "Specifies the format of the status bar blame information\nAvailable tokens\n ${id} - commit id\n ${author} - commit author\n ${message} - commit message\n ${ago} - relative commit date (e.g. 1 day ago)\n ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)\n ${agoOrDate} - commit date specified by `gitlens.defaultDateStyle`\n ${authorAgo} - commit author, relative commit date\n ${authorAgoOrDate} - commit author, commit date specified by `gitlens.defaultDateStyle`\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting",
  1143. "scope": "window"
  1144. },
  1145. "gitlens.statusBar.reduceFlicker": {
  1146. "type": "boolean",
  1147. "default": false,
  1148. "description": "Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar \"flashing\"",
  1149. "scope": "window"
  1150. },
  1151. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  1152. "type": "string",
  1153. "default": "Unsaved changes (cannot determine recent change or authors)",
  1154. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes",
  1155. "scope": "window"
  1156. },
  1157. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  1158. "type": "string",
  1159. "default": "Unsaved changes (cannot determine recent change)",
  1160. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes",
  1161. "scope": "window"
  1162. },
  1163. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  1164. "type": "string",
  1165. "default": "Unsaved changes (cannot determine authors)",
  1166. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes",
  1167. "scope": "window"
  1168. },
  1169. "gitlens.advanced.blame.customArguments": {
  1170. "type": "array",
  1171. "default": null,
  1172. "items": {
  1173. "type": "string"
  1174. },
  1175. "description": "Specifies additional arguments to pass to the `git blame` command",
  1176. "scope": "resource"
  1177. },
  1178. "gitlens.advanced.blame.delayAfterEdit": {
  1179. "type": "number",
  1180. "default": 5000,
  1181. "description": "Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait",
  1182. "scope": "window"
  1183. },
  1184. "gitlens.advanced.blame.sizeThresholdAfterEdit": {
  1185. "type": "number",
  1186. "default": 5000,
  1187. "description": "Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum",
  1188. "scope": "window"
  1189. },
  1190. "gitlens.advanced.caching.enabled": {
  1191. "type": "boolean",
  1192. "default": true,
  1193. "description": "Specifies whether git output will be cached -- changing the default is not recommended",
  1194. "scope": "window"
  1195. },
  1196. "gitlens.advanced.git": {
  1197. "type": "string",
  1198. "default": null,
  1199. "description": "Specifies the path to the git executable to use. Use as a last resort as GitLens will use the built-in `git.path` setting first",
  1200. "scope": "window"
  1201. },
  1202. "gitlens.advanced.fileHistoryFollowsRenames": {
  1203. "type": "boolean",
  1204. "default": true,
  1205. "description": "Specifies whether file histories will follow renames -- will affect how merge commits are shown in histories",
  1206. "scope": "window"
  1207. },
  1208. "gitlens.advanced.maxListItems": {
  1209. "type": "number",
  1210. "default": 200,
  1211. "description": "Specifies the maximum number of items to show in a list. Use 0 to specify no maximum",
  1212. "scope": "window"
  1213. },
  1214. "gitlens.advanced.messages": {
  1215. "type": "object",
  1216. "default": {
  1217. "suppressCommitHasNoPreviousCommitWarning": false,
  1218. "suppressCommitNotFoundWarning": false,
  1219. "suppressFileNotUnderSourceControlWarning": false,
  1220. "suppressGitDisabledWarning": false,
  1221. "suppressGitVersionWarning": false,
  1222. "suppressLineUncommittedWarning": false,
  1223. "suppressNoRepositoryWarning": false,
  1224. "suppressShowKeyBindingsNotice": false
  1225. },
  1226. "properties": {
  1227. "suppressCommitHasNoPreviousCommitWarning": {
  1228. "type": "boolean",
  1229. "default": false
  1230. },
  1231. "suppressCommitNotFoundWarning": {
  1232. "type": "boolean",
  1233. "default": false
  1234. },
  1235. "suppressFileNotUnderSourceControlWarning": {
  1236. "type": "boolean",
  1237. "default": false
  1238. },
  1239. "suppressGitDisabledWarning": {
  1240. "type": "boolean",
  1241. "default": false
  1242. },
  1243. "suppressGitVersionWarning": {
  1244. "type": "boolean",
  1245. "default": false
  1246. },
  1247. "suppressLineUncommittedWarning": {
  1248. "type": "boolean",
  1249. "default": false
  1250. },
  1251. "suppressNoRepositoryWarning": {
  1252. "type": "boolean",
  1253. "default": false
  1254. },
  1255. "suppressShowKeyBindingsNotice": {
  1256. "type": "boolean",
  1257. "default": false
  1258. }
  1259. },
  1260. "description": "Specifies which messages should be suppressed",
  1261. "scope": "window"
  1262. },
  1263. "gitlens.advanced.quickPick.closeOnFocusOut": {
  1264. "type": "boolean",
  1265. "default": true,
  1266. "description": "Specifies whether to close QuickPick menus when focus is lost",
  1267. "scope": "window"
  1268. },
  1269. "gitlens.advanced.repositorySearchDepth": {
  1270. "type": "number",
  1271. "default": 1,
  1272. "description": "Specifies how many folders deep to search for repositories",
  1273. "scope": "resource"
  1274. },
  1275. "gitlens.advanced.telemetry.enabled": {
  1276. "type": "boolean",
  1277. "default": true,
  1278. "description": "Specifies whether to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting",
  1279. "scope": "window"
  1280. }
  1281. }
  1282. },
  1283. "colors": [
  1284. {
  1285. "id": "gitlens.gutterBackgroundColor",
  1286. "description": "Specifies the background color of the gutter blame annotations",
  1287. "defaults": {
  1288. "dark": "#FFFFFF13",
  1289. "light": "#0000000C",
  1290. "highContrast": "#FFFFFF13"
  1291. }
  1292. },
  1293. {
  1294. "id": "gitlens.gutterForegroundColor",
  1295. "description": "Specifies the foreground color of the gutter blame annotations",
  1296. "defaults": {
  1297. "dark": "#BEBEBE",
  1298. "light": "#747474",
  1299. "highContrast": "#BEBEBE"
  1300. }
  1301. },
  1302. {
  1303. "id": "gitlens.gutterUncommittedForegroundColor",
  1304. "description": "Specifies the foreground color of an uncommitted line in the gutter blame annotations",
  1305. "defaults": {
  1306. "dark": "#00BCF299",
  1307. "light": "#00BCF299",
  1308. "highContrast": "#00BCF2FF"
  1309. }
  1310. },
  1311. {
  1312. "id": "gitlens.trailingLineBackgroundColor",
  1313. "description": "Specifies the background color of the blame annotation for the current line",
  1314. "defaults": {
  1315. "dark": "#00000000",
  1316. "light": "#00000000",
  1317. "highContrast": "#00000000"
  1318. }
  1319. },
  1320. {
  1321. "id": "gitlens.trailingLineForegroundColor",
  1322. "description": "Specifies the foreground color of the blame annotation for the current line",
  1323. "defaults": {
  1324. "dark": "#99999959",
  1325. "light": "#99999959",
  1326. "highContrast": "#99999999"
  1327. }
  1328. },
  1329. {
  1330. "id": "gitlens.lineHighlightBackgroundColor",
  1331. "description": "Specifies the background color of the associated line highlights in blame annotations",
  1332. "defaults": {
  1333. "dark": "#00BCF233",
  1334. "light": "#00BCF233",
  1335. "highContrast": "#00BCF233"
  1336. }
  1337. },
  1338. {
  1339. "id": "gitlens.lineHighlightOverviewRulerColor",
  1340. "description": "Specifies the overview ruler color of the associated line highlights in blame annotations",
  1341. "defaults": {
  1342. "dark": "#00BCF299",
  1343. "light": "#00BCF299",
  1344. "highContrast": "#00BCF299"
  1345. }
  1346. }
  1347. ],
  1348. "commands": [
  1349. {
  1350. "command": "gitlens.showSettingsPage",
  1351. "title": "Open Settings",
  1352. "category": "GitLens"
  1353. },
  1354. {
  1355. "command": "gitlens.showWelcomePage",
  1356. "title": "Welcome",
  1357. "category": "GitLens"
  1358. },
  1359. {
  1360. "command": "gitlens.showGitExplorer",
  1361. "title": "Show GitLens Explorer",
  1362. "category": "GitLens"
  1363. },
  1364. {
  1365. "command": "gitlens.showHistoryExplorer",
  1366. "title": "Show History Explorer",
  1367. "category": "GitLens"
  1368. },
  1369. {
  1370. "command": "gitlens.showResultsExplorer",
  1371. "title": "Show Results Explorer",
  1372. "category": "GitLens"
  1373. },
  1374. {
  1375. "command": "gitlens.diffDirectory",
  1376. "title": "Directory Compare Working Tree with...",
  1377. "category": "GitLens"
  1378. },
  1379. {
  1380. "command": "gitlens.diffHeadWithBranch",
  1381. "title": "Compare HEAD with Branch or Tag...",
  1382. "category": "GitLens"
  1383. },
  1384. {
  1385. "command": "gitlens.diffWorkingWithBranch",
  1386. "title": "Compare Working Tree with Branch or Tag...",
  1387. "category": "GitLens"
  1388. },
  1389. {
  1390. "command": "gitlens.diffWith",
  1391. "title": "Compare File Revisions",
  1392. "category": "GitLens"
  1393. },
  1394. {
  1395. "command": "gitlens.diffWithBranch",
  1396. "title": "Compare File with Branch or Tag...",
  1397. "category": "GitLens"
  1398. },
  1399. {
  1400. "command": "gitlens.diffWithNext",
  1401. "title": "Compare File with Next Revision",
  1402. "category": "GitLens",
  1403. "icon": {
  1404. "dark": "images/dark/icon-next-commit.svg",
  1405. "light": "images/light/icon-next-commit.svg"
  1406. }
  1407. },
  1408. {
  1409. "command": "gitlens.diffWithPrevious",
  1410. "title": "Compare File with Previous Revision",
  1411. "category": "GitLens",
  1412. "icon": {
  1413. "dark": "images/dark/icon-prev-commit.svg",
  1414. "light": "images/light/icon-prev-commit.svg"
  1415. }
  1416. },
  1417. {
  1418. "command": "gitlens.diffWithPreviousInDiff",
  1419. "title": "Compare File with Previous Revision",
  1420. "category": "GitLens",
  1421. "icon": {
  1422. "dark": "images/dark/icon-prev-commit.svg",
  1423. "light": "images/light/icon-prev-commit.svg"
  1424. }
  1425. },
  1426. {
  1427. "command": "gitlens.diffLineWithPrevious",
  1428. "title": "Compare Commit with Previous",
  1429. "category": "GitLens"
  1430. },
  1431. {
  1432. "command": "gitlens.diffWithRevision",
  1433. "title": "Compare File with Revision...",
  1434. "category": "GitLens"
  1435. },
  1436. {
  1437. "command": "gitlens.diffWithWorking",
  1438. "title": "Compare File with Working Revision",
  1439. "category": "GitLens"
  1440. },
  1441. {
  1442. "command": "gitlens.diffLineWithWorking",
  1443. "title": "Compare Commit with Working File",
  1444. "category": "GitLens"
  1445. },
  1446. {
  1447. "command": "gitlens.toggleFileBlame",
  1448. "title": "Toggle File Blame Annotations",
  1449. "category": "GitLens",
  1450. "icon": {
  1451. "dark": "images/dark/git-icon.svg",
  1452. "light": "images/light/git-icon.svg"
  1453. }
  1454. },
  1455. {
  1456. "command": "gitlens.clearFileAnnotations",
  1457. "title": "Clear File Annotations",
  1458. "category": "GitLens",
  1459. "icon": {
  1460. "dark": "images/dark/git-icon-orange.svg",
  1461. "light": "images/light/git-icon-orange.svg"
  1462. }
  1463. },
  1464. {
  1465. "command": "gitlens.computingFileAnnotations",
  1466. "title": "Computing File Annotations...",
  1467. "category": "GitLens",
  1468. "icon": {
  1469. "dark": "images/dark/git-icon-progress.svg",
  1470. "light": "images/light/git-icon-progress.svg"
  1471. }
  1472. },
  1473. {
  1474. "command": "gitlens.toggleFileHeatmap",
  1475. "title": "Toggle File Heatmap Annotations",
  1476. "category": "GitLens"
  1477. },
  1478. {
  1479. "command": "gitlens.toggleFileRecentChanges",
  1480. "title": "Toggle Recent File Changes Annotations",
  1481. "category": "GitLens",
  1482. "icon": {
  1483. "dark": "images/dark/git-icon.svg",
  1484. "light": "images/light/git-icon.svg"
  1485. }
  1486. },
  1487. {
  1488. "command": "gitlens.toggleLineBlame",
  1489. "title": "Toggle Line Blame Annotations",
  1490. "category": "GitLens"
  1491. },
  1492. {
  1493. "command": "gitlens.toggleCodeLens",
  1494. "title": "Toggle Git Code Lens",
  1495. "category": "GitLens"
  1496. },
  1497. {
  1498. "command": "gitlens.switchMode",
  1499. "title": "Switch Mode",
  1500. "category": "GitLens"
  1501. },
  1502. {
  1503. "command": "gitlens.toggleReviewMode",
  1504. "title": "Toggle Review Mode",
  1505. "category": "GitLens"
  1506. },
  1507. {
  1508. "command": "gitlens.toggleZenMode",
  1509. "title": "Toggle Zen Mode",
  1510. "category": "GitLens"
  1511. },
  1512. {
  1513. "command": "gitlens.showCommitSearch",
  1514. "title": "Search Commits",
  1515. "category": "GitLens",
  1516. "icon": {
  1517. "dark": "images/dark/icon-search.svg",
  1518. "light": "images/light/icon-search.svg"
  1519. }
  1520. },
  1521. {
  1522. "command": "gitlens.showLastQuickPick",
  1523. "title": "Show Last Opened Quick Pick",
  1524. "category": "GitLens"
  1525. },
  1526. {
  1527. "command": "gitlens.showQuickCommitDetails",
  1528. "title": "Show Commit Details",
  1529. "category": "GitLens"
  1530. },
  1531. {
  1532. "command": "gitlens.showQuickCommitFileDetails",
  1533. "title": "Show Commit Details",
  1534. "category": "GitLens"
  1535. },
  1536. {
  1537. "command": "gitlens.showQuickFileHistory",
  1538. "title": "Show File History",
  1539. "category": "GitLens"
  1540. },
  1541. {
  1542. "command": "gitlens.showQuickBranchHistory",
  1543. "title": "Show Branch History",
  1544. "category": "GitLens"
  1545. },
  1546. {
  1547. "command": "gitlens.showQuickRepoHistory",
  1548. "title": "Show Current Branch History",
  1549. "category": "GitLens"
  1550. },
  1551. {
  1552. "command": "gitlens.showQuickRepoStatus",
  1553. "title": "Show Repository Status",
  1554. "category": "GitLens"
  1555. },
  1556. {
  1557. "command": "gitlens.showQuickStashList",
  1558. "title": "Show Stashed Changes",
  1559. "category": "GitLens"
  1560. },
  1561. {
  1562. "command": "gitlens.copyShaToClipboard",
  1563. "title": "Copy Commit ID to Clipboard",
  1564. "category": "GitLens"
  1565. },
  1566. {
  1567. "command": "gitlens.copyMessageToClipboard",
  1568. "title": "Copy Commit Message to Clipboard",
  1569. "category": "GitLens"
  1570. },
  1571. {
  1572. "command": "gitlens.closeUnchangedFiles",
  1573. "title": "Close Unchanged Files",
  1574. "category": "GitLens"
  1575. },
  1576. {
  1577. "command": "gitlens.openChangedFiles",
  1578. "title": "Open Changed Files",
  1579. "category": "GitLens"
  1580. },
  1581. {
  1582. "command": "gitlens.openBranchesInRemote",
  1583. "title": "Open Branches in Remote",
  1584. "category": "GitLens"
  1585. },
  1586. {
  1587. "command": "gitlens.openBranchInRemote",
  1588. "title": "Open Branch in Remote",
  1589. "category": "GitLens"
  1590. },
  1591. {
  1592. "command": "gitlens.openCommitInRemote",
  1593. "title": "Open Commit in Remote",
  1594. "category": "GitLens"
  1595. },
  1596. {
  1597. "command": "gitlens.openFileInRemote",
  1598. "title": "Open File in Remote",
  1599. "category": "GitLens"
  1600. },
  1601. {
  1602. "command": "gitlens.openFileRevision",
  1603. "title": "Open Revision...",
  1604. "category": "GitLens"
  1605. },
  1606. {
  1607. "command": "gitlens.openRepoInRemote",
  1608. "title": "Open Repository in Remote",
  1609. "category": "GitLens"
  1610. },
  1611. {
  1612. "command": "gitlens.openWorkingFile",
  1613. "title": "Open Working File",
  1614. "category": "GitLens",
  1615. "icon": {
  1616. "dark": "images/dark/icon-open-working-file.svg",
  1617. "light": "images/light/icon-open-working-file.svg"
  1618. }
  1619. },
  1620. {
  1621. "command": "gitlens.stashApply",
  1622. "title": "Apply Stashed Changes",
  1623. "category": "GitLens"
  1624. },
  1625. {
  1626. "command": "gitlens.stashDelete",
  1627. "title": "Delete Stashed Changes",
  1628. "category": "GitLens"
  1629. },
  1630. {
  1631. "command": "gitlens.stashSave",
  1632. "title": "Stash Changes",
  1633. "category": "GitLens",
  1634. "icon": {
  1635. "dark": "images/dark/icon-add.svg",
  1636. "light": "images/light/icon-add.svg"
  1637. }
  1638. },
  1639. {
  1640. "command": "gitlens.externalDiff",
  1641. "title": "Open Changes (with difftool)",
  1642. "category": "GitLens"
  1643. },
  1644. {
  1645. "command": "gitlens.externalDiffAll",
  1646. "title": "Open All Changes (with difftool)",
  1647. "category": "GitLens"
  1648. },
  1649. {
  1650. "command": "gitlens.resetSuppressedWarnings",
  1651. "title": "Reset Suppressed Warnings",
  1652. "category": "GitLens"
  1653. },
  1654. {
  1655. "command": "gitlens.explorers.openDirectoryDiff",
  1656. "title": "Open Directory Compare",
  1657. "category": "GitLens"
  1658. },
  1659. {
  1660. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  1661. "title": "Open Directory Compare with Working Tree",
  1662. "category": "GitLens"
  1663. },
  1664. {
  1665. "command": "gitlens.explorers.openChanges",
  1666. "title": "Open Changes",
  1667. "category": "GitLens"
  1668. },
  1669. {
  1670. "command": "gitlens.explorers.openChangesWithWorking",
  1671. "title": "Open Changes with Working File",
  1672. "category": "GitLens"
  1673. },
  1674. {
  1675. "command": "gitlens.explorers.openFile",
  1676. "title": "Open File",
  1677. "category": "GitLens",
  1678. "icon": {
  1679. "dark": "images/dark/icon-open-file.svg",
  1680. "light": "images/light/icon-open-file.svg"
  1681. }
  1682. },
  1683. {
  1684. "command": "gitlens.explorers.openFileRevision",
  1685. "title": "Open Revision",
  1686. "category": "GitLens"
  1687. },
  1688. {
  1689. "command": "gitlens.explorers.openFileRevisionInRemote",
  1690. "title": "Open Revision in Remote",
  1691. "category": "GitLens"
  1692. },
  1693. {
  1694. "command": "gitlens.explorers.openChangedFiles",
  1695. "title": "Open Files",
  1696. "category": "GitLens"
  1697. },
  1698. {
  1699. "command": "gitlens.explorers.openChangedFileChanges",
  1700. "title": "Open All Changes",
  1701. "category": "GitLens"
  1702. },
  1703. {
  1704. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  1705. "title": "Open All Changes with Working Tree",
  1706. "category": "GitLens"
  1707. },
  1708. {
  1709. "command": "gitlens.explorers.openChangedFileRevisions",
  1710. "title": "Open Revisions",
  1711. "category": "GitLens"
  1712. },
  1713. {
  1714. "command": "gitlens.explorers.applyChanges",
  1715. "title": "Apply Changes",
  1716. "category": "GitLens"
  1717. },
  1718. {
  1719. "command": "gitlens.explorers.closeRepository",
  1720. "title": "Close Repository",
  1721. "category": "GitLens"
  1722. },
  1723. {
  1724. "command": "gitlens.explorers.compareAncestryWithWorking",
  1725. "title": "Compare Ancestry with Working Tree",
  1726. "category": "GitLens"
  1727. },
  1728. {
  1729. "command": "gitlens.explorers.compareWithHead",
  1730. "title": "Compare with HEAD",
  1731. "category": "GitLens"
  1732. },
  1733. {
  1734. "command": "gitlens.explorers.compareWithRemote",
  1735. "title": "Compare with Remote",
  1736. "category": "GitLens"
  1737. },
  1738. {
  1739. "command": "gitlens.explorers.compareWithSelected",
  1740. "title": "Compare with Selected",
  1741. "category": "GitLens"
  1742. },
  1743. {
  1744. "command": "gitlens.explorers.compareWithWorking",
  1745. "title": "Compare with Working Tree",
  1746. "category": "GitLens"
  1747. },
  1748. {
  1749. "command": "gitlens.explorers.selectForCompare",
  1750. "title": "Select for Compare",
  1751. "category": "GitLens"
  1752. },
  1753. {
  1754. "command": "gitlens.explorers.terminalCheckoutBranch",
  1755. "title": "Checkout Branch (via Terminal)",
  1756. "category": "GitLens"
  1757. },
  1758. {
  1759. "command": "gitlens.explorers.terminalCreateBranch",
  1760. "title": "Create Branch (via Terminal)...",
  1761. "category": "GitLens"
  1762. },
  1763. {
  1764. "command": "gitlens.explorers.terminalDeleteBranch",
  1765. "title": "Delete Branch (via Terminal)",
  1766. "category": "GitLens"
  1767. },
  1768. {
  1769. "command": "gitlens.explorers.terminalMergeBranch",
  1770. "title": "Merge Branch (via Terminal)",
  1771. "category": "GitLens"
  1772. },
  1773. {
  1774. "command": "gitlens.explorers.terminalRebaseBranch",
  1775. "title": "Rebase (Interactive) Branch (via Terminal)",
  1776. "category": "GitLens"
  1777. },
  1778. {
  1779. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  1780. "title": "Rebase (Interactive) Branch to Remote (via Terminal)",
  1781. "category": "GitLens"
  1782. },
  1783. {
  1784. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  1785. "title": "Squash Branch into Commit (via Terminal)",
  1786. "category": "GitLens"
  1787. },
  1788. {
  1789. "command": "gitlens.explorers.terminalCherryPickCommit",
  1790. "title": "Cherry Pick Commit (via Terminal)",
  1791. "category": "GitLens"
  1792. },
  1793. {
  1794. "command": "gitlens.explorers.terminalPushCommit",
  1795. "title": "Push to Commit (via Terminal)",
  1796. "category": "GitLens"
  1797. },
  1798. {
  1799. "command": "gitlens.explorers.terminalRebaseCommit",
  1800. "title": "Rebase to Commit (via Terminal)",
  1801. "category": "GitLens"
  1802. },
  1803. {
  1804. "command": "gitlens.explorers.terminalResetCommit",
  1805. "title": "Reset to Commit (via Terminal)",
  1806. "category": "GitLens"
  1807. },
  1808. {
  1809. "command": "gitlens.explorers.terminalRevertCommit",
  1810. "title": "Revert Commit (via Terminal)",
  1811. "category": "GitLens"
  1812. },
  1813. {
  1814. "command": "gitlens.explorers.terminalRemoveRemote",
  1815. "title": "Remove Remote (via Terminal)",
  1816. "category": "GitLens"
  1817. },
  1818. {
  1819. "command": "gitlens.explorers.terminalCreateTag",
  1820. "title": "Create Tag (via Terminal)...",
  1821. "category": "GitLens"
  1822. },
  1823. {
  1824. "command": "gitlens.explorers.terminalDeleteTag",
  1825. "title": "Delete Tag (via Terminal)",
  1826. "category": "GitLens"
  1827. },
  1828. {
  1829. "command": "gitlens.gitExplorer.undockHistory",
  1830. "title": "Undock History from GitLens Explorer",
  1831. "category": "GitLens",
  1832. "icon": {
  1833. "dark": "images/dark/icon-undock.svg",
  1834. "light": "images/light/icon-undock.svg"
  1835. }
  1836. },
  1837. {
  1838. "command": "gitlens.gitExplorer.refresh",
  1839. "title": "Refresh",
  1840. "category": "GitLens",
  1841. "icon": {
  1842. "dark": "images/dark/icon-refresh.svg",
  1843. "light": "images/light/icon-refresh.svg"
  1844. }
  1845. },
  1846. {
  1847. "command": "gitlens.gitExplorer.refreshNode",
  1848. "title": "Refresh",
  1849. "category": "GitLens"
  1850. },
  1851. {
  1852. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1853. "title": "Automatic Layout",
  1854. "category": "GitLens"
  1855. },
  1856. {
  1857. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1858. "title": "List Layout",
  1859. "category": "GitLens"
  1860. },
  1861. {
  1862. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1863. "title": "Tree Layout",
  1864. "category": "GitLens"
  1865. },
  1866. {
  1867. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1868. "title": "Enable Automatic Refresh",
  1869. "category": "GitLens"
  1870. },
  1871. {
  1872. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1873. "title": "Disable Automatic Refresh",
  1874. "category": "GitLens"
  1875. },
  1876. {
  1877. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  1878. "title": "Follow Renames",
  1879. "category": "GitLens"
  1880. },
  1881. {
  1882. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  1883. "title": "Don't Follow Renames",
  1884. "category": "GitLens"
  1885. },
  1886. {
  1887. "command": "gitlens.gitExplorer.switchToHistoryView",
  1888. "title": "Switch to History View",
  1889. "category": "GitLens",
  1890. "icon": {
  1891. "dark": "images/dark/icon-history.svg",
  1892. "light": "images/light/icon-history.svg"
  1893. }
  1894. },
  1895. {
  1896. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1897. "title": "Switch to Repository View",
  1898. "category": "GitLens",
  1899. "icon": {
  1900. "dark": "images/dark/icon-repo.svg",
  1901. "light": "images/light/icon-repo.svg"
  1902. }
  1903. },
  1904. {
  1905. "command": "gitlens.historyExplorer.close",
  1906. "title": "Close",
  1907. "category": "GitLens",
  1908. "icon": {
  1909. "dark": "images/dark/icon-close.svg",
  1910. "light": "images/light/icon-close.svg"
  1911. }
  1912. },
  1913. {
  1914. "command": "gitlens.historyExplorer.dock",
  1915. "title": "Dock History to GitLens Explorer",
  1916. "category": "GitLens",
  1917. "icon": {
  1918. "dark": "images/dark/icon-dock.svg",
  1919. "light": "images/light/icon-dock.svg"
  1920. }
  1921. },
  1922. {
  1923. "command": "gitlens.historyExplorer.refresh",
  1924. "title": "Refresh",
  1925. "category": "GitLens",
  1926. "icon": {
  1927. "dark": "images/dark/icon-refresh.svg",
  1928. "light": "images/light/icon-refresh.svg"
  1929. }
  1930. },
  1931. {
  1932. "command": "gitlens.historyExplorer.refreshNode",
  1933. "title": "Refresh",
  1934. "category": "GitLens"
  1935. },
  1936. {
  1937. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  1938. "title": "Follow Renames",
  1939. "category": "GitLens"
  1940. },
  1941. {
  1942. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  1943. "title": "Don't Follow Renames",
  1944. "category": "GitLens"
  1945. },
  1946. {
  1947. "command": "gitlens.resultsExplorer.clearResultsNode",
  1948. "title": "Clear Results",
  1949. "category": "GitLens",
  1950. "icon": {
  1951. "dark": "images/dark/icon-close-small.svg",
  1952. "light": "images/light/icon-close-small.svg"
  1953. }
  1954. },
  1955. {
  1956. "command": "gitlens.resultsExplorer.close",
  1957. "title": "Close",
  1958. "category": "GitLens",
  1959. "icon": {
  1960. "dark": "images/dark/icon-close.svg",
  1961. "light": "images/light/icon-close.svg"
  1962. }
  1963. },
  1964. {
  1965. "command": "gitlens.resultsExplorer.refresh",
  1966. "title": "Refresh",
  1967. "category": "GitLens",
  1968. "icon": {
  1969. "dark": "images/dark/icon-refresh.svg",
  1970. "light": "images/light/icon-refresh.svg"
  1971. }
  1972. },
  1973. {
  1974. "command": "gitlens.resultsExplorer.refreshNode",
  1975. "title": "Refresh",
  1976. "category": "GitLens"
  1977. },
  1978. {
  1979. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  1980. "title": "Automatic Layout",
  1981. "category": "GitLens"
  1982. },
  1983. {
  1984. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  1985. "title": "List Layout",
  1986. "category": "GitLens"
  1987. },
  1988. {
  1989. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  1990. "title": "Tree Layout",
  1991. "category": "GitLens"
  1992. },
  1993. {
  1994. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  1995. "title": "Keep Results",
  1996. "category": "GitLens",
  1997. "icon": {
  1998. "dark": "images/dark/icon-lock.svg",
  1999. "light": "images/light/icon-lock.svg"
  2000. }
  2001. },
  2002. {
  2003. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2004. "title": "Keep Results",
  2005. "category": "GitLens",
  2006. "icon": {
  2007. "dark": "images/dark/icon-locked.svg",
  2008. "light": "images/light/icon-locked.svg"
  2009. }
  2010. },
  2011. {
  2012. "command": "gitlens.resultsExplorer.swapComparision",
  2013. "title": "Swap Comparision",
  2014. "category": "GitLens",
  2015. "icon": {
  2016. "dark": "images/dark/icon-swap.svg",
  2017. "light": "images/light/icon-swap.svg"
  2018. }
  2019. }
  2020. ],
  2021. "menus": {
  2022. "commandPalette": [
  2023. {
  2024. "command": "gitlens.showGitExplorer",
  2025. "when": "gitlens:enabled && gitlens:gitExplorer"
  2026. },
  2027. {
  2028. "command": "gitlens.showHistoryExplorer",
  2029. "when": "gitlens:enabled && gitlens:historyExplorer"
  2030. },
  2031. {
  2032. "command": "gitlens.showHistoryExplorer",
  2033. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer"
  2034. },
  2035. {
  2036. "command": "gitlens.showResultsExplorer",
  2037. "when": "gitlens:enabled && gitlens:resultsExplorer"
  2038. },
  2039. {
  2040. "command": "gitlens.diffDirectory",
  2041. "when": "gitlens:enabled"
  2042. },
  2043. {
  2044. "command": "gitlens.diffHeadWithBranch",
  2045. "when": "gitlens:enabled"
  2046. },
  2047. {
  2048. "command": "gitlens.diffWorkingWithBranch",
  2049. "when": "gitlens:enabled"
  2050. },
  2051. {
  2052. "command": "gitlens.diffWith",
  2053. "when": "false"
  2054. },
  2055. {
  2056. "command": "gitlens.diffWithBranch",
  2057. "when": "gitlens:activeIsTracked"
  2058. },
  2059. {
  2060. "command": "gitlens.diffWithNext",
  2061. "when": "gitlens:activeIsTracked && gitlens:activeIsRevision"
  2062. },
  2063. {
  2064. "command": "gitlens.diffWithPrevious",
  2065. "when": "!isInDiffEditor && gitlens:activeIsTracked"
  2066. },
  2067. {
  2068. "command": "gitlens.diffWithPreviousInDiff",
  2069. "when": "isInDiffEditor && gitlens:activeIsTracked"
  2070. },
  2071. {
  2072. "command": "gitlens.diffLineWithPrevious",
  2073. "when": "gitlens:activeIsBlameable"
  2074. },
  2075. {
  2076. "command": "gitlens.diffWithRevision",
  2077. "when": "gitlens:activeIsTracked"
  2078. },
  2079. {
  2080. "command": "gitlens.diffWithWorking",
  2081. "when": "gitlens:activeIsTracked"
  2082. },
  2083. {
  2084. "command": "gitlens.diffLineWithWorking",
  2085. "when": "gitlens:activeIsBlameable"
  2086. },
  2087. {
  2088. "command": "gitlens.externalDiff",
  2089. "when": "gitlens:enabled"
  2090. },
  2091. {
  2092. "command": "gitlens.externalDiffAll",
  2093. "when": "gitlens:enabled"
  2094. },
  2095. {
  2096. "command": "gitlens.toggleFileBlame",
  2097. "when": "gitlens:activeIsBlameable"
  2098. },
  2099. {
  2100. "command": "gitlens.clearFileAnnotations",
  2101. "when": "gitlens:activeIsBlameable && gitlens:annotationStatus == computed"
  2102. },
  2103. {
  2104. "command": "gitlens.computingFileAnnotations",
  2105. "when": "false"
  2106. },
  2107. {
  2108. "command": "gitlens.toggleFileHeatmap",
  2109. "when": "gitlens:activeIsBlameable"
  2110. },
  2111. {
  2112. "command": "gitlens.toggleFileRecentChanges",
  2113. "when": "gitlens:activeIsBlameable"
  2114. },
  2115. {
  2116. "command": "gitlens.toggleLineBlame",
  2117. "when": "gitlens:enabled"
  2118. },
  2119. {
  2120. "command": "gitlens.toggleCodeLens",
  2121. "when": "gitlens:enabled && gitlens:canToggleCodeLens"
  2122. },
  2123. {
  2124. "command": "gitlens.switchMode",
  2125. "when": "gitlens:enabled"
  2126. },
  2127. {
  2128. "command": "gitlens.toggleReviewMode",
  2129. "when": "gitlens:enabled"
  2130. },
  2131. {
  2132. "command": "gitlens.toggleZenMode",
  2133. "when": "gitlens:enabled"
  2134. },
  2135. {
  2136. "command": "gitlens.showCommitSearch",
  2137. "when": "gitlens:enabled"
  2138. },
  2139. {
  2140. "command": "gitlens.showLastQuickPick",
  2141. "when": "gitlens:enabled"
  2142. },
  2143. {
  2144. "command": "gitlens.showQuickCommitDetails",
  2145. "when": "gitlens:activeIsBlameable"
  2146. },
  2147. {
  2148. "command": "gitlens.showQuickCommitFileDetails",
  2149. "when": "editorTextFocus && gitlens:activeIsBlameable"
  2150. },
  2151. {
  2152. "command": "gitlens.showQuickFileHistory",
  2153. "when": "gitlens:activeIsTracked"
  2154. },
  2155. {
  2156. "command": "gitlens.showQuickBranchHistory",
  2157. "when": "gitlens:enabled"
  2158. },
  2159. {
  2160. "command": "gitlens.showQuickRepoHistory",
  2161. "when": "gitlens:enabled"
  2162. },
  2163. {
  2164. "command": "gitlens.showQuickRepoStatus",
  2165. "when": "gitlens:enabled"
  2166. },
  2167. {
  2168. "command": "gitlens.showQuickStashList",
  2169. "when": "gitlens:enabled"
  2170. },
  2171. {
  2172. "command": "gitlens.copyShaToClipboard",
  2173. "when": "gitlens:activeIsBlameable"
  2174. },
  2175. {
  2176. "command": "gitlens.copyMessageToClipboard",
  2177. "when": "gitlens:activeIsBlameable"
  2178. },
  2179. {
  2180. "command": "gitlens.closeUnchangedFiles",
  2181. "when": "gitlens:enabled"
  2182. },
  2183. {
  2184. "command": "gitlens.openChangedFiles",
  2185. "when": "gitlens:enabled"
  2186. },
  2187. {
  2188. "command": "gitlens.openBranchesInRemote",
  2189. "when": "gitlens:hasRemotes"
  2190. },
  2191. {
  2192. "command": "gitlens.openBranchInRemote",
  2193. "when": "gitlens:hasRemotes"
  2194. },
  2195. {
  2196. "command": "gitlens.openCommitInRemote",
  2197. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemotes"
  2198. },
  2199. {
  2200. "command": "gitlens.openFileInRemote",
  2201. "when": "gitlens:activeIsTracked && gitlens:activeHasRemotes"
  2202. },
  2203. {
  2204. "command": "gitlens.openFileRevision",
  2205. "when": "gitlens:activeIsTracked"
  2206. },
  2207. {
  2208. "command": "gitlens.openRepoInRemote",
  2209. "when": "gitlens:hasRemotes"
  2210. },
  2211. {
  2212. "command": "gitlens.openWorkingFile",
  2213. "when": "gitlens:activeIsRevision"
  2214. },
  2215. {
  2216. "command": "gitlens.stashApply",
  2217. "when": "gitlens:enabled"
  2218. },
  2219. {
  2220. "command": "gitlens.stashDelete",
  2221. "when": "false"
  2222. },
  2223. {
  2224. "command": "gitlens.stashSave",
  2225. "when": "gitlens:enabled"
  2226. },
  2227. {
  2228. "command": "gitlens.resetSuppressedWarnings",
  2229. "when": "gitlens:enabled"
  2230. },
  2231. {
  2232. "command": "gitlens.explorers.openChanges",
  2233. "when": "false"
  2234. },
  2235. {
  2236. "command": "gitlens.explorers.openDirectoryDiff",
  2237. "when": "false"
  2238. },
  2239. {
  2240. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2241. "when": "false"
  2242. },
  2243. {
  2244. "command": "gitlens.explorers.openChangesWithWorking",
  2245. "when": "false"
  2246. },
  2247. {
  2248. "command": "gitlens.explorers.openFile",
  2249. "when": "false"
  2250. },
  2251. {
  2252. "command": "gitlens.explorers.openFileRevision",
  2253. "when": "false"
  2254. },
  2255. {
  2256. "command": "gitlens.explorers.openFileRevisionInRemote",
  2257. "when": "false"
  2258. },
  2259. {
  2260. "command": "gitlens.explorers.openChangedFiles",
  2261. "when": "false"
  2262. },
  2263. {
  2264. "command": "gitlens.explorers.openChangedFileChanges",
  2265. "when": "false"
  2266. },
  2267. {
  2268. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2269. "when": "false"
  2270. },
  2271. {
  2272. "command": "gitlens.explorers.openChangedFileRevisions",
  2273. "when": "false"
  2274. },
  2275. {
  2276. "command": "gitlens.explorers.applyChanges",
  2277. "when": "false"
  2278. },
  2279. {
  2280. "command": "gitlens.explorers.closeRepository",
  2281. "when": "false"
  2282. },
  2283. {
  2284. "command": "gitlens.explorers.compareAncestryWithWorking",
  2285. "when": "false"
  2286. },
  2287. {
  2288. "command": "gitlens.explorers.compareWithHead",
  2289. "when": "false"
  2290. },
  2291. {
  2292. "command": "gitlens.explorers.compareWithRemote",
  2293. "when": "false"
  2294. },
  2295. {
  2296. "command": "gitlens.explorers.compareWithSelected",
  2297. "when": "false"
  2298. },
  2299. {
  2300. "command": "gitlens.explorers.compareWithWorking",
  2301. "when": "false"
  2302. },
  2303. {
  2304. "command": "gitlens.explorers.selectForCompare",
  2305. "when": "false"
  2306. },
  2307. {
  2308. "command": "gitlens.explorers.terminalCheckoutBranch",
  2309. "when": "false"
  2310. },
  2311. {
  2312. "command": "gitlens.explorers.terminalCreateBranch",
  2313. "when": "false"
  2314. },
  2315. {
  2316. "command": "gitlens.explorers.terminalDeleteBranch",
  2317. "when": "false"
  2318. },
  2319. {
  2320. "command": "gitlens.explorers.terminalMergeBranch",
  2321. "when": "false"
  2322. },
  2323. {
  2324. "command": "gitlens.explorers.terminalRebaseBranch",
  2325. "when": "false"
  2326. },
  2327. {
  2328. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2329. "when": "false"
  2330. },
  2331. {
  2332. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2333. "when": "false"
  2334. },
  2335. {
  2336. "command": "gitlens.explorers.terminalCherryPickCommit",
  2337. "when": "false"
  2338. },
  2339. {
  2340. "command": "gitlens.explorers.terminalPushCommit",
  2341. "when": "false"
  2342. },
  2343. {
  2344. "command": "gitlens.explorers.terminalRebaseCommit",
  2345. "when": "false"
  2346. },
  2347. {
  2348. "command": "gitlens.explorers.terminalResetCommit",
  2349. "when": "false"
  2350. },
  2351. {
  2352. "command": "gitlens.explorers.terminalRevertCommit",
  2353. "when": "false"
  2354. },
  2355. {
  2356. "command": "gitlens.explorers.terminalRemoveRemote",
  2357. "when": "false"
  2358. },
  2359. {
  2360. "command": "gitlens.explorers.terminalCreateTag",
  2361. "when": "false"
  2362. },
  2363. {
  2364. "command": "gitlens.explorers.terminalDeleteTag",
  2365. "when": "false"
  2366. },
  2367. {
  2368. "command": "gitlens.gitExplorer.refresh",
  2369. "when": "false"
  2370. },
  2371. {
  2372. "command": "gitlens.gitExplorer.refreshNode",
  2373. "when": "false"
  2374. },
  2375. {
  2376. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2377. "when": "false"
  2378. },
  2379. {
  2380. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2381. "when": "false"
  2382. },
  2383. {
  2384. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2385. "when": "false"
  2386. },
  2387. {
  2388. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2389. "when": "false"
  2390. },
  2391. {
  2392. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2393. "when": "false"
  2394. },
  2395. {
  2396. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2397. "when": "false"
  2398. },
  2399. {
  2400. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2401. "when": "false"
  2402. },
  2403. {
  2404. "command": "gitlens.gitExplorer.switchToHistoryView",
  2405. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository"
  2406. },
  2407. {
  2408. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2409. "when": "gitlens:enabled && !gitlens:historyExplorer && gitlens:gitExplorer:view == history"
  2410. },
  2411. {
  2412. "command": "gitlens.gitExplorer.undockHistory",
  2413. "when": "gitlens:enabled && !gitlens:historyExplorer"
  2414. },
  2415. {
  2416. "command": "gitlens.historyExplorer.close",
  2417. "when": "false"
  2418. },
  2419. {
  2420. "command": "gitlens.historyExplorer.dock",
  2421. "when": "gitlens:enabled && gitlens:historyExplorer"
  2422. },
  2423. {
  2424. "command": "gitlens.historyExplorer.refresh",
  2425. "when": "false"
  2426. },
  2427. {
  2428. "command": "gitlens.historyExplorer.refreshNode",
  2429. "when": "false"
  2430. },
  2431. {
  2432. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2433. "when": "false"
  2434. },
  2435. {
  2436. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2437. "when": "false"
  2438. },
  2439. {
  2440. "command": "gitlens.resultsExplorer.clearResultsNode",
  2441. "when": "false"
  2442. },
  2443. {
  2444. "command": "gitlens.resultsExplorer.close",
  2445. "when": "false"
  2446. },
  2447. {
  2448. "command": "gitlens.resultsExplorer.refresh",
  2449. "when": "false"
  2450. },
  2451. {
  2452. "command": "gitlens.resultsExplorer.refreshNode",
  2453. "when": "false"
  2454. },
  2455. {
  2456. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2457. "when": "false"
  2458. },
  2459. {
  2460. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2461. "when": "false"
  2462. },
  2463. {
  2464. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2465. "when": "false"
  2466. },
  2467. {
  2468. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2469. "when": "false"
  2470. },
  2471. {
  2472. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2473. "when": "false"
  2474. },
  2475. {
  2476. "command": "gitlens.resultsExplorer.swapComparision",
  2477. "when": "false"
  2478. }
  2479. ],
  2480. "editor/context": [
  2481. {
  2482. "command": "gitlens.diffLineWithPrevious",
  2483. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.menus.editor.compare",
  2484. "group": "1_gitlens@1"
  2485. },
  2486. {
  2487. "command": "gitlens.diffLineWithWorking",
  2488. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.menus.editor.compare",
  2489. "group": "1_gitlens@2"
  2490. },
  2491. {
  2492. "command": "gitlens.openFileInRemote",
  2493. "when": "editorTextFocus && gitlens:activeHasRemotes && config.gitlens.menus.editor.remote",
  2494. "group": "1_gitlens_1@1"
  2495. },
  2496. {
  2497. "command": "gitlens.openCommitInRemote",
  2498. "when": "editorTextFocus && gitlens:activeHasRemotes && config.gitlens.menus.editor.remote",
  2499. "group": "1_gitlens_1@2"
  2500. },
  2501. {
  2502. "command": "gitlens.showQuickCommitFileDetails",
  2503. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.menus.editor.details",
  2504. "group": "1_gitlens_1@3"
  2505. },
  2506. {
  2507. "command": "gitlens.showQuickFileHistory",
  2508. "when": "gitlens:activeIsTracked && config.gitlens.menus.editor.history",
  2509. "group": "3_gitlens@1"
  2510. },
  2511. {
  2512. "command": "gitlens.toggleFileBlame",
  2513. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.menus.editor.blame",
  2514. "group": "3_gitlens@2"
  2515. },
  2516. {
  2517. "command": "gitlens.copyShaToClipboard",
  2518. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.menus.editor.clipboard",
  2519. "group": "9_gitlens@1"
  2520. },
  2521. {
  2522. "command": "gitlens.copyMessageToClipboard",
  2523. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.menus.editor.clipboard",
  2524. "group": "9_gitlens@2"
  2525. }
  2526. ],
  2527. "editor/title": [
  2528. {
  2529. "command": "gitlens.diffWithPrevious",
  2530. "when": "editorTextFocus && !isInDiffEditor && gitlens:activeIsTracked && config.gitlens.menus.editorGroup.compare",
  2531. "group": "navigation@97"
  2532. },
  2533. {
  2534. "command": "gitlens.diffWithPreviousInDiff",
  2535. "when": "isInDiffEditor && gitlens:activeIsTracked && config.gitlens.menus.editorGroup.compare",
  2536. "group": "navigation@97"
  2537. },
  2538. {
  2539. "command": "gitlens.diffWithNext",
  2540. "when": "editorTextFocus && gitlens:activeIsTracked && gitlens:activeIsTracked && gitlens:activeIsRevision && config.gitlens.menus.editorGroup.compare",
  2541. "group": "navigation@98"
  2542. },
  2543. {
  2544. "command": "gitlens.openWorkingFile",
  2545. "when": "gitlens:activeIsRevision && resourceScheme != git",
  2546. "group": "navigation@99"
  2547. },
  2548. {
  2549. "command": "gitlens.openWorkingFile",
  2550. "when": "!gitlens:activeIsRevision && resourceScheme != git && isInDiffEditor",
  2551. "group": "navigation@99"
  2552. },
  2553. {
  2554. "command": "gitlens.openWorkingFile",
  2555. "when": "gitlens:activeIsRevision && resourceScheme == git && !isInDiffEditor",
  2556. "group": "navigation@99"
  2557. },
  2558. {
  2559. "command": "gitlens.toggleFileBlame",
  2560. "alt": "gitlens.toggleFileRecentChanges",
  2561. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.menus.editorGroup.blame",
  2562. "group": "navigation@100"
  2563. },
  2564. {
  2565. "command": "gitlens.computingFileAnnotations",
  2566. "when": "gitlens:activeIsBlameable && gitlens:annotationStatus == computing && config.gitlens.menus.editorGroup.blame",
  2567. "group": "navigation@100"
  2568. },
  2569. {
  2570. "command": "gitlens.clearFileAnnotations",
  2571. "when": "gitlens:activeIsBlameable && gitlens:annotationStatus == computed && config.gitlens.menus.editorGroup.blame",
  2572. "group": "navigation@100"
  2573. },
  2574. {
  2575. "command": "gitlens.openFileInRemote",
  2576. "when": "gitlens:enabled && gitlens:activeHasRemotes && config.gitlens.menus.editorGroup.remote",
  2577. "group": "4_gitlens"
  2578. },
  2579. {
  2580. "command": "gitlens.showQuickFileHistory",
  2581. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.menus.editorGroup.history",
  2582. "group": "4_gitlens"
  2583. }
  2584. ],
  2585. "editor/title/context": [
  2586. {
  2587. "command": "gitlens.openFileInRemote",
  2588. "when": "gitlens:enabled && gitlens:activeHasRemotes && config.gitlens.menus.editorTab.remote",
  2589. "group": "2_files@100"
  2590. },
  2591. {
  2592. "command": "gitlens.diffWithPrevious",
  2593. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2594. "group": "1_gitlens_1@1"
  2595. },
  2596. {
  2597. "command": "gitlens.diffWithWorking",
  2598. "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare",
  2599. "group": "1_gitlens_1@2"
  2600. },
  2601. {
  2602. "command": "gitlens.showQuickFileHistory",
  2603. "when": "gitlens:enabled && config.gitlens.menus.editorTab.history",
  2604. "group": "1_gitlens_2@1"
  2605. }
  2606. ],
  2607. "explorer/context": [
  2608. {
  2609. "command": "gitlens.openFileInRemote",
  2610. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.menus.explorer.remote",
  2611. "group": "navigation@100"
  2612. },
  2613. {
  2614. "command": "gitlens.showQuickFileHistory",
  2615. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.history",
  2616. "group": "1_gitlens_1@1"
  2617. },
  2618. {
  2619. "command": "gitlens.diffWithPrevious",
  2620. "when": "!explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.menus.explorer.compare",
  2621. "group": "3_compare@1"
  2622. }
  2623. ],
  2624. "scm/resourceGroup/context": [
  2625. {
  2626. "command": "gitlens.openChangedFiles",
  2627. "when": "gitlens:enabled",
  2628. "group": "2_gitlens@1"
  2629. },
  2630. {
  2631. "command": "gitlens.closeUnchangedFiles",
  2632. "when": "gitlens:enabled",
  2633. "group": "2_gitlens@2"
  2634. },
  2635. {
  2636. "command": "gitlens.externalDiff",
  2637. "when": "gitlens:enabled",
  2638. "group": "2_gitlens@3"
  2639. },
  2640. {
  2641. "command": "gitlens.externalDiffAll",
  2642. "when": "gitlens:enabled",
  2643. "group": "2_gitlens@4"
  2644. },
  2645. {
  2646. "command": "gitlens.stashSave",
  2647. "when": "gitlens:enabled",
  2648. "group": "3_gitlens@1"
  2649. }
  2650. ],
  2651. "scm/resourceState/context": [
  2652. {
  2653. "command": "gitlens.openFileInRemote",
  2654. "when": "gitlens:enabled && gitlens:hasRemotes",
  2655. "group": "navigation"
  2656. },
  2657. {
  2658. "command": "gitlens.externalDiff",
  2659. "when": "gitlens:enabled",
  2660. "group": "navigation"
  2661. },
  2662. {
  2663. "command": "gitlens.diffWithRevision",
  2664. "when": "gitlens:enabled",
  2665. "group": "1_gitlens@1"
  2666. },
  2667. {
  2668. "command": "gitlens.diffWithBranch",
  2669. "when": "gitlens:enabled",
  2670. "group": "1_gitlens@2"
  2671. },
  2672. {
  2673. "command": "gitlens.showQuickFileHistory",
  2674. "when": "gitlens:enabled",
  2675. "group": "1_gitlens_1@1"
  2676. },
  2677. {
  2678. "command": "gitlens.stashSave",
  2679. "when": "gitlens:enabled",
  2680. "group": "2_gitlens@1"
  2681. }
  2682. ],
  2683. "view/title": [
  2684. {
  2685. "command": "gitlens.showCommitSearch",
  2686. "when": "view =~ /^gitlens.gitExplorer:/",
  2687. "group": "navigation@1"
  2688. },
  2689. {
  2690. "command": "gitlens.gitExplorer.undockHistory",
  2691. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && !gitlens:historyExplorer",
  2692. "group": "navigation@2"
  2693. },
  2694. {
  2695. "command": "gitlens.gitExplorer.switchToHistoryView",
  2696. "when": "view =~ /^gitlens.gitExplorer:/ && !gitlens:historyExplorer && gitlens:gitExplorer:view == repository",
  2697. "group": "navigation@3"
  2698. },
  2699. {
  2700. "command": "gitlens.gitExplorer.switchToRepositoryView",
  2701. "when": "view =~ /^gitlens.gitExplorer:/ && !gitlens:historyExplorer && gitlens:gitExplorer:view == history",
  2702. "group": "navigation@3"
  2703. },
  2704. {
  2705. "command": "gitlens.gitExplorer.refresh",
  2706. "when": "view =~ /^gitlens.gitExplorer:/",
  2707. "group": "navigation@8"
  2708. },
  2709. {
  2710. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  2711. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2712. "group": "1_gitlens"
  2713. },
  2714. {
  2715. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  2716. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2717. "group": "1_gitlens"
  2718. },
  2719. {
  2720. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  2721. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == repository",
  2722. "group": "1_gitlens"
  2723. },
  2724. {
  2725. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  2726. "when": "view =~ /^gitlens.gitExplorer:/ && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  2727. "group": "2_gitlens"
  2728. },
  2729. {
  2730. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  2731. "when": "view =~ /^gitlens.gitExplorer:/ && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  2732. "group": "2_gitlens"
  2733. },
  2734. {
  2735. "command": "gitlens.gitExplorer.setRenameFollowingOn",
  2736. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2737. "group": "2_gitlens_1"
  2738. },
  2739. {
  2740. "command": "gitlens.gitExplorer.setRenameFollowingOff",
  2741. "when": "view =~ /^gitlens.gitExplorer:/ && gitlens:gitExplorer:view == history && config.gitlens.advanced.fileHistoryFollowsRenames",
  2742. "group": "2_gitlens_1"
  2743. },
  2744. {
  2745. "command": "gitlens.historyExplorer.refresh",
  2746. "when": "view =~ /^gitlens.historyExplorer:/",
  2747. "group": "navigation@1"
  2748. },
  2749. {
  2750. "command": "gitlens.historyExplorer.dock",
  2751. "when": "view =~ /^gitlens.historyExplorer:/ && gitlens:gitExplorer",
  2752. "group": "navigation@9"
  2753. },
  2754. {
  2755. "command": "gitlens.historyExplorer.close",
  2756. "when": "view =~ /^gitlens.historyExplorer:/ && !gitlens:gitExplorer",
  2757. "group": "navigation@9"
  2758. },
  2759. {
  2760. "command": "gitlens.historyExplorer.setRenameFollowingOn",
  2761. "when": "view =~ /^gitlens.historyExplorer:/ && !config.gitlens.advanced.fileHistoryFollowsRenames",
  2762. "group": "1_gitlens"
  2763. },
  2764. {
  2765. "command": "gitlens.historyExplorer.setRenameFollowingOff",
  2766. "when": "view =~ /^gitlens.historyExplorer:/ && config.gitlens.advanced.fileHistoryFollowsRenames",
  2767. "group": "1_gitlens"
  2768. },
  2769. {
  2770. "command": "gitlens.showCommitSearch",
  2771. "when": "view =~ /^gitlens.resultsExplorer:/",
  2772. "group": "navigation@1"
  2773. },
  2774. {
  2775. "command": "gitlens.resultsExplorer.setKeepResultsToOn",
  2776. "when": "view =~ /^gitlens.resultsExplorer:/ && !gitlens:resultsExplorer:keepResults",
  2777. "group": "navigation@2"
  2778. },
  2779. {
  2780. "command": "gitlens.resultsExplorer.setKeepResultsToOff",
  2781. "when": "view =~ /^gitlens.resultsExplorer:/ && gitlens:resultsExplorer:keepResults",
  2782. "group": "navigation@2"
  2783. },
  2784. {
  2785. "command": "gitlens.resultsExplorer.refresh",
  2786. "when": "view =~ /^gitlens.resultsExplorer:/",
  2787. "group": "navigation@3"
  2788. },
  2789. {
  2790. "command": "gitlens.resultsExplorer.close",
  2791. "when": "view =~ /^gitlens.resultsExplorer:/",
  2792. "group": "navigation@9"
  2793. },
  2794. {
  2795. "command": "gitlens.resultsExplorer.setFilesLayoutToAuto",
  2796. "when": "view =~ /^gitlens.resultsExplorer:/",
  2797. "group": "1_gitlens"
  2798. },
  2799. {
  2800. "command": "gitlens.resultsExplorer.setFilesLayoutToList",
  2801. "when": "view =~ /^gitlens.resultsExplorer:/",
  2802. "group": "1_gitlens"
  2803. },
  2804. {
  2805. "command": "gitlens.resultsExplorer.setFilesLayoutToTree",
  2806. "when": "view =~ /^gitlens.resultsExplorer:/",
  2807. "group": "1_gitlens"
  2808. }
  2809. ],
  2810. "view/item/context": [
  2811. {
  2812. "command": "gitlens.openBranchesInRemote",
  2813. "when": "viewItem == gitlens:branches:remotes",
  2814. "group": "1_gitlens@1"
  2815. },
  2816. {
  2817. "command": "gitlens.openBranchInRemote",
  2818. "when": "viewItem =~ /gitlens:(branch\\b(.*?:tracking|:remote))/",
  2819. "group": "1_gitlens@1"
  2820. },
  2821. {
  2822. "command": "gitlens.explorers.compareWithRemote",
  2823. "when": "viewItem =~ /gitlens:(branch\\b.*?:tracking)/",
  2824. "group": "7_gitlens@1"
  2825. },
  2826. {
  2827. "command": "gitlens.explorers.compareWithHead",
  2828. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  2829. "group": "7_gitlens@2"
  2830. },
  2831. {
  2832. "command": "gitlens.explorers.compareWithWorking",
  2833. "when": "viewItem =~ /gitlens:(branch(?!:current)|commit|stash|tag)\\b/",
  2834. "group": "7_gitlens@3"
  2835. },
  2836. {
  2837. "command": "gitlens.explorers.compareAncestryWithWorking",
  2838. "when": "viewItem =~ /gitlens:branch(?!:current)\\b/",
  2839. "group": "7_gitlens@4"
  2840. },
  2841. {
  2842. "command": "gitlens.explorers.compareWithSelected",
  2843. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/ && gitlens:explorers:canCompare",
  2844. "group": "7_gitlens_@1"
  2845. },
  2846. {
  2847. "command": "gitlens.explorers.selectForCompare",
  2848. "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/",
  2849. "group": "7_gitlens_@2"
  2850. },
  2851. {
  2852. "command": "gitlens.explorers.openDirectoryDiffWithWorking",
  2853. "when": "viewItem =~ /gitlens:(branch|tag)\\b/",
  2854. "group": "7_gitlens_diff@1"
  2855. },
  2856. {
  2857. "command": "gitlens.explorers.terminalCheckoutBranch",
  2858. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2859. "group": "8_gitlens@1"
  2860. },
  2861. {
  2862. "command": "gitlens.explorers.terminalRebaseBranchToRemote",
  2863. "when": "viewItem =~ /gitlens:(branch:current:tracking|status:upstream)\\b/",
  2864. "group": "8_gitlens@1"
  2865. },
  2866. {
  2867. "command": "gitlens.explorers.terminalMergeBranch",
  2868. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2869. "group": "8_gitlens@2"
  2870. },
  2871. {
  2872. "command": "gitlens.explorers.terminalRebaseBranch",
  2873. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2874. "group": "8_gitlens@3"
  2875. },
  2876. {
  2877. "command": "gitlens.explorers.terminalSquashBranchIntoCommit",
  2878. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2879. "group": "8_gitlens@4"
  2880. },
  2881. {
  2882. "command": "gitlens.explorers.terminalCreateBranch",
  2883. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream|tag)\\b/",
  2884. "group": "8_gitlens@5"
  2885. },
  2886. {
  2887. "command": "gitlens.explorers.terminalDeleteBranch",
  2888. "when": "viewItem =~ /gitlens:(branch\\b(?!:current))/",
  2889. "group": "8_gitlens@6"
  2890. },
  2891. {
  2892. "command": "gitlens.explorers.terminalCreateTag",
  2893. "when": "viewItem =~ /gitlens:(branch|commit|status:upstream)\\b/",
  2894. "group": "8_gitlens@7"
  2895. },
  2896. {
  2897. "command": "gitlens.openCommitInRemote",
  2898. "when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
  2899. "group": "1_gitlens@1"
  2900. },
  2901. {
  2902. "command": "gitlens.explorers.openChangedFileChanges",
  2903. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2904. "group": "2_gitlens@1"
  2905. },
  2906. {
  2907. "command": "gitlens.explorers.openChangedFileChangesWithWorking",
  2908. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2909. "group": "2_gitlens@2"
  2910. },
  2911. {
  2912. "command": "gitlens.explorers.openChangedFiles",
  2913. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2914. "group": "3_gitlens@1"
  2915. },
  2916. {
  2917. "command": "gitlens.explorers.openChangedFileRevisions",
  2918. "when": "viewItem =~ /gitlens:(commit|stash)\\b/",
  2919. "group": "3_gitlens@2"
  2920. },
  2921. {
  2922. "command": "gitlens.copyShaToClipboard",
  2923. "when": "viewItem =~ /gitlens:(file:)?commit\\b/",
  2924. "group": "5_gitlens@1"
  2925. },
  2926. {
  2927. "command": "gitlens.copyMessageToClipboard",
  2928. "when": "viewItem =~ /gitlens:(file:)?(commit|stash)\\b/",
  2929. "group": "5_gitlens@2"
  2930. },
  2931. {
  2932. "command": "gitlens.showQuickCommitDetails",
  2933. "when": "viewItem =~ /gitlens:commit\\b/",
  2934. "group": "5_gitlens_1@1"
  2935. },
  2936. {
  2937. "command": "gitlens.explorers.terminalCherryPickCommit",
  2938. "when": "viewItem == gitlens:commit",
  2939. "group": "8_gitlens@1"
  2940. },
  2941. {
  2942. "command": "gitlens.explorers.terminalPushCommit",
  2943. "when": "viewItem == gitlens:commit:current",
  2944. "group": "8_gitlens@1"
  2945. },
  2946. {
  2947. "command": "gitlens.explorers.terminalRevertCommit",
  2948. "when": "viewItem == gitlens:commit:current",
  2949. "group": "8_gitlens@1"
  2950. },
  2951. {
  2952. "command": "gitlens.explorers.terminalRebaseCommit",
  2953. "when": "viewItem == gitlens:commit:current",
  2954. "group": "8_gitlens@2"
  2955. },
  2956. {
  2957. "command": "gitlens.explorers.terminalResetCommit",
  2958. "when": "viewItem == gitlens:commit:current",
  2959. "group": "8_gitlens@3"
  2960. },
  2961. {
  2962. "command": "gitlens.explorers.openFile",
  2963. "when": "viewItem =~ /gitlens:file\\b/",
  2964. "group": "inline"
  2965. },
  2966. {
  2967. "command": "gitlens.explorers.openChanges",
  2968. "when": "viewItem =~ /gitlens:file\\b/",
  2969. "group": "2_gitlens@1"
  2970. },
  2971. {
  2972. "command": "gitlens.explorers.openChangesWithWorking",
  2973. "when": "viewItem =~ /gitlens:file\\b/",
  2974. "group": "2_gitlens@2"
  2975. },
  2976. {
  2977. "command": "gitlens.explorers.openFile",
  2978. "when": "viewItem =~ /gitlens:(file|history-file|status:file)\\b/",
  2979. "group": "3_gitlens@1"
  2980. },
  2981. {
  2982. "command": "gitlens.explorers.openFileRevision",
  2983. "when": "viewItem =~ /gitlens:file\\b/",
  2984. "group": "3_gitlens@2"
  2985. },
  2986. {
  2987. "command": "gitlens.openFileInRemote",
  2988. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
  2989. "group": "4_gitlens@1"
  2990. },
  2991. {
  2992. "command": "gitlens.explorers.openFileRevisionInRemote",
  2993. "when": "viewItem == gitlens:file:commit && gitlens:hasRemotes",
  2994. "group": "4_gitlens@2"
  2995. },
  2996. {
  2997. "command": "gitlens.openFileInRemote",
  2998. "when": "viewItem =~ /gitlens:(history-file|status:file)\\b/ && gitlens:hasRemotes",
  2999. "group": "3_gitlens@2"
  3000. },
  3001. {
  3002. "command": "gitlens.showQuickFileHistory",
  3003. "when": "viewItem =~ /gitlens:file\\b/ && gitlens:gitExplorer:view == repository",
  3004. "group": "8_gitlens@1"
  3005. },
  3006. {
  3007. "command": "gitlens.showQuickCommitFileDetails",
  3008. "when": "viewItem =~ /gitlens:file\\b(?!:stash)/",
  3009. "group": "8_gitlens@2"
  3010. },
  3011. {
  3012. "command": "gitlens.explorers.applyChanges",
  3013. "when": "viewItem =~ /gitlens:file:(commit|status)\\b/",
  3014. "group": "5_gitlens_1@1"
  3015. },
  3016. {
  3017. "command": "gitlens.explorers.applyChanges",
  3018. "when": "viewItem == gitlens:file:stash",
  3019. "group": "1_gitlens@1"
  3020. },
  3021. {
  3022. "command": "gitlens.openRepoInRemote",
  3023. "when": "viewItem == gitlens:status && gitlens:hasRemotes",
  3024. "group": "1_gitlens@1"
  3025. },
  3026. {
  3027. "command": "gitlens.explorers.closeRepository",
  3028. "when": "viewItem == gitlens:status",
  3029. "group": "8_gitlens@1"
  3030. },
  3031. {
  3032. "command": "gitlens.openBranchesInRemote",
  3033. "when": "viewItem == gitlens:remote",
  3034. "group": "1_gitlens@1"
  3035. },
  3036. {
  3037. "command": "gitlens.openRepoInRemote",
  3038. "when": "viewItem == gitlens:remote",
  3039. "group": "1_gitlens@2"
  3040. },
  3041. {
  3042. "command": "gitlens.explorers.terminalRemoveRemote",
  3043. "when": "viewItem == gitlens:remote",
  3044. "group": "8_gitlens@1"
  3045. },
  3046. {
  3047. "command": "gitlens.openRepoInRemote",
  3048. "when": "viewItem == gitlens:repository && gitlens:hasRemotes",
  3049. "group": "1_gitlens@1"
  3050. },
  3051. {
  3052. "command": "gitlens.explorers.closeRepository",
  3053. "when": "viewItem == gitlens:repository",
  3054. "group": "8_gitlens@1"
  3055. },
  3056. {
  3057. "command": "gitlens.resultsExplorer.swapComparision",
  3058. "when": "viewItem == gitlens:results:comparison",
  3059. "group": "inline@1"
  3060. },
  3061. {
  3062. "command": "gitlens.resultsExplorer.clearResultsNode",
  3063. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3064. "group": "inline@2"
  3065. },
  3066. {
  3067. "command": "gitlens.resultsExplorer.clearResultsNode",
  3068. "when": "viewItem =~ /gitlens:results\\b(?!:(commits|files))/",
  3069. "group": "1_gitlens@1"
  3070. },
  3071. {
  3072. "command": "gitlens.resultsExplorer.swapComparision",
  3073. "when": "viewItem == gitlens:results:comparison",
  3074. "group": "1_gitlens@2"
  3075. },
  3076. {
  3077. "command": "gitlens.explorers.openDirectoryDiff",
  3078. "when": "viewItem == gitlens:results:comparison",
  3079. "group": "7_gitlens@1"
  3080. },
  3081. {
  3082. "command": "gitlens.stashSave",
  3083. "when": "viewItem == gitlens:stashes",
  3084. "group": "1_gitlens@1"
  3085. },
  3086. {
  3087. "command": "gitlens.stashApply",
  3088. "when": "viewItem == gitlens:stash",
  3089. "group": "1_gitlens@1"
  3090. },
  3091. {
  3092. "command": "gitlens.stashDelete",
  3093. "when": "viewItem == gitlens:stash",
  3094. "group": "1_gitlens@2"
  3095. },
  3096. {
  3097. "command": "gitlens.explorers.terminalDeleteTag",
  3098. "when": "viewItem == gitlens:tag",
  3099. "group": "8_gitlens"
  3100. },
  3101. {
  3102. "command": "gitlens.gitExplorer.refreshNode",
  3103. "when": "view =~ /^gitlens.gitExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3104. "group": "9_gitlens@1"
  3105. },
  3106. {
  3107. "command": "gitlens.resultsExplorer.refreshNode",
  3108. "when": "view =~ /^gitlens.resultsExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3109. "group": "9_gitlens@1"
  3110. },
  3111. {
  3112. "command": "gitlens.historyExplorer.refreshNode",
  3113. "when": "view =~ /^gitlens.historyExplorer:/ && viewItem =~ /gitlens:(?!file\\b)/",
  3114. "group": "9_gitlens@1"
  3115. }
  3116. ]
  3117. },
  3118. "keybindings": [
  3119. {
  3120. "command": "gitlens.key.left",
  3121. "key": "alt+left",
  3122. "when": "gitlens:key:left"
  3123. },
  3124. {
  3125. "command": "gitlens.key.right",
  3126. "key": "alt+right",
  3127. "when": "gitlens:key:right"
  3128. },
  3129. {
  3130. "command": "gitlens.key.,",
  3131. "key": "alt+,",
  3132. "when": "gitlens:key:,"
  3133. },
  3134. {
  3135. "command": "gitlens.key..",
  3136. "key": "alt+.",
  3137. "when": "gitlens:key:."
  3138. },
  3139. {
  3140. "command": "gitlens.key.escape",
  3141. "key": "escape",
  3142. "when": "gitlens:key:escape && editorTextFocus && !findWidgetVisible && !renameInputVisible && !suggestWidgetVisible && !isInEmbeddedEditor"
  3143. },
  3144. {
  3145. "command": "gitlens.toggleFileBlame",
  3146. "key": "alt+b",
  3147. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsBlameable"
  3148. },
  3149. {
  3150. "command": "gitlens.toggleCodeLens",
  3151. "key": "shift+alt+b",
  3152. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3153. },
  3154. {
  3155. "command": "gitlens.showLastQuickPick",
  3156. "key": "alt+-",
  3157. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3158. },
  3159. {
  3160. "command": "gitlens.showCommitSearch",
  3161. "key": "alt+/",
  3162. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3163. },
  3164. {
  3165. "command": "gitlens.showQuickFileHistory",
  3166. "key": "alt+h",
  3167. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3168. },
  3169. {
  3170. "command": "gitlens.showQuickRepoHistory",
  3171. "key": "shift+alt+h",
  3172. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3173. },
  3174. {
  3175. "command": "gitlens.showQuickRepoStatus",
  3176. "key": "alt+s",
  3177. "when": "gitlens:keymap == alternate && gitlens:enabled"
  3178. },
  3179. {
  3180. "command": "gitlens.showQuickCommitFileDetails",
  3181. "key": "alt+c",
  3182. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:enabled"
  3183. },
  3184. {
  3185. "command": "gitlens.diffWithNext",
  3186. "key": "alt+.",
  3187. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  3188. },
  3189. {
  3190. "command": "gitlens.diffLineWithPrevious",
  3191. "key": "shift+alt+,",
  3192. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  3193. },
  3194. {
  3195. "command": "gitlens.diffWithPrevious",
  3196. "key": "alt+,",
  3197. "when": "gitlens:keymap == alternate && editorTextFocus && !isInDiffEditor && gitlens:activeIsTracked"
  3198. },
  3199. {
  3200. "command": "gitlens.diffWithPreviousInDiff",
  3201. "key": "alt+,",
  3202. "when": "gitlens:keymap == alternate && isInDiffEditor && gitlens:activeIsTracked"
  3203. },
  3204. {
  3205. "command": "gitlens.diffLineWithWorking",
  3206. "key": "alt+w",
  3207. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  3208. },
  3209. {
  3210. "command": "gitlens.diffWithWorking",
  3211. "key": "shift+alt+w",
  3212. "when": "gitlens:keymap == alternate && editorTextFocus && gitlens:activeIsTracked"
  3213. },
  3214. {
  3215. "command": "gitlens.toggleFileBlame",
  3216. "key": "ctrl+shift+g b",
  3217. "mac": "cmd+alt+g b",
  3218. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsBlameable"
  3219. },
  3220. {
  3221. "command": "gitlens.toggleCodeLens",
  3222. "key": "ctrl+shift+g shift+b",
  3223. "mac": "cmd+alt+g shift+b",
  3224. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled && gitlens:canToggleCodeLens"
  3225. },
  3226. {
  3227. "command": "gitlens.showLastQuickPick",
  3228. "key": "ctrl+shift+g -",
  3229. "mac": "cmd+alt+g -",
  3230. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3231. },
  3232. {
  3233. "command": "gitlens.showCommitSearch",
  3234. "key": "ctrl+shift+g /",
  3235. "mac": "cmd+alt+g /",
  3236. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3237. },
  3238. {
  3239. "command": "gitlens.showQuickFileHistory",
  3240. "key": "ctrl+shift+g h",
  3241. "mac": "cmd+alt+g h",
  3242. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3243. },
  3244. {
  3245. "command": "gitlens.showQuickRepoHistory",
  3246. "key": "ctrl+shift+g shift+h",
  3247. "mac": "cmd+alt+g shift+h",
  3248. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3249. },
  3250. {
  3251. "command": "gitlens.showQuickRepoStatus",
  3252. "key": "ctrl+shift+g s",
  3253. "mac": "cmd+alt+g s",
  3254. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3255. },
  3256. {
  3257. "command": "gitlens.showQuickCommitFileDetails",
  3258. "key": "ctrl+shift+g c",
  3259. "mac": "cmd+alt+g c",
  3260. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:enabled"
  3261. },
  3262. {
  3263. "command": "gitlens.diffWithNext",
  3264. "key": "ctrl+shift+g .",
  3265. "mac": "cmd+alt+g .",
  3266. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3267. },
  3268. {
  3269. "command": "gitlens.diffLineWithPrevious",
  3270. "key": "ctrl+shift+g shift+,",
  3271. "mac": "cmd+alt+g shift+,",
  3272. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3273. },
  3274. {
  3275. "command": "gitlens.diffWithPrevious",
  3276. "key": "ctrl+shift+g ,",
  3277. "mac": "cmd+alt+g ,",
  3278. "when": "gitlens:keymap == chorded && editorTextFocus && !isInDiffEditor && gitlens:activeIsTracked"
  3279. },
  3280. {
  3281. "command": "gitlens.diffWithPreviousInDiff",
  3282. "key": "ctrl+shift+g ,",
  3283. "mac": "cmd+alt+g ,",
  3284. "when": "gitlens:keymap == chorded && isInDiffEditor && gitlens:activeIsTracked"
  3285. },
  3286. {
  3287. "command": "gitlens.diffLineWithWorking",
  3288. "key": "ctrl+shift+g w",
  3289. "mac": "cmd+alt+g w",
  3290. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3291. },
  3292. {
  3293. "command": "gitlens.diffWithWorking",
  3294. "key": "ctrl+shift+g shift+w",
  3295. "mac": "cmd+alt+g shift+w",
  3296. "when": "gitlens:keymap == chorded && editorTextFocus && gitlens:activeIsTracked"
  3297. },
  3298. {
  3299. "command": "workbench.view.scm",
  3300. "key": "ctrl+shift+g g",
  3301. "when": "gitlens:keymap == chorded && gitlens:enabled"
  3302. }
  3303. ],
  3304. "views": {
  3305. "explorer": [
  3306. {
  3307. "id": "gitlens.gitExplorer:explorer",
  3308. "name": "GitLens",
  3309. "when": "gitlens:enabled && gitlens:gitExplorer == explorer"
  3310. },
  3311. {
  3312. "id": "gitlens.historyExplorer:explorer",
  3313. "name": "GitLens History",
  3314. "when": "gitlens:enabled && gitlens:historyExplorer == explorer"
  3315. },
  3316. {
  3317. "id": "gitlens.resultsExplorer:explorer",
  3318. "name": "GitLens Results",
  3319. "when": "gitlens:enabled && gitlens:resultsExplorer == explorer"
  3320. }
  3321. ],
  3322. "scm": [
  3323. {
  3324. "id": "gitlens.gitExplorer:scm",
  3325. "name": "GitLens",
  3326. "when": "gitlens:enabled && gitlens:gitExplorer == scm"
  3327. },
  3328. {
  3329. "id": "gitlens.historyExplorer:scm",
  3330. "name": "GitLens History",
  3331. "when": "gitlens:enabled && gitlens:historyExplorer == scm"
  3332. },
  3333. {
  3334. "id": "gitlens.resultsExplorer:scm",
  3335. "name": "GitLens Results",
  3336. "when": "gitlens:enabled && gitlens:resultsExplorer == scm"
  3337. }
  3338. ]
  3339. }
  3340. },
  3341. "scripts": {
  3342. "build": "npm run lint && tsc -m commonjs -p ./ && npm run build-ui -- --env.quick",
  3343. "build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
  3344. "bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
  3345. "clean": "git clean -Xdf",
  3346. "lint": "tslint --project tsconfig.json",
  3347. "pack": "vsce package",
  3348. "pub": "vsce publish",
  3349. "rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
  3350. "reset": "npm run clean && npm install --no-save",
  3351. "watch": "tsc -watch -m commonjs -p ./",
  3352. "watch-ui": "cd \"./src/ui\" && npm run watch --no-save && cd \"../..\"",
  3353. "postinstall": "node ./node_modules/vscode/bin/install && cd \"./src/ui\" && npm install --no-save && cd \"../..\"",
  3354. "prepush": "npm run build",
  3355. "vscode:prepublish": "npm run reset && npm run bundle"
  3356. },
  3357. "dependencies": {
  3358. "clipboardy": "1.2.3",
  3359. "date-fns": "1.29.0",
  3360. "iconv-lite": "0.4.23",
  3361. "lodash.debounce": "4.0.8",
  3362. "lodash.once": "4.1.1",
  3363. "tmp": "0.0.33",
  3364. "tslib": "1.9.2"
  3365. },
  3366. "devDependencies": {
  3367. "@types/clipboardy": "1.1.0",
  3368. "@types/node": "7.0.65",
  3369. "@types/tmp": "0.0.33",
  3370. "husky": "0.14.3",
  3371. "ts-loader": "4.4.1",
  3372. "tslint": "5.10.0",
  3373. "typescript": "2.9.2",
  3374. "uglify-es": "3.3.9",
  3375. "uglifyjs-webpack-plugin": "1.2.5",
  3376. "vscode": "1.1.18",
  3377. "webpack": "4.12.0",
  3378. "webpack-cli": "3.0.8",
  3379. "webpack-node-externals": "1.7.2"
  3380. }
  3381. }