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.

3065 lines
138 KiB

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