diff --git a/CHANGELOG.md b/CHANGELOG.md index fbe67ef..aff24c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 6326d06..8338706 100644 --- a/README.md +++ b/README.md @@ -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.

`gitlens.toggleFileBlame` - toggles file blame annotations
`gitlens.toggleFileHeatmap` - toggles file heatmap
`gitlens.toggleFileChanges` - toggles file changes since before the commit
`gitlens.toggleFileChangesOnly` - toggles file changes from the commit
`gitlens.diffWithPrevious` - opens changes with the previous revision
`gitlens.revealCommitInView` - reveals the commit in the Side Bar
`gitlens.showCommitsInView` - searches for commits within the range
`gitlens.showQuickCommitDetails` - shows details of the commit
`gitlens.showQuickCommitFileDetails` - show file details of the commit
`gitlens.showQuickFileHistory` - shows the current file history
`gitlens.showQuickRepoHistory` - shows the current branch history
`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)
`gitlens.copyRemoteCommitUrl` - copies the remote commit url to the clipboard (when available)
`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)
`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.

`gitlens.toggleFileBlame` - toggles file blame annotations
`gitlens.toggleFileHeatmap` - toggles file heatmap
`gitlens.toggleFileChanges` - toggles file changes since before the commit
`gitlens.toggleFileChangesOnly` - toggles file changes from the commit
`gitlens.diffWithPrevious` - opens changes with the previous revision
`gitlens.revealCommitInView` - reveals the commit in the Side Bar
`gitlens.showCommitsInView` - searches for commits within the range
`gitlens.showQuickCommitDetails` - shows details of the commit
`gitlens.showQuickCommitFileDetails` - show file details of the commit
`gitlens.showQuickFileHistory` - shows the current file history
`gitlens.showQuickRepoHistory` - shows the current branch history
`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)
`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)
`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)
`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.

`gitlens.toggleFileBlame` - toggles file blame annotations
`gitlens.toggleFileHeatmap` - toggles file heatmap
`gitlens.toggleFileChanges` - toggles file changes since before the commit
`gitlens.toggleFileChangesOnly` - toggles file changes from the commit
`gitlens.diffWithPrevious` - opens changes with the previous revision
`gitlens.revealCommitInView` - reveals the commit in the Side Bar
`gitlens.showCommitsInView` - searches for commits within the range
`gitlens.showQuickCommitDetails` - shows details of the commit
`gitlens.showQuickCommitFileDetails` - show file details of the commit
`gitlens.showQuickFileHistory` - shows the current file history
`gitlens.showQuickRepoHistory` - shows the current branch history
`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)
`gitlens.copyRemoteCommitUrl` - copies the remote commit url to the clipboard (when available)
`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)
`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.

`gitlens.toggleFileBlame` - toggles file blame annotations
`gitlens.toggleFileHeatmap` - toggles file heatmap
`gitlens.toggleFileChanges` - toggles file changes since before the commit
`gitlens.toggleFileChangesOnly` - toggles file changes from the commit
`gitlens.diffWithPrevious` - opens changes with the previous revision
`gitlens.revealCommitInView` - reveals the commit in the Side Bar
`gitlens.showCommitsInView` - searches for commits within the range
`gitlens.showQuickCommitDetails` - shows details of the commit
`gitlens.showQuickCommitFileDetails` - show file details of the commit
`gitlens.showQuickFileHistory` - shows the current file history
`gitlens.showQuickRepoHistory` - shows the current branch history
`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)
`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)
`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)
`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

`document` - adds CodeLens at the top of the document
`containers` - adds CodeLens at the start of container-like symbols (modules, classes, interfaces, etc)
`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

`left` - aligns to the left
`right` - aligns to the right | -| `gitlens.statusBar.command` | Specifies the command to be executed when the blame status bar item is clicked

`gitlens.toggleFileBlame` - toggles file blame annotations
`gitlens.toggleFileHeatmap` - toggles file heatmap
`gitlens.toggleFileChanges` - toggles file changes since before the commit
`gitlens.toggleFileChangesOnly` - toggles file changes from the commit
`gitlens.diffWithPrevious` - opens changes with the previous revision
`gitlens.revealCommitInView` - reveals the commit in the Side Bar
`gitlens.showCommitsInView` - searches for commits within the range
`gitlens.showQuickCommitDetails` - shows details of the commit
`gitlens.showQuickCommitFileDetails` - show file details of the commit
`gitlens.showQuickFileHistory` - shows the current file history
`gitlens.showQuickRepoHistory` - shows the current branch history
`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)
`gitlens.copyRemoteCommitUrl` - copies the remote commit url to the clipboard (when available)
`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)
`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

