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.

2105 lines
99 KiB

7 years ago
7 years ago
  1. {
  2. "name": "gitlens",
  3. "version": "5.7.1",
  4. "author": {
  5. "name": "Eric Amodio",
  6. "email": "eamodio@gmail.com"
  7. },
  8. "publisher": "eamodio",
  9. "engines": {
  10. "vscode": "^1.17.2"
  11. },
  12. "license": "SEE LICENSE IN LICENSE",
  13. "displayName": "Git Lens \u2014 git blame annotations, code lens, and more",
  14. "description": "Supercharge Visual Studio Code's Git capabilities \u2014 Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore the history of a file or branch, gain valuable insights via powerful comparison commands, and so much more",
  15. "badges": [
  16. {
  17. "url": "https://img.shields.io/badge/chat-on%20slack-brightgreen.svg",
  18. "href": "https://join.slack.com/t/vscode-dev-community/shared_invite/enQtMjIxOTgxNDE3NzM0LWU5M2ZiZDU1YjBlMzdlZjA2YjBjYzRhYTM5NTgzMTAxMjdiNWU0ZmQzYWI3MWU5N2Q1YjBiYmQ4MzY0NDE1MzY",
  19. "description": "Chat at https://vscode-dev-community.slack.com/"
  20. }
  21. ],
  22. "categories": [
  23. "Other"
  24. ],
  25. "keywords": [
  26. "git",
  27. "gitlens",
  28. "blame",
  29. "log",
  30. "annotation",
  31. "diff",
  32. "lens",
  33. "history"
  34. ],
  35. "galleryBanner": {
  36. "color": "#56098c",
  37. "theme": "dark"
  38. },
  39. "icon": "images/gitlens-icon.png",
  40. "preview": false,
  41. "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md",
  42. "bugs": {
  43. "url": "https://github.com/eamodio/vscode-gitlens/issues"
  44. },
  45. "repository": {
  46. "type": "git",
  47. "url": "https://github.com/eamodio/vscode-gitlens.git"
  48. },
  49. "main": "./out/src/extension",
  50. "contributes": {
  51. "configuration": {
  52. "type": "object",
  53. "title": "GitLens configuration",
  54. "properties": {
  55. "gitlens.debug": {
  56. "type": "boolean",
  57. "default": false,
  58. "description": "Specifies debug mode"
  59. },
  60. "gitlens.insiders": {
  61. "type": "boolean",
  62. "default": false,
  63. "description": "Specifies whether or not to enable new experimental features (expect there to be issues)"
  64. },
  65. "gitlens.outputLevel": {
  66. "type": "string",
  67. "default": "silent",
  68. "enum": [
  69. "silent",
  70. "errors",
  71. "verbose"
  72. ],
  73. "description": "Specifies how much (if any) output will be sent to the GitLens output channel"
  74. },
  75. "gitlens.annotations.file.gutter.format": {
  76. "type": "string",
  77. "default": "${message|40?} ${ago|14-}",
  78. "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.annotations.file.gutter.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  79. },
  80. "gitlens.annotations.file.gutter.dateFormat": {
  81. "type": "string",
  82. "default": null,
  83. "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"
  84. },
  85. "gitlens.annotations.file.gutter.compact": {
  86. "type": "boolean",
  87. "default": true,
  88. "description": "Specifies whether or not to compact (deduplicate) matching adjacent gutter blame annotations"
  89. },
  90. "gitlens.annotations.file.gutter.heatmap.enabled": {
  91. "type": "boolean",
  92. "default": true,
  93. "description": "Specifies whether or not to provide a heatmap indicator in the gutter blame annotations"
  94. },
  95. "gitlens.annotations.file.gutter.heatmap.location": {
  96. "type": "string",
  97. "default": "right",
  98. "enum": [
  99. "left",
  100. "right"
  101. ],
  102. "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"
  103. },
  104. "gitlens.annotations.file.gutter.hover.details": {
  105. "type": "boolean",
  106. "default": true,
  107. "description": "Specifies whether or not to provide a commit details hover annotation over the gutter blame annotations"
  108. },
  109. "gitlens.annotations.file.gutter.hover.changes": {
  110. "type": "boolean",
  111. "default": true,
  112. "description": "Specifies whether or not to provide a changes (diff) hover annotation over the gutter blame annotations"
  113. },
  114. "gitlens.annotations.file.gutter.hover.wholeLine": {
  115. "type": "boolean",
  116. "default": true,
  117. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  118. },
  119. "gitlens.annotations.file.hover.details": {
  120. "type": "boolean",
  121. "default": true,
  122. "description": "Specifies whether or not to provide a commit details hover annotation over each line"
  123. },
  124. "gitlens.annotations.file.hover.changes": {
  125. "type": "boolean",
  126. "default": true,
  127. "description": "Specifies whether or not to provide a changes (diff) hover annotation over each line"
  128. },
  129. "gitlens.annotations.file.hover.heatmap.enabled": {
  130. "type": "boolean",
  131. "default": true,
  132. "description": "Specifies whether or not to provide heatmap indicators on the left edge of each line"
  133. },
  134. "gitlens.annotations.file.recentChanges.hover.details": {
  135. "type": "boolean",
  136. "default": true,
  137. "description": "Specifies whether or not to provide a commit details hover annotation"
  138. },
  139. "gitlens.annotations.file.recentChanges.hover.changes": {
  140. "type": "boolean",
  141. "default": true,
  142. "description": "Specifies whether or not to provide a changes (diff) hover annotation"
  143. },
  144. "gitlens.annotations.line.hover.details": {
  145. "type": "boolean",
  146. "default": true,
  147. "description": "Specifies whether or not to provide a commit details hover annotation for the current line"
  148. },
  149. "gitlens.annotations.line.hover.changes": {
  150. "type": "boolean",
  151. "default": true,
  152. "description": "Specifies whether or not to provide a changes (diff) hover annotation for the current line"
  153. },
  154. "gitlens.annotations.line.trailing.format": {
  155. "type": "string",
  156. "default": "${authorAgo} \u2022 ${message}",
  157. "description": "Specifies the format of the trailing 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.annotations.line.trailing.dateFormat`)\n ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  158. },
  159. "gitlens.annotations.line.trailing.dateFormat": {
  160. "type": "string",
  161. "default": null,
  162. "description": "Specifies how to format absolute dates (using the `${date}` token) in trailing blame annotations\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  163. },
  164. "gitlens.annotations.line.trailing.hover.details": {
  165. "type": "boolean",
  166. "default": true,
  167. "description": "Specifies whether or not to provide a commit details hover annotation over the trailing blame annotations"
  168. },
  169. "gitlens.annotations.line.trailing.hover.changes": {
  170. "type": "boolean",
  171. "default": true,
  172. "description": "Specifies whether or not to provide a changes (diff) hover annotation over the trailing blame annotations"
  173. },
  174. "gitlens.annotations.line.trailing.hover.wholeLine": {
  175. "type": "boolean",
  176. "default": false,
  177. "description": "Specifies whether or not to trigger hover annotations over the whole line"
  178. },
  179. "gitlens.blame.ignoreWhitespace": {
  180. "type": "boolean",
  181. "default": false,
  182. "description": "Specifies whether or not to ignore whitespace when comparing revisions during blame operations"
  183. },
  184. "gitlens.blame.file.annotationType": {
  185. "type": "string",
  186. "default": "gutter",
  187. "enum": [
  188. "gutter",
  189. "hover"
  190. ],
  191. "description": "Specifies the type of blame annotations that will be shown for the current file\n `gutter` - adds an annotation to the beginning of each line\n `hover` - shows annotations when hovering over each line"
  192. },
  193. "gitlens.blame.file.lineHighlight.enabled": {
  194. "type": "boolean",
  195. "default": true,
  196. "description": "Specifies whether or not to highlight lines associated with the current line"
  197. },
  198. "gitlens.blame.file.lineHighlight.locations": {
  199. "type": "array",
  200. "default": [
  201. "gutter",
  202. "line",
  203. "overviewRuler"
  204. ],
  205. "items": {
  206. "type": "string",
  207. "enum": [
  208. "gutter",
  209. "line",
  210. "overviewRuler"
  211. ]
  212. },
  213. "minItems": 1,
  214. "maxItems": 3,
  215. "uniqueItems": true,
  216. "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 `overviewRuler` - adds a decoration to the overviewRuler (scroll bar)"
  217. },
  218. "gitlens.blame.line.enabled": {
  219. "type": "boolean",
  220. "default": true,
  221. "description": "Specifies whether or not to provide a blame annotation for the current line, by default\nUse the `gitlens.toggleLineBlame` command to toggle the annotations on and off for the current session"
  222. },
  223. "gitlens.blame.line.annotationType": {
  224. "type": "string",
  225. "default": "trailing",
  226. "enum": [
  227. "trailing",
  228. "hover"
  229. ],
  230. "description": "Specifies the type of blame annotations that will be shown for the current line\n `trailing` - adds an annotation to the end of the current line\n `hover` - shows annotations when hovering over the current line"
  231. },
  232. "gitlens.recentChanges.file.lineHighlight.locations": {
  233. "type": "array",
  234. "default": [
  235. "gutter",
  236. "line",
  237. "overviewRuler"
  238. ],
  239. "items": {
  240. "type": "string",
  241. "enum": [
  242. "gutter",
  243. "line",
  244. "overviewRuler"
  245. ]
  246. },
  247. "minItems": 1,
  248. "maxItems": 3,
  249. "uniqueItems": true,
  250. "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 `overviewRuler` - adds a decoration to the overviewRuler (scroll bar)"
  251. },
  252. "gitlens.codeLens.enabled": {
  253. "type": "boolean",
  254. "default": true,
  255. "description": "Specifies whether or not to provide any Git code lens, by default\nUse the `gitlens.toggleCodeLens` command to toggle the Git code lens on and off for the current session"
  256. },
  257. "gitlens.codeLens.recentChange.enabled": {
  258. "type": "boolean",
  259. "default": true,
  260. "description": "Specifies whether or not to show a `recent change` code lens showing the author and date of the most recent commit for the file or code block"
  261. },
  262. "gitlens.codeLens.recentChange.command": {
  263. "type": "string",
  264. "default": "gitlens.showQuickCommitFileDetails",
  265. "enum": [
  266. "gitlens.toggleFileBlame",
  267. "gitlens.diffWithPrevious",
  268. "gitlens.showQuickCommitDetails",
  269. "gitlens.showQuickCommitFileDetails",
  270. "gitlens.showQuickFileHistory",
  271. "gitlens.showQuickRepoHistory"
  272. ],
  273. "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"
  274. },
  275. "gitlens.codeLens.authors.enabled": {
  276. "type": "boolean",
  277. "default": true,
  278. "description": "Specifies whether or not 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)"
  279. },
  280. "gitlens.codeLens.authors.command": {
  281. "type": "string",
  282. "default": "gitlens.toggleFileBlame",
  283. "enum": [
  284. "gitlens.toggleFileBlame",
  285. "gitlens.diffWithPrevious",
  286. "gitlens.showQuickCommitDetails",
  287. "gitlens.showQuickCommitFileDetails",
  288. "gitlens.showQuickFileHistory",
  289. "gitlens.showQuickRepoHistory"
  290. ],
  291. "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"
  292. },
  293. "gitlens.codeLens.locations": {
  294. "type": "array",
  295. "default": [
  296. "document",
  297. "containers"
  298. ],
  299. "items": {
  300. "type": "string",
  301. "enum": [
  302. "document",
  303. "containers",
  304. "blocks"
  305. ]
  306. },
  307. "minItems": 1,
  308. "maxItems": 4,
  309. "uniqueItems": true,
  310. "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"
  311. },
  312. "gitlens.codeLens.customLocationSymbols": {
  313. "type": "array",
  314. "items": {
  315. "type": "string"
  316. },
  317. "uniqueItems": true,
  318. "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`"
  319. },
  320. "gitlens.codeLens.perLanguageLocations": {
  321. "type": "array",
  322. "default": [
  323. {
  324. "language": "css",
  325. "locations": [
  326. "document"
  327. ]
  328. },
  329. {
  330. "language": "html",
  331. "locations": [
  332. "document"
  333. ]
  334. },
  335. {
  336. "language": "json",
  337. "locations": [
  338. "document"
  339. ]
  340. },
  341. {
  342. "language": "less",
  343. "locations": [
  344. "document"
  345. ]
  346. },
  347. {
  348. "language": "scss",
  349. "locations": [
  350. "document"
  351. ]
  352. },
  353. {
  354. "language": "vue",
  355. "locations": [
  356. "document"
  357. ]
  358. },
  359. {
  360. "language": "stylus",
  361. "locations": [
  362. "document"
  363. ]
  364. }
  365. ],
  366. "items": {
  367. "type": "object",
  368. "required": [
  369. "language",
  370. "locations"
  371. ],
  372. "properties": {
  373. "language": {
  374. "type": "string",
  375. "description": "Specifies the language to which this code lens override applies"
  376. },
  377. "locations": {
  378. "type": "array",
  379. "default": [
  380. "document",
  381. "containers"
  382. ],
  383. "items": {
  384. "type": "string",
  385. "enum": [
  386. "document",
  387. "containers",
  388. "blocks",
  389. "custom"
  390. ]
  391. },
  392. "minItems": 1,
  393. "maxItems": 4,
  394. "uniqueItems": true,
  395. "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 `customSymbols`"
  396. },
  397. "customSymbols": {
  398. "type": "array",
  399. "items": {
  400. "type": "string"
  401. },
  402. "uniqueItems": true,
  403. "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`"
  404. }
  405. }
  406. },
  407. "uniqueItems": true,
  408. "description": "Specifies where Git code lens will be shown in the document for the specified languages"
  409. },
  410. "gitlens.codeLens.debug": {
  411. "type": "boolean",
  412. "default": false,
  413. "description": "Specifies whether or not to show debug information in code lens"
  414. },
  415. "gitlens.defaultDateFormat": {
  416. "type": "string",
  417. "default": null,
  418. "description": "Specifies how all absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
  419. },
  420. "gitlens.gitExplorer.autoRefresh": {
  421. "type": "boolean",
  422. "default": true,
  423. "description": "Specifies whether or not to automatically refresh the `GitLens` custom view when the repository or the file system changes"
  424. },
  425. "gitlens.gitExplorer.commitFormat": {
  426. "type": "string",
  427. "default": "${message} \u00a0\u2022\u00a0 ${authorAgo} \u00a0 (${id})",
  428. "description": "Specifies the format of committed changes in the `GitLens` custom view\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 ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  429. },
  430. "gitlens.gitExplorer.commitFileFormat": {
  431. "type": "string",
  432. "default": "${filePath}",
  433. "description": "Specifies the format of a committed file in the `GitLens` custom view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path"
  434. },
  435. "gitlens.gitExplorer.enabled": {
  436. "type": "boolean",
  437. "default": true,
  438. "description": "Specifies whether or not to show the `GitLens` custom view"
  439. },
  440. "gitlens.gitExplorer.files.layout": {
  441. "type": "string",
  442. "default": "auto",
  443. "enum": [
  444. "auto",
  445. "list",
  446. "tree"
  447. ],
  448. "description": "Specifies how the `GitLens` custom view will display files\n `auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.gitExplorer.files.threshold` setting and the number of files at each nesting level\n `list` - displays files as a list\n `tree` - displays files as a tree"
  449. },
  450. "gitlens.gitExplorer.files.compact": {
  451. "type": "boolean",
  452. "default": true,
  453. "description": "Specifies whether or not to compact (flatten) unnecessary file nesting in the `GitLens` custom view\nOnly applies when displaying files as a `tree` or `auto`"
  454. },
  455. "gitlens.gitExplorer.files.threshold": {
  456. "type": "number",
  457. "default": 5,
  458. "description": "Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the `GitLens` custom view\nOnly applies when displaying files as `auto`"
  459. },
  460. "gitlens.gitExplorer.includeWorkingTree": {
  461. "type": "boolean",
  462. "default": true,
  463. "description": "Specifies whether or not to include working tree files inside the `Repository Status` node of the `GitLens` custom view"
  464. },
  465. "gitlens.gitExplorer.showTrackingBranch": {
  466. "type": "boolean",
  467. "default": true,
  468. "description": "Specifies whether or not to show the tracking branch when displaying local branches in the `GitLens` custom view"
  469. },
  470. "gitlens.gitExplorer.stashFormat": {
  471. "type": "string",
  472. "default": "${message}",
  473. "description": "Specifies the format of stashed changes in the `GitLens` custom view\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 ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  474. },
  475. "gitlens.gitExplorer.stashFileFormat": {
  476. "type": "string",
  477. "default": "${filePath}",
  478. "description": "Specifies the format of a stashed file in the `GitLens` custom view\nAvailable tokens\n ${directory} - directory name\n ${file} - file name\n ${filePath} - formatted file name and path\n ${path} - full file path"
  479. },
  480. "gitlens.gitExplorer.statusFileFormat": {
  481. "type": "string",
  482. "default": "${working}${filePath}",
  483. "description": "Specifies the format of the status of a working or committed file in the `GitLens` custom view\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"
  484. },
  485. "gitlens.gitExplorer.view": {
  486. "type": "string",
  487. "default": "auto",
  488. "enum": [
  489. "auto",
  490. "history",
  491. "repository"
  492. ],
  493. "description": "Specifies the starting view (mode) of the `GitLens` custom view\n `auto` - shows the last selected view, defaults to `repository`\n `history` - shows the commit history of the active file\n `repository` - shows a repository explorer"
  494. },
  495. "gitlens.remotes": {
  496. "type": "array",
  497. "default": null,
  498. "items": {
  499. "type": "object",
  500. "required": [
  501. "type",
  502. "domain"
  503. ],
  504. "properties": {
  505. "type": {
  506. "type": "string",
  507. "enum": [
  508. "Bitbucket",
  509. "BitbucketServer",
  510. "Custom",
  511. "GitHub",
  512. "GitLab"
  513. ],
  514. "description": "Specifies the type of the custom remote service\n `Bitbucket`, `BitbucketServer`, `GitHub`, or `GitLab`"
  515. },
  516. "domain": {
  517. "type": "string",
  518. "description": "Specifies the domain name of the custom remote service"
  519. },
  520. "name": {
  521. "type": "string",
  522. "description": "Specifies an optional friendly name for the custom remote service"
  523. },
  524. "urls": {
  525. "type": "object",
  526. "required": [
  527. "repository",
  528. "branches",
  529. "branch",
  530. "commit",
  531. "file",
  532. "fileInCommit",
  533. "fileInBranch",
  534. "fileLine",
  535. "fileRange"
  536. ],
  537. "properties": {
  538. "repository": {
  539. "type": "string",
  540. "description": "Specifies the format of a respository url for the custom remote service\nAvailable tokens\n ${repo} - repository path"
  541. },
  542. "branches": {
  543. "type": "string",
  544. "description": "Specifies the format of a branches url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  545. },
  546. "branch": {
  547. "type": "string",
  548. "description": "Specifies the format of a branch url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${branch} - branch"
  549. },
  550. "commit": {
  551. "type": "string",
  552. "description": "Specifies the format of a commit url for the custom remote service\nAvailable tokens\n ${repo} - repository path\n ${id} - commit id"
  553. },
  554. "file": {
  555. "type": "string",
  556. "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"
  557. },
  558. "fileInBranch": {
  559. "type": "string",
  560. "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"
  561. },
  562. "fileInCommit": {
  563. "type": "string",
  564. "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"
  565. },
  566. "fileLine": {
  567. "type": "string",
  568. "description": "Specifies the format of a line in a file url for the custom remote service\nAvailable tokens\n ${line} - line"
  569. },
  570. "fileRange": {
  571. "type": "string",
  572. "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"
  573. }
  574. }
  575. },
  576. "description": "Specifies the url formats of the custom remote service"
  577. }
  578. },
  579. "uniqueItems": true,
  580. "description": "Specifies user-defined remote (code-hosting) services or custom domains for built-in remote services"
  581. },
  582. "gitlens.statusBar.enabled": {
  583. "type": "boolean",
  584. "default": true,
  585. "description": "Specifies whether or not to provide blame information on the status bar"
  586. },
  587. "gitlens.statusBar.alignment": {
  588. "type": "string",
  589. "default": "right",
  590. "enum": [
  591. "left",
  592. "right"
  593. ],
  594. "description": "Specifies the blame alignment in the status bar\n `left` - align to the left\n `right` - align to the right"
  595. },
  596. "gitlens.statusBar.command": {
  597. "type": "string",
  598. "default": "gitlens.showQuickCommitDetails",
  599. "enum": [
  600. "gitlens.toggleFileBlame",
  601. "gitlens.diffWithPrevious",
  602. "gitlens.diffWithWorking",
  603. "gitlens.toggleCodeLens",
  604. "gitlens.showQuickCommitDetails",
  605. "gitlens.showQuickCommitFileDetails",
  606. "gitlens.showQuickFileHistory",
  607. "gitlens.showQuickRepoHistory"
  608. ],
  609. "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"
  610. },
  611. "gitlens.statusBar.format": {
  612. "type": "string",
  613. "default": "${authorAgo}",
  614. "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 ${authorAgo} - commit author, relative commit date\nSee https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting"
  615. },
  616. "gitlens.statusBar.dateFormat": {
  617. "type": "string",
  618. "default": null,
  619. "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"
  620. },
  621. "gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors": {
  622. "type": "string",
  623. "default": "Cannot determine recent change or authors (unsaved changes)",
  624. "description": "Specifies the string to be shown in place of both the `recent change` and `authors` code lens when there are unsaved changes"
  625. },
  626. "gitlens.strings.codeLens.unsavedChanges.recentChangeOnly": {
  627. "type": "string",
  628. "default": "Cannot determine recent change (unsaved changes)",
  629. "description": "Specifies the string to be shown in place of the `recent change` code lens when there are unsaved changes"
  630. },
  631. "gitlens.strings.codeLens.unsavedChanges.authorsOnly": {
  632. "type": "string",
  633. "default": "Cannot determine authors (unsaved changes)",
  634. "description": "Specifies the string to be shown in place of the `authors` code lens when there are unsaved changes"
  635. },
  636. "gitlens.theme.annotations.file.gutter.separateLines": {
  637. "type": "boolean",
  638. "default": true,
  639. "description": "Specifies whether or not gutter blame annotations will be separated by a small gap"
  640. },
  641. "gitlens.theme.annotations.file.gutter.dark.backgroundColor": {
  642. "type": "string",
  643. "default": "rgba(255, 255, 255, 0.075)",
  644. "description": "Specifies the dark theme background color of the gutter blame annotations. Must be a valid css color"
  645. },
  646. "gitlens.theme.annotations.file.gutter.light.backgroundColor": {
  647. "type": "string",
  648. "default": "rgba(0, 0, 0, 0.05)",
  649. "description": "Specifies the light theme background color of the gutter blame annotations. Must be a valid css color"
  650. },
  651. "gitlens.theme.annotations.file.gutter.dark.foregroundColor": {
  652. "type": "string",
  653. "default": "rgb(190, 190, 190)",
  654. "description": "Specifies the dark theme foreground color of the gutter blame annotations. Must be a valid css color"
  655. },
  656. "gitlens.theme.annotations.file.gutter.light.foregroundColor": {
  657. "type": "string",
  658. "default": "rgb(116, 116, 116)",
  659. "description": "Specifies the light theme foreground color of the gutter blame annotations. Must be a valid css color"
  660. },
  661. "gitlens.theme.annotations.file.gutter.dark.uncommittedForegroundColor": {
  662. "type": "string",
  663. "default": "rgba(0, 188, 242, 0.6)",
  664. "description": "Specifies the dark theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  665. },
  666. "gitlens.theme.annotations.file.gutter.light.uncommittedForegroundColor": {
  667. "type": "string",
  668. "default": "rgba(0, 188, 242, 0.6)",
  669. "description": "Specifies the light theme foreground color of an uncommitted line in the gutter blame annotations. Must be a valid css color"
  670. },
  671. "gitlens.theme.annotations.line.trailing.dark.backgroundColor": {
  672. "type": "string",
  673. "default": null,
  674. "description": "Specifies the dark theme background color of the trailing blame annotation. Must be a valid css color"
  675. },
  676. "gitlens.theme.annotations.line.trailing.light.backgroundColor": {
  677. "type": "string",
  678. "default": null,
  679. "description": "Specifies the light theme background color of the trailing blame annotation. Must be a valid css color"
  680. },
  681. "gitlens.theme.annotations.line.trailing.dark.foregroundColor": {
  682. "type": "string",
  683. "default": "rgba(153, 153, 153, 0.35)",
  684. "description": "Specifies the dark theme foreground color of the trailing blame annotation. Must be a valid css color"
  685. },
  686. "gitlens.theme.annotations.line.trailing.light.foregroundColor": {
  687. "type": "string",
  688. "default": "rgba(153, 153, 153, 0.35)",
  689. "description": "Specifies the light theme foreground color of the trailing blame annotation. Must be a valid css color"
  690. },
  691. "gitlens.theme.lineHighlight.dark.backgroundColor": {
  692. "type": "string",
  693. "default": "rgba(0, 188, 242, 0.2)",
  694. "description": "Specifies the dark theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  695. },
  696. "gitlens.theme.lineHighlight.light.backgroundColor": {
  697. "type": "string",
  698. "default": "rgba(0, 188, 242, 0.2)",
  699. "description": "Specifies the light theme background color of the associated line highlights in blame annotations. Must be a valid css color"
  700. },
  701. "gitlens.theme.lineHighlight.dark.overviewRulerColor": {
  702. "type": "string",
  703. "default": "rgba(0, 188, 242, 0.6)",
  704. "description": "Specifies the dark theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  705. },
  706. "gitlens.theme.lineHighlight.light.overviewRulerColor": {
  707. "type": "string",
  708. "default": "rgba(0, 188, 242, 0.6)",
  709. "description": "Specifies the light theme overview ruler color of the associated line highlights in blame annotations. Must be a valid css color"
  710. },
  711. "gitlens.advanced.caching.enabled": {
  712. "type": "boolean",
  713. "default": true,
  714. "description": "Specifies whether git output will be cached"
  715. },
  716. "gitlens.advanced.caching.maxLines": {
  717. "type": "number",
  718. "default": 0,
  719. "description": "Specifies the threshold for caching larger documents"
  720. },
  721. "gitlens.advanced.git": {
  722. "type": "string",
  723. "default": null,
  724. "description": "Specifies the git path to use"
  725. },
  726. "gitlens.advanced.maxQuickHistory": {
  727. "type": "number",
  728. "default": 200,
  729. "description": "Specifies the maximum number of QuickPick history entries to show"
  730. },
  731. "gitlens.advanced.menus": {
  732. "type": "object",
  733. "default": {
  734. "editorContext": {
  735. "blame": true,
  736. "copy": true,
  737. "details": true,
  738. "fileDiff": true,
  739. "history": true,
  740. "lineDiff": true,
  741. "remote": true
  742. },
  743. "editorTitle": {
  744. "blame": true,
  745. "fileDiff": false,
  746. "history": false,
  747. "remote": false,
  748. "status": false
  749. },
  750. "editorTitleContext": {
  751. "blame": false,
  752. "fileDiff": false,
  753. "history": false,
  754. "remote": false
  755. },
  756. "explorerContext": {
  757. "fileDiff": true,
  758. "history": true,
  759. "remote": true
  760. }
  761. },
  762. "description": "Specifies which commands will be added to which menus",
  763. "properties": {
  764. "editorContext": {
  765. "type": "object",
  766. "default": {
  767. "blame": true,
  768. "copy": true,
  769. "details": true,
  770. "fileDiff": true,
  771. "history": true,
  772. "lineDiff": true,
  773. "remote": true
  774. },
  775. "properties": {
  776. "blame": {
  777. "type": "boolean",
  778. "default": true
  779. },
  780. "copy": {
  781. "type": "boolean",
  782. "default": true
  783. },
  784. "details": {
  785. "type": "boolean",
  786. "default": true
  787. },
  788. "fileDiff": {
  789. "type": "boolean",
  790. "default": true
  791. },
  792. "history": {
  793. "type": "boolean",
  794. "default": true
  795. },
  796. "lineDiff": {
  797. "type": "boolean",
  798. "default": true
  799. },
  800. "remote": {
  801. "type": "boolean",
  802. "default": true
  803. }
  804. }
  805. },
  806. "editorTitle": {
  807. "type": "object",
  808. "default": {
  809. "blame": true,
  810. "fileDiff": true,
  811. "history": true,
  812. "remote": true,
  813. "status": true
  814. },
  815. "properties": {
  816. "blame": {
  817. "type": "boolean",
  818. "default": true
  819. },
  820. "fileDiff": {
  821. "type": "boolean",
  822. "default": true
  823. },
  824. "history": {
  825. "type": "boolean",
  826. "default": true
  827. },
  828. "remote": {
  829. "type": "boolean",
  830. "default": true
  831. },
  832. "status": {
  833. "type": "boolean",
  834. "default": true
  835. }
  836. }
  837. },
  838. "editorTitleContext": {
  839. "type": "object",
  840. "default": {
  841. "blame": true,
  842. "fileDiff": true,
  843. "history": true,
  844. "remote": true
  845. },
  846. "properties": {
  847. "blame": {
  848. "type": "boolean",
  849. "default": true
  850. },
  851. "fileDiff": {
  852. "type": "boolean",
  853. "default": true
  854. },
  855. "history": {
  856. "type": "boolean",
  857. "default": true
  858. },
  859. "remote": {
  860. "type": "boolean",
  861. "default": true
  862. }
  863. }
  864. },
  865. "explorerContext": {
  866. "type": "object",
  867. "default": {
  868. "fileDiff": true,
  869. "history": true,
  870. "remote": true
  871. },
  872. "properties": {
  873. "fileDiff": {
  874. "type": "boolean",
  875. "default": true
  876. },
  877. "history": {
  878. "type": "boolean",
  879. "default": true
  880. },
  881. "remote": {
  882. "type": "boolean",
  883. "default": true
  884. }
  885. }
  886. }
  887. }
  888. },
  889. "gitlens.advanced.quickPick.closeOnFocusOut": {
  890. "type": "boolean",
  891. "default": true,
  892. "description": "Specifies whether or not to close the QuickPick menu when focus is lost"
  893. },
  894. "gitlens.advanced.telemetry.enabled": {
  895. "type": "boolean",
  896. "default": true,
  897. "description": "Specifies whether or not to enable GitLens telemetry (even if enabled still abides by the overall `telemetry.enableTelemetry` setting"
  898. }
  899. }
  900. },
  901. "commands": [
  902. {
  903. "command": "gitlens.diffDirectory",
  904. "title": "Compare Directory with Branch...",
  905. "category": "GitLens"
  906. },
  907. {
  908. "command": "gitlens.diffWith",
  909. "title": "Compare File Revisions",
  910. "category": "GitLens"
  911. },
  912. {
  913. "command": "gitlens.diffWithBranch",
  914. "title": "Compare File with Branch...",
  915. "category": "GitLens"
  916. },
  917. {
  918. "command": "gitlens.diffWithNext",
  919. "title": "Compare File with Next Revision",
  920. "category": "GitLens"
  921. },
  922. {
  923. "command": "gitlens.diffWithPrevious",
  924. "title": "Compare File with Previous Revision",
  925. "category": "GitLens"
  926. },
  927. {
  928. "command": "gitlens.diffLineWithPrevious",
  929. "title": "Compare Line Revision with Previous",
  930. "category": "GitLens"
  931. },
  932. {
  933. "command": "gitlens.diffWithRevision",
  934. "title": "Compare File with Revision...",
  935. "category": "GitLens"
  936. },
  937. {
  938. "command": "gitlens.diffWithWorking",
  939. "title": "Compare File with Working Revision",
  940. "category": "GitLens"
  941. },
  942. {
  943. "command": "gitlens.diffLineWithWorking",
  944. "title": "Compare Line Revision with Working",
  945. "category": "GitLens"
  946. },
  947. {
  948. "command": "gitlens.showFileBlame",
  949. "title": "Show File Blame Annotations",
  950. "category": "GitLens"
  951. },
  952. {
  953. "command": "gitlens.showLineBlame",
  954. "title": "Show Line Blame Annotations",
  955. "category": "GitLens"
  956. },
  957. {
  958. "command": "gitlens.toggleFileBlame",
  959. "title": "Toggle File Blame Annotations",
  960. "category": "GitLens",
  961. "icon": {
  962. "dark": "images/dark/git-icon.svg",
  963. "light": "images/light/git-icon.svg"
  964. }
  965. },
  966. {
  967. "command": "gitlens.clearFileAnnotations",
  968. "title": "Clear File Annotations",
  969. "category": "GitLens",
  970. "icon": {
  971. "dark": "images/dark/git-icon-orange.svg",
  972. "light": "images/light/git-icon-orange.svg"
  973. }
  974. },
  975. {
  976. "command": "gitlens.computingFileAnnotations",
  977. "title": "Computing File Annotations...",
  978. "category": "GitLens",
  979. "icon": {
  980. "dark": "images/dark/git-icon-progress.svg",
  981. "light": "images/light/git-icon-progress.svg"
  982. }
  983. },
  984. {
  985. "command": "gitlens.toggleFileRecentChanges",
  986. "title": "Toggle Recent File Changes Annotations",
  987. "category": "GitLens",
  988. "icon": {
  989. "dark": "images/dark/git-icon.svg",
  990. "light": "images/light/git-icon.svg"
  991. }
  992. },
  993. {
  994. "command": "gitlens.toggleLineBlame",
  995. "title": "Toggle Line Blame Annotations",
  996. "category": "GitLens"
  997. },
  998. {
  999. "command": "gitlens.toggleCodeLens",
  1000. "title": "Toggle Git Code Lens",
  1001. "category": "GitLens"
  1002. },
  1003. {
  1004. "command": "gitlens.showCommitSearch",
  1005. "title": "Search Commits",
  1006. "category": "GitLens",
  1007. "icon": {
  1008. "dark": "images/dark/icon-search.svg",
  1009. "light": "images/light/icon-search.svg"
  1010. }
  1011. },
  1012. {
  1013. "command": "gitlens.showLastQuickPick",
  1014. "title": "Show Last Opened Quick Pick",
  1015. "category": "GitLens"
  1016. },
  1017. {
  1018. "command": "gitlens.showQuickCommitDetails",
  1019. "title": "Show Commit Details",
  1020. "category": "GitLens"
  1021. },
  1022. {
  1023. "command": "gitlens.showQuickCommitFileDetails",
  1024. "title": "Show Commit File Details",
  1025. "category": "GitLens"
  1026. },
  1027. {
  1028. "command": "gitlens.showQuickFileHistory",
  1029. "title": "Show File History",
  1030. "category": "GitLens"
  1031. },
  1032. {
  1033. "command": "gitlens.showQuickBranchHistory",
  1034. "title": "Show Branch History",
  1035. "category": "GitLens"
  1036. },
  1037. {
  1038. "command": "gitlens.showQuickRepoHistory",
  1039. "title": "Show Current Branch History",
  1040. "category": "GitLens"
  1041. },
  1042. {
  1043. "command": "gitlens.showQuickRepoStatus",
  1044. "title": "Show Repository Status",
  1045. "category": "GitLens"
  1046. },
  1047. {
  1048. "command": "gitlens.showQuickStashList",
  1049. "title": "Show Stashed Changes",
  1050. "category": "GitLens"
  1051. },
  1052. {
  1053. "command": "gitlens.copyShaToClipboard",
  1054. "title": "Copy Commit ID to Clipboard",
  1055. "category": "GitLens"
  1056. },
  1057. {
  1058. "command": "gitlens.copyMessageToClipboard",
  1059. "title": "Copy Commit Message to Clipboard",
  1060. "category": "GitLens"
  1061. },
  1062. {
  1063. "command": "gitlens.closeUnchangedFiles",
  1064. "title": "Close Unchanged Files",
  1065. "category": "GitLens"
  1066. },
  1067. {
  1068. "command": "gitlens.openChangedFiles",
  1069. "title": "Open Changed Files",
  1070. "category": "GitLens"
  1071. },
  1072. {
  1073. "command": "gitlens.openBranchesInRemote",
  1074. "title": "Open Branches in Remote",
  1075. "category": "GitLens"
  1076. },
  1077. {
  1078. "command": "gitlens.openBranchInRemote",
  1079. "title": "Open Branch in Remote",
  1080. "category": "GitLens"
  1081. },
  1082. {
  1083. "command": "gitlens.openCommitInRemote",
  1084. "title": "Open Commit in Remote",
  1085. "category": "GitLens"
  1086. },
  1087. {
  1088. "command": "gitlens.openFileInRemote",
  1089. "title": "Open File in Remote",
  1090. "category": "GitLens"
  1091. },
  1092. {
  1093. "command": "gitlens.openRepoInRemote",
  1094. "title": "Open Repository in Remote",
  1095. "category": "GitLens"
  1096. },
  1097. {
  1098. "command": "gitlens.stashApply",
  1099. "title": "Apply Stashed Changes",
  1100. "category": "GitLens"
  1101. },
  1102. {
  1103. "command": "gitlens.stashDelete",
  1104. "title": "Delete Stashed Changes",
  1105. "category": "GitLens"
  1106. },
  1107. {
  1108. "command": "gitlens.stashSave",
  1109. "title": "Stash Changes",
  1110. "category": "GitLens",
  1111. "icon": {
  1112. "dark": "images/dark/icon-add.svg",
  1113. "light": "images/light/icon-add.svg"
  1114. }
  1115. },
  1116. {
  1117. "command": "gitlens.externalDiff",
  1118. "title": "Open Changes (with difftool)",
  1119. "category": "GitLens"
  1120. },
  1121. {
  1122. "command": "gitlens.externalDiffAll",
  1123. "title": "Open All Changes (with difftool)",
  1124. "category": "GitLens"
  1125. },
  1126. {
  1127. "command": "gitlens.resetSuppressedWarnings",
  1128. "title": "Reset Suppressed Warnings",
  1129. "category": "GitLens"
  1130. },
  1131. {
  1132. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1133. "title": "Enable Automatic Refresh",
  1134. "category": "GitLens"
  1135. },
  1136. {
  1137. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1138. "title": "Disable Automatic Refresh",
  1139. "category": "GitLens"
  1140. },
  1141. {
  1142. "command": "gitlens.gitExplorer.refresh",
  1143. "title": "Refresh",
  1144. "category": "GitLens",
  1145. "icon": {
  1146. "dark": "images/dark/icon-refresh.svg",
  1147. "light": "images/light/icon-refresh.svg"
  1148. }
  1149. },
  1150. {
  1151. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1152. "title": "Show Files in Automatic View",
  1153. "category": "GitLens"
  1154. },
  1155. {
  1156. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1157. "title": "Show Files in List View",
  1158. "category": "GitLens"
  1159. },
  1160. {
  1161. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1162. "title": "Show Files in Tree View",
  1163. "category": "GitLens"
  1164. },
  1165. {
  1166. "command": "gitlens.gitExplorer.switchToHistoryView",
  1167. "title": "Switch to History View",
  1168. "category": "GitLens",
  1169. "icon": {
  1170. "dark": "images/dark/icon-history.svg",
  1171. "light": "images/light/icon-history.svg"
  1172. }
  1173. },
  1174. {
  1175. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1176. "title": "Switch to Repository View",
  1177. "category": "GitLens",
  1178. "icon": {
  1179. "dark": "images/dark/icon-repo.svg",
  1180. "light": "images/light/icon-repo.svg"
  1181. }
  1182. },
  1183. {
  1184. "command": "gitlens.gitExplorer.openChanges",
  1185. "title": "Open Changes",
  1186. "category": "GitLens"
  1187. },
  1188. {
  1189. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1190. "title": "Open Changes with Working Tree",
  1191. "category": "GitLens"
  1192. },
  1193. {
  1194. "command": "gitlens.gitExplorer.openFile",
  1195. "title": "Open File",
  1196. "category": "GitLens"
  1197. },
  1198. {
  1199. "command": "gitlens.gitExplorer.openFileRevision",
  1200. "title": "Open Revision",
  1201. "category": "GitLens"
  1202. },
  1203. {
  1204. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1205. "title": "Open Revision in Remote",
  1206. "category": "GitLens"
  1207. },
  1208. {
  1209. "command": "gitlens.gitExplorer.openChangedFiles",
  1210. "title": "Open Files",
  1211. "category": "GitLens"
  1212. },
  1213. {
  1214. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1215. "title": "Open All Changes",
  1216. "category": "GitLens"
  1217. },
  1218. {
  1219. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1220. "title": "Open All Changes with Working Tree",
  1221. "category": "GitLens"
  1222. },
  1223. {
  1224. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1225. "title": "Open Revisions",
  1226. "category": "GitLens"
  1227. },
  1228. {
  1229. "command": "gitlens.gitExplorer.applyChanges",
  1230. "title": "Apply Changes",
  1231. "category": "GitLens"
  1232. }
  1233. ],
  1234. "menus": {
  1235. "commandPalette": [
  1236. {
  1237. "command": "gitlens.diffDirectory",
  1238. "when": "gitlens:enabled"
  1239. },
  1240. {
  1241. "command": "gitlens.diffWith",
  1242. "when": "false"
  1243. },
  1244. {
  1245. "command": "gitlens.diffWithBranch",
  1246. "when": "gitlens:activeIsTracked"
  1247. },
  1248. {
  1249. "command": "gitlens.diffWithNext",
  1250. "when": "gitlens:activeIsTracked"
  1251. },
  1252. {
  1253. "command": "gitlens.diffWithPrevious",
  1254. "when": "gitlens:activeIsTracked"
  1255. },
  1256. {
  1257. "command": "gitlens.diffLineWithPrevious",
  1258. "when": "gitlens:activeIsBlameable"
  1259. },
  1260. {
  1261. "command": "gitlens.diffWithRevision",
  1262. "when": "gitlens:activeIsTracked"
  1263. },
  1264. {
  1265. "command": "gitlens.diffWithWorking",
  1266. "when": "gitlens:activeIsTracked"
  1267. },
  1268. {
  1269. "command": "gitlens.diffLineWithWorking",
  1270. "when": "gitlens:activeIsBlameable"
  1271. },
  1272. {
  1273. "command": "gitlens.externalDiffAll",
  1274. "when": "gitlens:enabled"
  1275. },
  1276. {
  1277. "command": "gitlens.showFileBlame",
  1278. "when": "gitlens:activeIsBlameable"
  1279. },
  1280. {
  1281. "command": "gitlens.showLineBlame",
  1282. "when": "gitlens:activeIsBlameable"
  1283. },
  1284. {
  1285. "command": "gitlens.toggleFileBlame",
  1286. "when": "gitlens:activeIsBlameable"
  1287. },
  1288. {
  1289. "command": "gitlens.clearFileAnnotations",
  1290. "when": "gitlens:annotationStatus == computed"
  1291. },
  1292. {
  1293. "command": "gitlens.computingFileAnnotations",
  1294. "when": "false"
  1295. },
  1296. {
  1297. "command": "gitlens.toggleFileRecentChanges",
  1298. "when": "gitlens:activeIsTracked"
  1299. },
  1300. {
  1301. "command": "gitlens.toggleLineBlame",
  1302. "when": "gitlens:activeIsBlameable"
  1303. },
  1304. {
  1305. "command": "gitlens.toggleCodeLens",
  1306. "when": "gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  1307. },
  1308. {
  1309. "command": "gitlens.showLastQuickPick",
  1310. "when": "gitlens:enabled"
  1311. },
  1312. {
  1313. "command": "gitlens.showQuickCommitDetails",
  1314. "when": "gitlens:activeIsBlameable"
  1315. },
  1316. {
  1317. "command": "gitlens.showQuickCommitFileDetails",
  1318. "when": "gitlens:activeIsBlameable"
  1319. },
  1320. {
  1321. "command": "gitlens.showQuickFileHistory",
  1322. "when": "gitlens:activeIsTracked"
  1323. },
  1324. {
  1325. "command": "gitlens.showQuickBranchHistory",
  1326. "when": "gitlens:enabled"
  1327. },
  1328. {
  1329. "command": "gitlens.showQuickRepoHistory",
  1330. "when": "gitlens:enabled"
  1331. },
  1332. {
  1333. "command": "gitlens.showQuickRepoStatus",
  1334. "when": "gitlens:enabled"
  1335. },
  1336. {
  1337. "command": "gitlens.showQuickStashList",
  1338. "when": "gitlens:enabled"
  1339. },
  1340. {
  1341. "command": "gitlens.copyShaToClipboard",
  1342. "when": "gitlens:activeIsBlameable"
  1343. },
  1344. {
  1345. "command": "gitlens.copyMessageToClipboard",
  1346. "when": "gitlens:activeIsBlameable"
  1347. },
  1348. {
  1349. "command": "gitlens.closeUnchangedFiles",
  1350. "when": "gitlens:enabled"
  1351. },
  1352. {
  1353. "command": "gitlens.openChangedFiles",
  1354. "when": "gitlens:enabled"
  1355. },
  1356. {
  1357. "command": "gitlens.openBranchesInRemote",
  1358. "when": "gitlens:activeHasRemotes"
  1359. },
  1360. {
  1361. "command": "gitlens.openBranchInRemote",
  1362. "when": "gitlens:activeHasRemotes"
  1363. },
  1364. {
  1365. "command": "gitlens.openCommitInRemote",
  1366. "when": "gitlens:activeIsBlameable && gitlens:activeHasRemotes"
  1367. },
  1368. {
  1369. "command": "gitlens.openFileInRemote",
  1370. "when": "gitlens:activeIsTracked && gitlens:activeHasRemotes"
  1371. },
  1372. {
  1373. "command": "gitlens.openRepoInRemote",
  1374. "when": "gitlens:activeHasRemotes"
  1375. },
  1376. {
  1377. "command": "gitlens.stashApply",
  1378. "when": "gitlens:enabled"
  1379. },
  1380. {
  1381. "command": "gitlens.stashSave",
  1382. "when": "gitlens:enabled"
  1383. },
  1384. {
  1385. "command": "gitlens.resetSuppressedWarnings",
  1386. "when": "gitlens:enabled"
  1387. },
  1388. {
  1389. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1390. "when": "false"
  1391. },
  1392. {
  1393. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1394. "when": "false"
  1395. },
  1396. {
  1397. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1398. "when": "false"
  1399. },
  1400. {
  1401. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1402. "when": "false"
  1403. },
  1404. {
  1405. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1406. "when": "false"
  1407. },
  1408. {
  1409. "command": "gitlens.gitExplorer.refresh",
  1410. "when": "false"
  1411. },
  1412. {
  1413. "command": "gitlens.gitExplorer.switchToHistoryView",
  1414. "when": "gitlens:gitExplorer:view == repository"
  1415. },
  1416. {
  1417. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1418. "when": "gitlens:gitExplorer:view == history"
  1419. },
  1420. {
  1421. "command": "gitlens.gitExplorer.openChanges",
  1422. "when": "false"
  1423. },
  1424. {
  1425. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1426. "when": "false"
  1427. },
  1428. {
  1429. "command": "gitlens.gitExplorer.openFile",
  1430. "when": "false"
  1431. },
  1432. {
  1433. "command": "gitlens.gitExplorer.openFileRevision",
  1434. "when": "false"
  1435. },
  1436. {
  1437. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1438. "when": "false"
  1439. },
  1440. {
  1441. "command": "gitlens.gitExplorer.openChangedFiles",
  1442. "when": "false"
  1443. },
  1444. {
  1445. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1446. "when": "false"
  1447. },
  1448. {
  1449. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1450. "when": "false"
  1451. },
  1452. {
  1453. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1454. "when": "false"
  1455. },
  1456. {
  1457. "command": "gitlens.gitExplorer.applyChanges",
  1458. "when": "false"
  1459. }
  1460. ],
  1461. "editor/context": [
  1462. {
  1463. "command": "gitlens.openFileInRemote",
  1464. "when": "editorTextFocus && gitlens:activeHasRemotes && config.gitlens.advanced.menus.editorContext.remote",
  1465. "group": "navigation@100"
  1466. },
  1467. {
  1468. "command": "gitlens.diffLineWithPrevious",
  1469. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1470. "group": "1_gitlens@1"
  1471. },
  1472. {
  1473. "command": "gitlens.diffLineWithWorking",
  1474. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.lineDiff",
  1475. "group": "1_gitlens@2"
  1476. },
  1477. {
  1478. "command": "gitlens.showQuickCommitFileDetails",
  1479. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.details",
  1480. "group": "1_gitlens@3"
  1481. },
  1482. {
  1483. "command": "gitlens.diffWithPrevious",
  1484. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1485. "group": "1_gitlens_1@1"
  1486. },
  1487. {
  1488. "command": "gitlens.diffWithWorking",
  1489. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.fileDiff",
  1490. "group": "1_gitlens_1@2"
  1491. },
  1492. {
  1493. "command": "gitlens.showQuickFileHistory",
  1494. "when": "gitlens:activeIsTracked && config.gitlens.advanced.menus.editorContext.history",
  1495. "group": "3_gitlens@1"
  1496. },
  1497. {
  1498. "command": "gitlens.toggleFileBlame",
  1499. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.blame",
  1500. "group": "3_gitlens@2"
  1501. },
  1502. {
  1503. "command": "gitlens.copyShaToClipboard",
  1504. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1505. "group": "9_gitlens@1"
  1506. },
  1507. {
  1508. "command": "gitlens.copyMessageToClipboard",
  1509. "when": "editorTextFocus && gitlens:activeIsBlameable && config.gitlens.advanced.menus.editorContext.copy",
  1510. "group": "9_gitlens@2"
  1511. }
  1512. ],
  1513. "editor/title": [
  1514. {
  1515. "command": "gitlens.toggleFileBlame",
  1516. "alt": "gitlens.toggleFileRecentChanges",
  1517. "when": "gitlens:activeIsBlameable && !gitlens:annotationStatus && config.gitlens.advanced.menus.editorTitle.blame",
  1518. "group": "navigation@100"
  1519. },
  1520. {
  1521. "command": "gitlens.computingFileAnnotations",
  1522. "when": "gitlens:annotationStatus == computing && config.gitlens.advanced.menus.editorTitle.blame",
  1523. "group": "navigation@100"
  1524. },
  1525. {
  1526. "command": "gitlens.clearFileAnnotations",
  1527. "when": "gitlens:annotationStatus == computed && config.gitlens.advanced.menus.editorTitle.blame",
  1528. "group": "navigation@100"
  1529. },
  1530. {
  1531. "command": "gitlens.openFileInRemote",
  1532. "when": "gitlens:enabled && gitlens:activeHasRemotes && config.gitlens.advanced.menus.editorTitle.remote",
  1533. "group": "1_gitlens"
  1534. },
  1535. {
  1536. "command": "gitlens.openRepoInRemote",
  1537. "when": "gitlens:enabled && gitlens:activeHasRemotes && config.gitlens.advanced.menus.editorTitle.remote",
  1538. "group": "1_gitlens"
  1539. },
  1540. {
  1541. "command": "gitlens.diffWithPrevious",
  1542. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1543. "group": "2_gitlens"
  1544. },
  1545. {
  1546. "command": "gitlens.diffWithWorking",
  1547. "when": "editorTextFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.fileDiff",
  1548. "group": "2_gitlens"
  1549. },
  1550. {
  1551. "command": "gitlens.showQuickFileHistory",
  1552. "when": "editorFocus && gitlens:activeIsTracked && config.gitlens.advanced.menus.editorTitle.history",
  1553. "group": "2_gitlens_1"
  1554. },
  1555. {
  1556. "command": "gitlens.showQuickRepoHistory",
  1557. "when": "!editorFocus && gitlens:enabled && config.gitlens.advanced.menus.editorTitle.history",
  1558. "group": "2_gitlens_1"
  1559. },
  1560. {
  1561. "command": "gitlens.showQuickRepoStatus",
  1562. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitle.status",
  1563. "group": "2_gitlens_1"
  1564. }
  1565. ],
  1566. "editor/title/context": [
  1567. {
  1568. "command": "gitlens.openFileInRemote",
  1569. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.editorTitleContext.remote",
  1570. "group": "1_gitlens"
  1571. },
  1572. {
  1573. "command": "gitlens.diffWithPrevious",
  1574. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1575. "group": "1_gitlens_1@1"
  1576. },
  1577. {
  1578. "command": "gitlens.diffWithWorking",
  1579. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.fileDiff",
  1580. "group": "1_gitlens_1@2"
  1581. },
  1582. {
  1583. "command": "gitlens.showQuickFileHistory",
  1584. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.history",
  1585. "group": "1_gitlens_2@1"
  1586. },
  1587. {
  1588. "command": "gitlens.toggleFileBlame",
  1589. "when": "gitlens:enabled && config.gitlens.advanced.menus.editorTitleContext.blame",
  1590. "group": "1_gitlens_2@2"
  1591. }
  1592. ],
  1593. "explorer/context": [
  1594. {
  1595. "command": "gitlens.openFileInRemote",
  1596. "when": "gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote",
  1597. "group": "navigation@100"
  1598. },
  1599. {
  1600. "command": "gitlens.diffWithPrevious",
  1601. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1602. "group": "1_gitlens@1"
  1603. },
  1604. {
  1605. "command": "gitlens.diffWithWorking",
  1606. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff",
  1607. "group": "1_gitlens@2"
  1608. },
  1609. {
  1610. "command": "gitlens.showQuickFileHistory",
  1611. "when": "gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history",
  1612. "group": "1_gitlens_1@1"
  1613. }
  1614. ],
  1615. "scm/resourceGroup/context": [
  1616. {
  1617. "command": "gitlens.openChangedFiles",
  1618. "when": "gitlens:enabled",
  1619. "group": "2_gitlens@1"
  1620. },
  1621. {
  1622. "command": "gitlens.closeUnchangedFiles",
  1623. "when": "gitlens:enabled",
  1624. "group": "2_gitlens@2"
  1625. },
  1626. {
  1627. "command": "gitlens.externalDiff",
  1628. "when": "gitlens:enabled",
  1629. "group": "2_gitlens@3"
  1630. },
  1631. {
  1632. "command": "gitlens.externalDiffAll",
  1633. "when": "gitlens:enabled",
  1634. "group": "2_gitlens@4"
  1635. },
  1636. {
  1637. "command": "gitlens.stashSave",
  1638. "when": "gitlens:enabled",
  1639. "group": "3_gitlens@1"
  1640. }
  1641. ],
  1642. "scm/resourceState/context": [
  1643. {
  1644. "command": "gitlens.openFileInRemote",
  1645. "when": "gitlens:enabled && gitlens:hasRemotes",
  1646. "group": "navigation"
  1647. },
  1648. {
  1649. "command": "gitlens.externalDiff",
  1650. "when": "gitlens:enabled",
  1651. "group": "navigation"
  1652. },
  1653. {
  1654. "command": "gitlens.diffWithRevision",
  1655. "when": "gitlens:enabled",
  1656. "group": "1_gitlens@1"
  1657. },
  1658. {
  1659. "command": "gitlens.showQuickFileHistory",
  1660. "when": "gitlens:enabled",
  1661. "group": "1_gitlens_1@1"
  1662. },
  1663. {
  1664. "command": "gitlens.stashSave",
  1665. "when": "gitlens:enabled",
  1666. "group": "2_gitlens@1"
  1667. }
  1668. ],
  1669. "view/title": [
  1670. {
  1671. "command": "gitlens.showCommitSearch",
  1672. "when": "view == gitlens.gitExplorer",
  1673. "group": "navigation@1"
  1674. },
  1675. {
  1676. "command": "gitlens.gitExplorer.switchToHistoryView",
  1677. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1678. "group": "navigation@2"
  1679. },
  1680. {
  1681. "command": "gitlens.gitExplorer.switchToRepositoryView",
  1682. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == history",
  1683. "group": "navigation@3"
  1684. },
  1685. {
  1686. "command": "gitlens.gitExplorer.refresh",
  1687. "when": "view == gitlens.gitExplorer",
  1688. "group": "navigation@4"
  1689. },
  1690. {
  1691. "command": "gitlens.gitExplorer.setFilesLayoutToAuto",
  1692. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1693. "group": "1_gitlens"
  1694. },
  1695. {
  1696. "command": "gitlens.gitExplorer.setFilesLayoutToList",
  1697. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1698. "group": "1_gitlens"
  1699. },
  1700. {
  1701. "command": "gitlens.gitExplorer.setFilesLayoutToTree",
  1702. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository",
  1703. "group": "1_gitlens"
  1704. },
  1705. {
  1706. "command": "gitlens.gitExplorer.setAutoRefreshToOn",
  1707. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository && config.gitlens.gitExplorer.autoRefresh && !gitlens:gitExplorer:autoRefresh",
  1708. "group": "2_gitlens"
  1709. },
  1710. {
  1711. "command": "gitlens.gitExplorer.setAutoRefreshToOff",
  1712. "when": "view == gitlens.gitExplorer && gitlens:gitExplorer:view == repository && config.gitlens.gitExplorer.autoRefresh && gitlens:gitExplorer:autoRefresh",
  1713. "group": "2_gitlens"
  1714. }
  1715. ],
  1716. "view/item/context": [
  1717. {
  1718. "command": "gitlens.openBranchesInRemote",
  1719. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branches:remote",
  1720. "group": "1_gitlens@1"
  1721. },
  1722. {
  1723. "command": "gitlens.openBranchInRemote",
  1724. "when": "view == gitlens.gitExplorer && viewItem == gitlens:branch-history:remote",
  1725. "group": "1_gitlens@1"
  1726. },
  1727. {
  1728. "command": "gitlens.openCommitInRemote",
  1729. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1730. "group": "1_gitlens@1"
  1731. },
  1732. {
  1733. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1734. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1735. "group": "2_gitlens@1"
  1736. },
  1737. {
  1738. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1739. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1740. "group": "2_gitlens@1"
  1741. },
  1742. {
  1743. "command": "gitlens.gitExplorer.openChangedFiles",
  1744. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1745. "group": "3_gitlens@1"
  1746. },
  1747. {
  1748. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1749. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1750. "group": "3_gitlens@2"
  1751. },
  1752. {
  1753. "command": "gitlens.copyShaToClipboard",
  1754. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1755. "group": "4_gitlens@1"
  1756. },
  1757. {
  1758. "command": "gitlens.copyMessageToClipboard",
  1759. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1760. "group": "4_gitlens@2"
  1761. },
  1762. {
  1763. "command": "gitlens.showQuickCommitDetails",
  1764. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit",
  1765. "group": "5_gitlens@1"
  1766. },
  1767. {
  1768. "command": "gitlens.gitExplorer.openChanges",
  1769. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1770. "group": "1_gitlens@1"
  1771. },
  1772. {
  1773. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1774. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1775. "group": "1_gitlens@2"
  1776. },
  1777. {
  1778. "command": "gitlens.gitExplorer.openFile",
  1779. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1780. "group": "2_gitlens@1"
  1781. },
  1782. {
  1783. "command": "gitlens.gitExplorer.openFileRevision",
  1784. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1785. "group": "2_gitlens@2"
  1786. },
  1787. {
  1788. "command": "gitlens.openFileInRemote",
  1789. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1790. "group": "3_gitlens@1"
  1791. },
  1792. {
  1793. "command": "gitlens.gitExplorer.openFileRevisionInRemote",
  1794. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1795. "group": "3_gitlens@2"
  1796. },
  1797. {
  1798. "command": "gitlens.gitExplorer.applyChanges",
  1799. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1800. "group": "4_gitlens@1"
  1801. },
  1802. {
  1803. "command": "gitlens.showQuickFileHistory",
  1804. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file && gitlens:gitExplorer:view == repository",
  1805. "group": "5_gitlens@1"
  1806. },
  1807. {
  1808. "command": "gitlens.showQuickCommitFileDetails",
  1809. "when": "view == gitlens.gitExplorer && viewItem == gitlens:commit-file",
  1810. "group": "5_gitlens@2"
  1811. },
  1812. {
  1813. "command": "gitlens.gitExplorer.openFile",
  1814. "when": "view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  1815. "group": "1_gitlens@1"
  1816. },
  1817. {
  1818. "command": "gitlens.openFileInRemote",
  1819. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:file-history",
  1820. "group": "1_gitlens@2"
  1821. },
  1822. {
  1823. "command": "gitlens.openBranchesInRemote",
  1824. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:remote",
  1825. "group": "1_gitlens@1"
  1826. },
  1827. {
  1828. "command": "gitlens.openRepoInRemote",
  1829. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:remote",
  1830. "group": "1_gitlens@2"
  1831. },
  1832. {
  1833. "command": "gitlens.stashSave",
  1834. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stashes",
  1835. "group": "1_gitlens@1"
  1836. },
  1837. {
  1838. "command": "gitlens.stashApply",
  1839. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1840. "group": "1_gitlens@1"
  1841. },
  1842. {
  1843. "command": "gitlens.stashDelete",
  1844. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1845. "group": "1_gitlens@2"
  1846. },
  1847. {
  1848. "command": "gitlens.gitExplorer.openChangedFileChanges",
  1849. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1850. "group": "2_gitlens@1"
  1851. },
  1852. {
  1853. "command": "gitlens.gitExplorer.openChangedFileChangesWithWorking",
  1854. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1855. "group": "2_gitlens@1"
  1856. },
  1857. {
  1858. "command": "gitlens.gitExplorer.openChangedFiles",
  1859. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1860. "group": "3_gitlens@1"
  1861. },
  1862. {
  1863. "command": "gitlens.gitExplorer.openChangedFileRevisions",
  1864. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1865. "group": "3_gitlens@2"
  1866. },
  1867. {
  1868. "command": "gitlens.copyMessageToClipboard",
  1869. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash",
  1870. "group": "4_gitlens@1"
  1871. },
  1872. {
  1873. "command": "gitlens.gitExplorer.applyChanges",
  1874. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1875. "group": "1_gitlens@1"
  1876. },
  1877. {
  1878. "command": "gitlens.gitExplorer.openChanges",
  1879. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1880. "group": "2_gitlens@1"
  1881. },
  1882. {
  1883. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1884. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1885. "group": "2_gitlens@2"
  1886. },
  1887. {
  1888. "command": "gitlens.gitExplorer.openFile",
  1889. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1890. "group": "3_gitlens@1"
  1891. },
  1892. {
  1893. "command": "gitlens.gitExplorer.openFileRevision",
  1894. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1895. "group": "3_gitlens@2"
  1896. },
  1897. {
  1898. "command": "gitlens.openFileInRemote",
  1899. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1900. "group": "4_gitlens@1"
  1901. },
  1902. {
  1903. "command": "gitlens.showQuickFileHistory",
  1904. "when": "view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
  1905. "group": "5_gitlens@1"
  1906. },
  1907. {
  1908. "command": "gitlens.openRepoInRemote",
  1909. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status",
  1910. "group": "1_gitlens@1"
  1911. },
  1912. {
  1913. "command": "gitlens.gitExplorer.openChanges",
  1914. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1915. "group": "1_gitlens@1"
  1916. },
  1917. {
  1918. "command": "gitlens.gitExplorer.openChangesWithWorking",
  1919. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1920. "group": "1_gitlens@2"
  1921. },
  1922. {
  1923. "command": "gitlens.gitExplorer.openFile",
  1924. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1925. "group": "2_gitlens@1"
  1926. },
  1927. {
  1928. "command": "gitlens.gitExplorer.openFileRevision",
  1929. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1930. "group": "2_gitlens@2"
  1931. },
  1932. {
  1933. "command": "gitlens.openFileInRemote",
  1934. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1935. "group": "3_gitlens@1"
  1936. },
  1937. {
  1938. "command": "gitlens.showQuickFileHistory",
  1939. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file && gitlens:gitExplorer:view == repository",
  1940. "group": "5_gitlens@1"
  1941. },
  1942. {
  1943. "command": "gitlens.showQuickCommitFileDetails",
  1944. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file",
  1945. "group": "5_gitlens@2"
  1946. },
  1947. {
  1948. "command": "gitlens.gitExplorer.openFile",
  1949. "when": "view == gitlens.gitExplorer && viewItem == gitlens:status-file-commits",
  1950. "group": "1_gitlens@1"
  1951. },
  1952. {
  1953. "command": "gitlens.openFileInRemote",
  1954. "when": "gitlens:hasRemotes && view == gitlens.gitExplorer && viewItem == gitlens:status-file-commits",
  1955. "group": "1_gitlens@2"
  1956. },
  1957. {
  1958. "command": "gitlens.gitExplorer.refresh",
  1959. "when": "view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file && viewItem != gitlens:status-file",
  1960. "group": "9_gitlens@1"
  1961. }
  1962. ]
  1963. },
  1964. "keybindings": [
  1965. {
  1966. "command": "gitlens.key.left",
  1967. "key": "alt+left",
  1968. "when": "gitlens:key:left"
  1969. },
  1970. {
  1971. "command": "gitlens.key.right",
  1972. "key": "alt+right",
  1973. "when": "gitlens:key:right"
  1974. },
  1975. {
  1976. "command": "gitlens.key.,",
  1977. "key": "alt+,",
  1978. "when": "gitlens:key:,"
  1979. },
  1980. {
  1981. "command": "gitlens.key..",
  1982. "key": "alt+.",
  1983. "when": "gitlens:key:."
  1984. },
  1985. {
  1986. "command": "gitlens.key.escape",
  1987. "key": "escape",
  1988. "when": "gitlens:key:escape"
  1989. },
  1990. {
  1991. "command": "gitlens.toggleFileBlame",
  1992. "key": "alt+b",
  1993. "when": "editorTextFocus && gitlens:activeIsBlameable"
  1994. },
  1995. {
  1996. "command": "gitlens.toggleCodeLens",
  1997. "key": "shift+alt+b",
  1998. "when": "editorTextFocus && gitlens:activeIsTracked && gitlens:canToggleCodeLens"
  1999. },
  2000. {
  2001. "command": "gitlens.showLastQuickPick",
  2002. "key": "alt+-",
  2003. "when": "gitlens:enabled"
  2004. },
  2005. {
  2006. "command": "gitlens.showCommitSearch",
  2007. "key": "alt+/",
  2008. "when": "gitlens:enabled"
  2009. },
  2010. {
  2011. "command": "gitlens.showQuickFileHistory",
  2012. "key": "alt+h",
  2013. "when": "gitlens:enabled"
  2014. },
  2015. {
  2016. "command": "gitlens.showQuickRepoHistory",
  2017. "key": "shift+alt+h",
  2018. "when": "gitlens:enabled"
  2019. },
  2020. {
  2021. "command": "gitlens.showQuickRepoStatus",
  2022. "key": "alt+s",
  2023. "when": "gitlens:enabled"
  2024. },
  2025. {
  2026. "command": "gitlens.showQuickCommitFileDetails",
  2027. "key": "alt+c",
  2028. "when": "editorTextFocus && gitlens:enabled"
  2029. },
  2030. {
  2031. "command": "gitlens.diffWithNext",
  2032. "key": "alt+.",
  2033. "when": "editorTextFocus && gitlens:activeIsTracked"
  2034. },
  2035. {
  2036. "command": "gitlens.diffLineWithPrevious",
  2037. "key": "shift+alt+,",
  2038. "when": "editorTextFocus && gitlens:activeIsTracked"
  2039. },
  2040. {
  2041. "command": "gitlens.diffWithPrevious",
  2042. "key": "alt+,",
  2043. "when": "editorTextFocus && gitlens:activeIsTracked"
  2044. },
  2045. {
  2046. "command": "gitlens.diffLineWithWorking",
  2047. "key": "alt+w",
  2048. "when": "editorTextFocus && gitlens:activeIsTracked"
  2049. },
  2050. {
  2051. "command": "gitlens.diffWithWorking",
  2052. "key": "shift+alt+w",
  2053. "when": "editorTextFocus && gitlens:activeIsTracked"
  2054. }
  2055. ],
  2056. "views": {
  2057. "explorer": [
  2058. {
  2059. "id": "gitlens.gitExplorer",
  2060. "name": "GitLens",
  2061. "when": "gitlens:enabled && gitlens:hasRepository && config.gitlens.gitExplorer.enabled"
  2062. }
  2063. ]
  2064. }
  2065. },
  2066. "activationEvents": [
  2067. "*"
  2068. ],
  2069. "scripts": {
  2070. "clean": "git clean -xdf",
  2071. "compile": "npm run lint && tsc -p ./",
  2072. "watch": "tsc -watch -p ./",
  2073. "lint": "tslint --project tslint.json",
  2074. "pack": "npm run clean && vsce package",
  2075. "postinstall": "node ./node_modules/vscode/bin/install",
  2076. "pub": "npm run clean && vsce publish",
  2077. "reset": "npm run clean && npm install",
  2078. "vscode:prepublish": "npm install --no-save && npm run compile",
  2079. "prepush": "npm run compile"
  2080. },
  2081. "dependencies": {
  2082. "applicationinsights": "0.21.0",
  2083. "copy-paste": "1.3.0",
  2084. "date-fns": "1.29.0",
  2085. "iconv-lite": "0.4.19",
  2086. "lodash.debounce": "4.0.8",
  2087. "lodash.escaperegexp": "4.1.2",
  2088. "lodash.isequal": "4.5.0",
  2089. "lodash.once": "4.1.1",
  2090. "spawn-rx": "2.0.12",
  2091. "tmp": "0.0.33"
  2092. },
  2093. "devDependencies": {
  2094. "@types/copy-paste": "1.1.30",
  2095. "@types/iconv-lite": "0.0.1",
  2096. "@types/mocha": "2.2.43",
  2097. "@types/node": "8.0.41",
  2098. "@types/tmp": "0.0.33",
  2099. "husky": "^0.14.3",
  2100. "mocha": "4.0.1",
  2101. "tslint": "5.7.0",
  2102. "typescript": "2.5.3",
  2103. "vscode": "1.1.6"
  2104. }
  2105. }