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.

2209 lines
103 KiB

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