Bläddra i källkod

Fixes #1606 Adjusts capitalization of "URL"

main
Dave Nicolson 2 år sedan
committed by Eric Amodio
förälder
incheckning
158fd51b3c
13 ändrade filer med 75 tillägg och 73 borttagningar
  1. +1
    -0
      CHANGELOG.md
  2. +14
    -13
      README.md
  3. +32
    -32
      package.json
  4. +3
    -3
      src/commands/openBranchOnRemote.ts
  5. +1
    -1
      src/commands/openBranchesOnRemote.ts
  6. +1
    -1
      src/commands/openCommitOnRemote.ts
  7. +1
    -1
      src/commands/openFileOnRemote.ts
  8. +10
    -10
      src/commands/openOnRemote.ts
  9. +1
    -1
      src/quickpicks/remoteProviderPicker.ts
  10. +2
    -2
      src/statusbar/statusBarController.ts
  11. +4
    -4
      src/webviews/apps/settings/partials/code-lens.html
  12. +3
    -3
      src/webviews/apps/settings/partials/menus.html
  13. +2
    -2
      src/webviews/apps/settings/partials/status-bar.html

+ 1
- 0
CHANGELOG.md Visa fil

@ -40,6 +40,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Fixes [#2303](https://github.com/gitkraken/vscode-gitlens/issues/2303) - "Googlesource" gerrit only supports two levels of domain — thanks to [PR #2304](https://github.com/gitkraken/vscode-gitlens/pull/2304) by Matt Buckley ([@Mattadore](https://github.com/Mattadore))
- Fixes [#2315](https://github.com/gitkraken/vscode-gitlens/issues/2315) - Commit details secondary side bar banner doesn't stay dismissed
- Fixes [#2329](https://github.com/gitkraken/vscode-gitlens/issues/2329) - Remember UI settings in Commit Details panel
- Fixes [#1606](https://github.com/gitkraken/vscode-gitlens/issues/1606) - Adjusts capitalization of "URL"
## [13.0.4] - 2002-11-03

+ 14
- 13
README.md Visa fil

@ -656,26 +656,26 @@ GitLens provides integrations with many Git hosting services, including GitHub,
All Git host integrations provide issue and pull request auto-linking, while rich integrations (e.g. GitHub & GitLab) provide more detailed hover information for auto-linked issues and pull requests, pull requests associated with branches and commits, and avatars.
Additionally, these integrations provide commands to copy the url of or open files, commits, branches, and the repository on the remote provider.
Additionally, these integrations provide commands to copy the URL of or open files, commits, branches, and the repository on the remote provider.
- _Open File from Remote_ command (`gitlens.openFileFromRemote`) — opens the local file from a url of a file on a remote provider
- _Open File from Remote_ command (`gitlens.openFileFromRemote`) — opens the local file from a URL of a file on a remote provider
- _Open File on Remote_ command (`gitlens.openFileOnRemote`) — opens a file or revision on the remote provider
- _Copy Remote File Url_ command (`gitlens.copyRemoteFileUrlToClipboard`) — copies the url of a file or revision on the remote provider
- _Copy Remote File URL_ command (`gitlens.copyRemoteFileUrlToClipboard`) — copies the URL of a file or revision on the remote provider
- _Open File on Remote From..._ command (`gitlens.openFileOnRemoteFrom`) — opens a file or revision on a specific branch or tag on the remote provider
- _Copy Remote File Url From..._ command (`gitlens.copyRemoteFileUrlFrom`) — copies the url of a file or revision on a specific branch or tag the remote provider
- _Copy Remote File URL From..._ command (`gitlens.copyRemoteFileUrlFrom`) — copies the URL of a file or revision on a specific branch or tag the remote provider
- _Open Commit on Remote_ command (`gitlens.openCommitOnRemote`) — opens a commit on the remote provider
- _Copy Remote Commit Url_ command (`gitlens.copyRemoteCommitUrl`) — copies the url of a commit on the remote provider
- _Copy Remote Commit URL_ command (`gitlens.copyRemoteCommitUrl`) — copies the URL of a commit on the remote provider
- _Open Branch on Remote_ command (`gitlens.openBranchOnRemote`) — opens the branch on the remote provider
- _Open Current Branch on Remote_ command (`gitlens.openCurrentBranchOnRemote`) — opens the current branch on the remote provider
- _Copy Remote Branch Url_ command (`gitlens.copyRemoteBranchUrl`) — copies the url of a branch on the remote provider
- _Copy Remote Branch URL_ command (`gitlens.copyRemoteBranchUrl`) — copies the URL of a branch on the remote provider
- _Open Branches on Remote_ command (`gitlens.openBranchesOnRemote`) — opens the branches on the remote provider
- _Copy Remote Branches Url_ command (`gitlens.copyRemoteBranchesUrl`) — copies the url of the branches on the remote provider
- _Copy Remote Branches URL_ command (`gitlens.copyRemoteBranchesUrl`) — copies the URL of the branches on the remote provider
- _Open Comparison on Remote_ command (`gitlens.openComparisonOnRemote`) — opens the comparison on the remote provider
- _Copy Remote Comparison Url_ command (`gitlens.copyRemoteComparisonUrl`) — copies the url of the comparison on the remote provider
- _Copy Remote Comparison URL_ command (`gitlens.copyRemoteComparisonUrl`) — copies the URL of the comparison on the remote provider
- _Open Pull Request_ command (`gitlens.openPullRequestOnRemote`) — opens the pull request on the remote provider
- _Copy Pull Request Url_ command (`gitlens.copyRemotePullRequestUrl`) — copies the url of the pull request on the remote provider
- _Copy Pull Request URL_ command (`gitlens.copyRemotePullRequestUrl`) — copies the URL of the pull request on the remote provider
- _Open Repository on Remote_ command (`gitlens.openRepoOnRemote`) — opens the repository on the remote provider
- _Copy Remote Repository Url_ command (`gitlens.copyRemoteRepositoryUrl`) — copies the url of the repository on the remote provider
- _Copy Remote Repository URL_ command (`gitlens.copyRemoteRepositoryUrl`) — copies the URL of the repository on the remote provider
## Powerful Commands [#](#powerful-commands- 'Powerful Commands')
@ -764,11 +764,11 @@ GitLens is highly customizable and provides many configuration settings to allow
| Name | Description |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `gitlens.codeLens.authors.command` | Specifies the command to be executed when an _authors_ CodeLens is clicked, set to (`gitlens.toggleFileBlame`) by default. Can be set to `false` to disable click actions on the CodeLens.<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit url to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file url to the clipboard (when available) |
| `gitlens.codeLens.authors.command` | Specifies the command to be executed when an _authors_ CodeLens is clicked, set to (`gitlens.toggleFileBlame`) by default. Can be set to `false` to disable click actions on the CodeLens.<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file URL to the clipboard (when available) |
| `gitlens.codeLens.authors.enabled` | Specifies whether to provide an _authors_ CodeLens, showing number of authors of the file or code block and the most prominent author (if there is more than one) |
| `gitlens.codeLens.enabled` | Specifies whether to provide any Git CodeLens, by default. Use the _Toggle Git CodeLens_ command (`gitlens.toggleCodeLens`) to toggle the Git CodeLens on and off for the current window |
| `gitlens.codeLens.includeSingleLineSymbols` | Specifies whether to provide any Git CodeLens on symbols that span only a single line |
| `gitlens.codeLens.recentChange.command` | Specifies the command to be executed when a _recent change_ CodeLens is clicked, set to (`gitlens.showQuickCommitFileDetails`) by default. Can be set to `false` to disable click actions on the CodeLens.<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit url to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file url to the clipboard (when available) |
| `gitlens.codeLens.recentChange.command` | Specifies the command to be executed when a _recent change_ CodeLens is clicked, set to (`gitlens.showQuickCommitFileDetails`) by default. Can be set to `false` to disable click actions on the CodeLens.<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file URL to the clipboard (when available) |
| `gitlens.codeLens.recentChange.enabled` | Specifies whether to provide a _recent change_ CodeLens, showing the author and date of the most recent commit for the file or code block |
| `gitlens.codeLens.scopes` | Specifies where Git CodeLens will be shown in the document<br /><br />`document` - adds CodeLens at the top of the document<br />`containers` - adds CodeLens at the start of container-like symbols (modules, classes, interfaces, etc)<br />`blocks` - adds CodeLens at the start of block-like symbols (functions, methods, etc) lines |
| `gitlens.codeLens.symbolScopes` | Specifies a set of document symbols where Git CodeLens will or will not be shown in the document. Prefix with `!` to avoid providing a Git CodeLens for the symbol. Must be a member of [`SymbolKind`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#_a-namesymbolkindaspan-classcodeitem-id660symbolkindspan) |
@ -778,7 +778,7 @@ GitLens is highly customizable and provides many configuration settings to allow
| Name | Description |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `gitlens.statusBar.alignment` | Specifies the blame alignment in the status bar<br /><br />`left` - aligns to the left<br />`right` - aligns to the right |
| `gitlens.statusBar.command` | Specifies the command to be executed when the blame status bar item is clicked<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit url to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file url to the clipboard (when available) |
| `gitlens.statusBar.command` | Specifies the command to be executed when the blame status bar item is clicked<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file URL to the clipboard (when available) |
| `gitlens.statusBar.dateFormat` | Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats |
| `gitlens.statusBar.enabled` | Specifies whether to provide blame information in the status bar |
| `gitlens.statusBar.format` | Specifies the format of the blame information in the status bar. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `gitlens.statusBar.dateFormat` setting |
@ -1225,6 +1225,7 @@ A big thanks to the people that have contributed to this project:
- Adaex Yang ([@adaex](https://github.com/adaex)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=adaex)
- Yan Zhang ([@Eskibear](https://github.com/Eskibear)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Eskibear)
- Zyck ([@qzyse2017](https://github.com/qzyse2017)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=qzyse2017)
- Dave Nicolson ([@dnicolson](https://github.com/dnicolson)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=dnicolson)
Also special thanks to the people that have provided support, testing, brainstorming, etc:

+ 32
- 32
package.json Visa fil

@ -336,9 +336,9 @@
"Shows a file history quick pick menu",
"Shows a branch history quick pick menu",
"Opens the commit on the remote service (when available)",
"Copies the remote commit url to the clipboard (when available)",
"Copies the remote commit URL to the clipboard (when available)",
"Opens the file revision on the remote service (when available)",
"Copies the remote file url to the clipboard (when available)"
"Copies the remote file URL to the clipboard (when available)"
],
"default": "gitlens.toggleFileBlame",
"markdownDescription": "Specifies the command to be executed when an _authors_ CodeLens is clicked",
@ -389,9 +389,9 @@
"Shows a file history quick pick menu",
"Shows a branch history quick pick menu",
"Opens the commit on the remote service (when available)",
"Copies the remote commit url to the clipboard (when available)",
"Copies the remote commit URL to the clipboard (when available)",
"Opens the file revision on the remote service (when available)",
"Copies the remote file url to the clipboard (when available)"
"Copies the remote file URL to the clipboard (when available)"
],
"default": "gitlens.showQuickCommitFileDetails",
"markdownDescription": "Specifies the command to be executed when a _recent change_ CodeLens is clicked",
@ -556,9 +556,9 @@
"Shows a file history quick pick menu",
"Shows a branch history quick pick menu",
"Opens the commit on the remote service (when available)",
"Copies the remote commit url to the clipboard (when available)",
"Copies the remote commit URL to the clipboard (when available)",
"Opens the file revision on the remote service (when available)",
"Copies the remote file url to the clipboard (when available)"
"Copies the remote file URL to the clipboard (when available)"
],
"markdownDescription": "Specifies the command to be executed when the blame status bar item is clicked",
"scope": "window",
@ -2495,7 +2495,7 @@
},
"url": {
"type": "string",
"description": "Specifies the url of the external resource you want to link to. Use `<num>` as the variable for the reference number"
"description": "Specifies the URL of the external resource you want to link to. Use `<num>` as the variable for the reference number"
},
"alphanumeric": {
"type": "boolean",
@ -2576,7 +2576,7 @@
"protocol": {
"type": "string",
"default": "https",
"description": "Specifies an optional url protocol for the custom remote service"
"description": "Specifies an optional URL protocol for the custom remote service"
},
"ignoreSSLErrors": {
"type": "boolean",
@ -2599,39 +2599,39 @@
"properties": {
"repository": {
"type": "string",
"markdownDescription": "Specifies the format of a repository url for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path"
"markdownDescription": "Specifies the format of a repository URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path"
},
"branches": {
"type": "string",
"markdownDescription": "Specifies the format of a branches url for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${branch}` &mdash; branch"
"markdownDescription": "Specifies the format of a branches URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${branch}` &mdash; branch"
},
"branch": {
"type": "string",
"markdownDescription": "Specifies the format of a branch url for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${branch}` &mdash; branch"
"markdownDescription": "Specifies the format of a branch URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${branch}` &mdash; branch"
},
"commit": {
"type": "string",
"markdownDescription": "Specifies the format of a commit url for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${id}` &mdash; commit SHA"
"markdownDescription": "Specifies the format of a commit URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${id}` &mdash; commit SHA"
},
"file": {
"type": "string",
"markdownDescription": "Specifies the format of a file url for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${file}` &mdash; file name\\\n`${line}` &mdash; formatted line information"
"markdownDescription": "Specifies the format of a file URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${file}` &mdash; file name\\\n`${line}` &mdash; formatted line information"
},
"fileInBranch": {
"type": "string",
"markdownDescription": "Specifies the format of a branch file url for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${file}` &mdash; file name\\\n`${branch}` &mdash; branch\\\n`${line}` &mdash; formatted line information"
"markdownDescription": "Specifies the format of a branch file URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${file}` &mdash; file name\\\n`${branch}` &mdash; branch\\\n`${line}` &mdash; formatted line information"
},
"fileInCommit": {
"type": "string",
"markdownDescription": "Specifies the format of a commit file url for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${file}` &mdash; file name\\\n`${id}` &mdash; commit SHA\\\n`${line}` &mdash; formatted line information"
"markdownDescription": "Specifies the format of a commit file URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` &mdash; repository path\\\n`${file}` &mdash; file name\\\n`${id}` &mdash; commit SHA\\\n`${line}` &mdash; formatted line information"
},
"fileLine": {
"type": "string",
"markdownDescription": "Specifies the format of a line in a file url for the custom remote service\n\nAvailable tokens\\\n`${line}` &mdash; line"
"markdownDescription": "Specifies the format of a line in a file URL for the custom remote service\n\nAvailable tokens\\\n`${line}` &mdash; line"
},
"fileRange": {
"type": "string",
"markdownDescription": "Specifies the format of a range in a file url for the custom remote service\n\nAvailable tokens\\\n`${start}` &mdash; starting line\\\n`${end}` &mdash; ending line"
"markdownDescription": "Specifies the format of a range in a file URL for the custom remote service\n\nAvailable tokens\\\n`${start}` &mdash; starting line\\\n`${end}` &mdash; ending line"
}
},
"additionalProperties": false
@ -3662,7 +3662,7 @@
"null"
],
"default": null,
"description": "Specifies the url of the proxy server to use"
"description": "Specifies the URL of the proxy server to use"
},
"strictSSL": {
"type": "boolean",
@ -4807,7 +4807,7 @@
},
{
"command": "gitlens.copyRemoteBranchesUrl",
"title": "Copy Remote Branches Url",
"title": "Copy Remote Branches URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4825,7 +4825,7 @@
},
{
"command": "gitlens.copyRemoteBranchUrl",
"title": "Copy Remote Branch Url",
"title": "Copy Remote Branch URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4837,7 +4837,7 @@
},
{
"command": "gitlens.copyRemoteCommitUrl",
"title": "Copy Remote Commit Url",
"title": "Copy Remote Commit URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4849,7 +4849,7 @@
},
{
"command": "gitlens.copyRemoteComparisonUrl",
"title": "Copy Remote Comparison Url",
"title": "Copy Remote Comparison URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4866,13 +4866,13 @@
},
{
"command": "gitlens.copyRemoteFileUrlToClipboard",
"title": "Copy Remote File Url",
"title": "Copy Remote File URL",
"category": "GitLens",
"icon": "$(copy)"
},
{
"command": "gitlens.copyRemoteFileUrlWithoutRange",
"title": "Copy Remote File Url",
"title": "Copy Remote File URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4884,7 +4884,7 @@
},
{
"command": "gitlens.copyRemoteFileUrlFrom",
"title": "Copy Remote File Url From...",
"title": "Copy Remote File URL From...",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4908,13 +4908,13 @@
},
{
"command": "gitlens.openAutolinkUrl",
"title": "Open Autolink Url",
"title": "Open Autolink URL",
"category": "GitLens",
"icon": "$(globe)"
},
{
"command": "gitlens.copyAutolinkUrl",
"title": "Copy Autolink Url",
"title": "Copy Autolink URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4926,7 +4926,7 @@
},
{
"command": "gitlens.copyRemoteIssueUrl",
"title": "Copy Issue Url",
"title": "Copy Issue URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4938,7 +4938,7 @@
},
{
"command": "gitlens.copyRemotePullRequestUrl",
"title": "Copy Pull Request Url",
"title": "Copy Pull Request URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -4956,7 +4956,7 @@
},
{
"command": "gitlens.copyRemoteRepositoryUrl",
"title": "Copy Remote Repository Url",
"title": "Copy Remote Repository URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -6426,7 +6426,7 @@
},
{
"command": "gitlens.graph.copyRemoteBranchUrl",
"title": "Copy Remote Branch Url",
"title": "Copy Remote Branch URL",
"category": "GitLens",
"icon": "$(copy)"
},
@ -6518,7 +6518,7 @@
},
{
"command": "gitlens.graph.copyRemoteCommitUrl",
"title": "Copy Remote Commit Url",
"title": "Copy Remote Commit URL",
"category": "GitLens",
"icon": "$(copy)"
},

+ 3
- 3
src/commands/openBranchOnRemote.ts Visa fil

@ -50,7 +50,7 @@ export class OpenBranchOnRemoteCommand extends ActiveEditorCommand {
await RepositoryPicker.getBestRepositoryOrShow(
gitUri,
editor,
args?.clipboard ? 'Copy Remote Branch Url' : 'Open Branch On Remote',
args?.clipboard ? 'Copy Remote Branch URL' : 'Open Branch On Remote',
)
)?.path;
if (!repoPath) return;
@ -61,8 +61,8 @@ export class OpenBranchOnRemoteCommand extends ActiveEditorCommand {
if (args.branch == null) {
const pick = await ReferencePicker.show(
repoPath,
args.clipboard ? 'Copy Remote Branch Url' : 'Open Branch On Remote',
args.clipboard ? 'Choose a branch to copy the url from' : 'Choose a branch to open',
args.clipboard ? 'Copy Remote Branch URL' : 'Open Branch On Remote',
args.clipboard ? 'Choose a branch to copy the URL from' : 'Choose a branch to open',
{
autoPick: true,
// checkmarks: false,

+ 1
- 1
src/commands/openBranchesOnRemote.ts Visa fil

@ -47,7 +47,7 @@ export class OpenBranchesOnRemoteCommand extends ActiveEditorCommand {
await RepositoryPicker.getBestRepositoryOrShow(
gitUri,
editor,
args?.clipboard ? 'Copy Remote Branches Url' : 'Open Branches on Remote',
args?.clipboard ? 'Copy Remote Branches URL' : 'Open Branches on Remote',
)
)?.path;
if (!repoPath) return;

+ 1
- 1
src/commands/openCommitOnRemote.ts Visa fil

@ -67,7 +67,7 @@ export class OpenCommitOnRemoteCommand extends ActiveEditorCommand {
await RepositoryPicker.getBestRepositoryOrShow(
gitUri,
editor,
args?.clipboard ? 'Copy Remote Commit Url' : 'Open Commit On Remote',
args?.clipboard ? 'Copy Remote Commit URL' : 'Open Commit On Remote',
)
)?.path;
if (!repoPath) return;

+ 1
- 1
src/commands/openFileOnRemote.ts Visa fil

@ -150,7 +150,7 @@ export class OpenFileOnRemoteCommand extends ActiveEditorCommand {
const pick = await ReferencePicker.show(
gitUri.repoPath,
args.clipboard
? `Copy Remote File Url From${pad(GlyphChars.Dot, 2, 2)}${gitUri.relativePath}`
? `Copy Remote File URL From${pad(GlyphChars.Dot, 2, 2)}${gitUri.relativePath}`
: `Open File on Remote From${pad(GlyphChars.Dot, 2, 2)}${gitUri.relativePath}`,
`Choose a branch or tag to ${args.clipboard ? 'copy' : 'open'} the file revision from`,
{

+ 10
- 10
src/commands/openOnRemote.ts Visa fil

@ -85,11 +85,11 @@ export class OpenOnRemoteCommand extends Command {
setDefault: true,
};
let title;
let placeHolder = `Choose which remote to ${args.clipboard ? 'copy the url for' : 'open on'}`;
let placeHolder = `Choose which remote to ${args.clipboard ? 'copy the URL for' : 'open on'}`;
switch (args.resource.type) {
case RemoteResourceType.Branch:
title = `${args.clipboard ? `Copy ${provider} Branch Url` : `Open Branch on ${provider}`}${pad(
title = `${args.clipboard ? `Copy ${provider} Branch URL` : `Open Branch on ${provider}`}${pad(
GlyphChars.Dot,
2,
2,
@ -97,11 +97,11 @@ export class OpenOnRemoteCommand extends Command {
break;
case RemoteResourceType.Branches:
title = `${args.clipboard ? `Copy ${provider} Branches Url` : `Open Branches on ${provider}`}`;
title = `${args.clipboard ? `Copy ${provider} Branches URL` : `Open Branches on ${provider}`}`;
break;
case RemoteResourceType.Commit:
title = `${args.clipboard ? `Copy ${provider} Commit Url` : `Open Commit on ${provider}`}${pad(
title = `${args.clipboard ? `Copy ${provider} Commit URL` : `Open Commit on ${provider}`}${pad(
GlyphChars.Dot,
2,
2,
@ -110,7 +110,7 @@ export class OpenOnRemoteCommand extends Command {
case RemoteResourceType.Comparison:
title = `${
args.clipboard ? `Copy ${provider} Comparison Url` : `Open Comparison on ${provider}`
args.clipboard ? `Copy ${provider} Comparison URL` : `Open Comparison on ${provider}`
}${pad(GlyphChars.Dot, 2, 2)}${GitRevision.createRange(
args.resource.base,
args.resource.compare,
@ -124,7 +124,7 @@ export class OpenOnRemoteCommand extends Command {
title = `${
args.clipboard
? `Copy ${provider} Create Pull Request Url`
? `Copy ${provider} Create Pull Request URL`
: `Create Pull Request on ${provider}`
}${pad(GlyphChars.Dot, 2, 2)}${
args.resource.base?.branch
@ -133,12 +133,12 @@ export class OpenOnRemoteCommand extends Command {
}`;
placeHolder = `Choose which remote to ${
args.clipboard ? 'copy the create pull request url for' : 'create the pull request on'
args.clipboard ? 'copy the create pull request URL for' : 'create the pull request on'
}`;
break;
case RemoteResourceType.File:
title = `${args.clipboard ? `Copy ${provider} File Url` : `Open File on ${provider}`}${pad(
title = `${args.clipboard ? `Copy ${provider} File URL` : `Open File on ${provider}`}${pad(
GlyphChars.Dot,
2,
2,
@ -146,11 +146,11 @@ export class OpenOnRemoteCommand extends Command {
break;
case RemoteResourceType.Repo:
title = `${args.clipboard ? `Copy ${provider} Repository Url` : `Open Repository on ${provider}`}`;
title = `${args.clipboard ? `Copy ${provider} Repository URL` : `Open Repository on ${provider}`}`;
break;
case RemoteResourceType.Revision: {
title = `${args.clipboard ? `Copy ${provider} File Url` : `Open File on ${provider}`}${pad(
title = `${args.clipboard ? `Copy ${provider} File URL` : `Open File on ${provider}`}${pad(
GlyphChars.Dot,
2,
2,

+ 1
- 1
src/quickpicks/remoteProviderPicker.ts Visa fil

@ -104,7 +104,7 @@ export class CopyRemoteResourceCommandQuickPickItem extends CommandQuickPickItem
super(
`$(copy) Copy ${providers?.length ? providers[0].name : 'Remote'} ${getNameFromRemoteResource(
resource,
)} Url${providers?.length === 1 ? '' : GlyphChars.Ellipsis}`,
)} URL${providers?.length === 1 ? '' : GlyphChars.Ellipsis}`,
Commands.OpenOnRemote,
[commandArgs],
);

+ 2
- 2
src/statusbar/statusBarController.ts Visa fil

@ -226,11 +226,11 @@ export class StatusBarController implements Disposable {
let tooltip: string;
switch (cfg.command) {
case StatusBarCommand.CopyRemoteCommitUrl:
tooltip = 'Click to Copy Remote Commit Url';
tooltip = 'Click to Copy Remote Commit URL';
break;
case StatusBarCommand.CopyRemoteFileUrl:
this._statusBarBlame.command = Commands.CopyRemoteFileUrl;
tooltip = 'Click to Copy Remote File Revision Url';
tooltip = 'Click to Copy Remote File Revision URL';
break;
case StatusBarCommand.DiffWithPrevious:
this._statusBarBlame.command = Commands.DiffLineWithPrevious;

+ 4
- 4
src/webviews/apps/settings/partials/code-lens.html Visa fil

@ -97,13 +97,13 @@
opens the commit on the remote service (when available)
</option>
<option value="gitlens.copyRemoteCommitUrl">
copies the remote commit url to the clipboard (when available)
copies the remote commit URL to the clipboard (when available)
</option>
<option value="gitlens.openFileOnRemote">
opens the file revision on the remote service (when available)
</option>
<option value="gitlens.copyRemoteFileUrl">
copies the remote file revision url to the clipboard (when available)
copies the remote file revision URL to the clipboard (when available)
</option>
</select>
</div>
@ -181,10 +181,10 @@
opens the commit on the remote service (when available)
</option>
<option value="gitlens.copyRemoteCommitUrl">
copies the remote commit url to the clipboard (when available)
copies the remote commit URL to the clipboard (when available)
</option>
<option value="gitlens.copyRemoteFileUrl">
copies the remote file revision url to the clipboard (when available)
copies the remote file revision URL to the clipboard (when available)
</option>
<option value="gitlens.openFileOnRemote">
opens the file revision on the remote service (when available)

+ 3
- 3
src/webviews/apps/settings/partials/menus.html Visa fil

@ -128,7 +128,7 @@
data-setting-type="object"
disabled
/>
<label for="menus.editorTab.clipboard">Add <i>Copy Remote File Url</i> command</label>
<label for="menus.editorTab.clipboard">Add <i>Copy Remote File URL</i> command</label>
</div>
</div>
@ -308,7 +308,7 @@
data-setting-type="object"
disabled
/>
<label for="menus.explorer.clipboard">Add <i>Copy Remote File Url</i> command</label>
<label for="menus.explorer.clipboard">Add <i>Copy Remote File URL</i> command</label>
</div>
</div>
</div>
@ -633,7 +633,7 @@
data-setting-type="object"
disabled
/>
<label for="menus.scmItem.clipboard">Add <i>Copy Remote File Url</i> command</label>
<label for="menus.scmItem.clipboard">Add <i>Copy Remote File URL</i> command</label>
</div>
</div>
</div>

+ 2
- 2
src/webviews/apps/settings/partials/status-bar.html Visa fil

@ -118,13 +118,13 @@
opens the commit on the remote service (when available)
</option>
<option value="gitlens.copyRemoteCommitUrl">
copies the remote commit url to the clipboard (when available)
copies the remote commit URL to the clipboard (when available)
</option>
<option value="gitlens.openFileOnRemote">
opens the file revision on the remote service (when available)
</option>
<option value="gitlens.copyRemoteFileUrl">
copies the remote file revision url to the clipboard (when available)
copies the remote file revision URL to the clipboard (when available)
</option>
</select>
</div>

Laddar…
Avbryt
Spara