`gitlens.toggleFileBlame` - toggles file blame annotations
`gitlens.toggleFileHeatmap` - toggles file heatmap
`gitlens.toggleFileChanges` - toggles file changes since before the commit
`gitlens.toggleFileChangesOnly` - toggles file changes from the commit
`gitlens.diffWithPrevious` - opens changes with the previous revision
`gitlens.revealCommitInView` - reveals the commit in the Side Bar
`gitlens.showCommitsInView` - searches for commits within the range
`gitlens.showQuickCommitDetails` - shows details of the commit
`gitlens.showQuickCommitFileDetails` - show file details of the commit
`gitlens.showQuickFileHistory` - shows the current file history
`gitlens.showQuickRepoHistory` - shows the current branch history
`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)
`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)
`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)
`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)) — [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=adaex) - Yan Zhang ([@Eskibear](https://github.com/Eskibear)) — [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Eskibear) - Zyck ([@qzyse2017](https://github.com/qzyse2017)) — [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=qzyse2017) +- Dave Nicolson ([@dnicolson](https://github.com/dnicolson)) — [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=dnicolson) Also special thanks to the people that have provided support, testing, brainstorming, etc: diff --git a/package.json b/package.json index d9f03de..de51d8e 100644 --- a/package.json +++ b/package.json @@ -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 `` as the variable for the reference number" + "description": "Specifies the URL of the external resource you want to link to. Use `` 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}` — repository path" + "markdownDescription": "Specifies the format of a repository URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path" }, "branches": { "type": "string", - "markdownDescription": "Specifies the format of a branches url for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${branch}` — branch" + "markdownDescription": "Specifies the format of a branches URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${branch}` — branch" }, "branch": { "type": "string", - "markdownDescription": "Specifies the format of a branch url for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${branch}` — branch" + "markdownDescription": "Specifies the format of a branch URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${branch}` — branch" }, "commit": { "type": "string", - "markdownDescription": "Specifies the format of a commit url for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${id}` — commit SHA" + "markdownDescription": "Specifies the format of a commit URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${id}` — commit SHA" }, "file": { "type": "string", - "markdownDescription": "Specifies the format of a file url for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${file}` — file name\\\n`${line}` — formatted line information" + "markdownDescription": "Specifies the format of a file URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${file}` — file name\\\n`${line}` — 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}` — repository path\\\n`${file}` — file name\\\n`${branch}` — branch\\\n`${line}` — formatted line information" + "markdownDescription": "Specifies the format of a branch file URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${file}` — file name\\\n`${branch}` — branch\\\n`${line}` — 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}` — repository path\\\n`${file}` — file name\\\n`${id}` — commit SHA\\\n`${line}` — formatted line information" + "markdownDescription": "Specifies the format of a commit file URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${file}` — file name\\\n`${id}` — commit SHA\\\n`${line}` — 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}` — line" + "markdownDescription": "Specifies the format of a line in a file URL for the custom remote service\n\nAvailable tokens\\\n`${line}` — 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}` — starting line\\\n`${end}` — ending line" + "markdownDescription": "Specifies the format of a range in a file URL for the custom remote service\n\nAvailable tokens\\\n`${start}` — starting line\\\n`${end}` — 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)" }, diff --git a/src/commands/openBranchOnRemote.ts b/src/commands/openBranchOnRemote.ts index cc1c1a2..cd41aae 100644 --- a/src/commands/openBranchOnRemote.ts +++ b/src/commands/openBranchOnRemote.ts @@ -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, diff --git a/src/commands/openBranchesOnRemote.ts b/src/commands/openBranchesOnRemote.ts index 8fe4513..80341c9 100644 --- a/src/commands/openBranchesOnRemote.ts +++ b/src/commands/openBranchesOnRemote.ts @@ -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; diff --git a/src/commands/openCommitOnRemote.ts b/src/commands/openCommitOnRemote.ts index 2db66f3..9aa835d 100644 --- a/src/commands/openCommitOnRemote.ts +++ b/src/commands/openCommitOnRemote.ts @@ -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; diff --git a/src/commands/openFileOnRemote.ts b/src/commands/openFileOnRemote.ts index 8029c46..28eace5 100644 --- a/src/commands/openFileOnRemote.ts +++ b/src/commands/openFileOnRemote.ts @@ -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`, { diff --git a/src/commands/openOnRemote.ts b/src/commands/openOnRemote.ts index 7cf0a02..6a2953c 100644 --- a/src/commands/openOnRemote.ts +++ b/src/commands/openOnRemote.ts @@ -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, diff --git a/src/quickpicks/remoteProviderPicker.ts b/src/quickpicks/remoteProviderPicker.ts index 5c2830b..6406ab5 100644 --- a/src/quickpicks/remoteProviderPicker.ts +++ b/src/quickpicks/remoteProviderPicker.ts @@ -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], ); diff --git a/src/statusbar/statusBarController.ts b/src/statusbar/statusBarController.ts index f794a07..7a85e09 100644 --- a/src/statusbar/statusBarController.ts +++ b/src/statusbar/statusBarController.ts @@ -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; diff --git a/src/webviews/apps/settings/partials/code-lens.html b/src/webviews/apps/settings/partials/code-lens.html index a5ce2bb..3e2b944 100644 --- a/src/webviews/apps/settings/partials/code-lens.html +++ b/src/webviews/apps/settings/partials/code-lens.html @@ -97,13 +97,13 @@ opens the commit on the remote service (when available) @@ -181,10 +181,10 @@ opens the commit on the remote service (when available)