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.

3427 lines
154 KiB

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