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.

3233 lines
145 KiB

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