From 40a53cda992686986124c5d6871da3ff58f8fe89 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 12 Nov 2022 02:01:07 -0500 Subject: [PATCH] Changes more URL cases Refs #1606 --- CHANGELOG.md | 30 +++++++++++++++--------------- src/quickpicks/remoteProviderPicker.ts | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aff24c3..a23fc34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -525,11 +525,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Added -- Adds an alternate _Copy Remote File Url_ command (`gitlens.copyRemoteFileUrlWithoutRange`) to copy the remote url of the file without including any line range +- Adds an alternate _Copy Remote File URL_ command (`gitlens.copyRemoteFileUrlWithoutRange`) to copy the remote url of the file without including any line range ### Fixed -- Fixes [#1458](https://github.com/gitkraken/vscode-gitlens/issues/1458) - "Copy Remote File Url" not showing line ranges +- Fixes [#1458](https://github.com/gitkraken/vscode-gitlens/issues/1458) - "Copy Remote File URL" not showing line ranges ## [11.4.0] - 2021-04-08 @@ -749,7 +749,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Adds a _Push to Commit..._ command to unpublished commits in the _Commits_, _Branches_, and _Repositories_ views, and to unpublished files in the _File History_ and _Line History_ views - Adds a _Commit_ submenu to files in the _File History_ and _Line History_ views — closes [#1044](https://github.com/gitkraken/vscode-gitlens/issues/1044) - Adds an _Open File on Remote From..._ command (`gitlens.openFileOnRemoteFrom`) to open a file or revision on a specific branch or tag on the remote provider — closes [#1071](https://github.com/gitkraken/vscode-gitlens/issues/1071) -- Adds a _Copy Remote File Url From..._ command (`gitlens.copyRemoteFileUrlFrom`) to copy the url of a file or revision on a specific branch or tag the remote provider — closes [#1071](https://github.com/gitkraken/vscode-gitlens/issues/1071) +- Adds a _Copy Remote File URL From..._ command (`gitlens.copyRemoteFileUrlFrom`) to copy the url of a file or revision on a specific branch or tag the remote provider — closes [#1071](https://github.com/gitkraken/vscode-gitlens/issues/1071) - Adds a welcome, i.e. richer empty state, to the _Search & Compare_ view - Adds dynamic updating of the last fetched date/time in the _Commits_ and _Repositories_ views - Adds a _Connect to Remote_ command (`gitlens.connectRemoteProvider`) to connect to a supported remote service to enable a rich integration @@ -785,7 +785,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Fixes [#1176](https://github.com/gitkraken/vscode-gitlens/issues/1176) - Can't selectively apply stash - Fixes [#1212](https://github.com/gitkraken/vscode-gitlens/issues/1212) - Stashes list doesn't refresh on deletion - Fixes [#1191](https://github.com/gitkraken/vscode-gitlens/issues/1191) - "Gitlens › Views › Repositories: Auto Refresh" not working -- Fixes [#1202](https://github.com/gitkraken/vscode-gitlens/issues/1202) - "Copy Remote File Url" url-encodes the URL +- Fixes [#1202](https://github.com/gitkraken/vscode-gitlens/issues/1202) - "Copy Remote File URL" url-encodes the URL - Fixes an issue where _Gutter \*_ file annotations wouldn't dynamically update when changing certain default configuration settings - Fixes an issue where `git shortlog` could hang (when there is no HEAD) - Fixes an issue where _GitLens: Show Repositories View_ command wouldn't work unless the view was enabled first @@ -994,16 +994,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - _Open File from Remote_ (`gitlens.openFileFromRemote`) command — opens the local file from a remote file url - _Set Views Layout_ (`gitlens.setViewsLayout`) command — quickly switch between showing GitLens views in _GitLens_ sidebar (default) and the _Source Control_ sidebar - Adds a _Switch to Another Branch_ (`gitlens.views.switchToAnotherBranch`) command — to quickly switch the current branch - - _Copy Remote Commit Url_ command (`gitlens.copyRemoteCommitUrl`) — copies the url of the current line commit on the remote provider - - _Copy Remote Branch Url_ command (`gitlens.copyRemoteBranchUrl`) — copies the url of a branch on the remote provider - - _Copy Remote Branches Url_ command (`gitlens.copyRemoteBranchesUrl`) — copies the url of the branches on the remote provider + - _Copy Remote Commit URL_ command (`gitlens.copyRemoteCommitUrl`) — copies the url of the current line commit on the remote provider + - _Copy Remote Branch URL_ command (`gitlens.copyRemoteBranchUrl`) — copies the url of a branch 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 Remote Repository Url_ command (`gitlens.copyRemoteRepositoryUrl`) — copies the url of the repository on the remote provider + - _Copy Pull Request URL_ command (`gitlens.copyRemotePullRequestUrl`) — copies the url of the pull request on the remote provider + - _Copy Remote Repository URL_ command (`gitlens.copyRemoteRepositoryUrl`) — copies the url of the repository on the remote provider - Adds alternative `alt+click` commands for many of the _Open \* on Remote_ commands to alternatively copy the url to the clipboard -- Adds an _Open Commit on Remote_ command (with an _Copy Remote Commit Url_ `alt+click` command) to commits in the VS Code Timeline view +- Adds an _Open Commit on Remote_ command (with an _Copy Remote Commit URL_ `alt+click` command) to commits in the VS Code Timeline view - Adds ability to set the default remote from any of the _Open \* on Remote_ command quick pick menus - Adds _Git CodeLens_ to markdown headers - Adds new _Git CodeLens_ options to disable the click actions on both the recent change and authors CodeLens — closes [#989](https://github.com/gitkraken/vscode-gitlens/issues/989) thanks to [PR #1009](https://github.com/gitkraken/vscode-gitlens/pull/1009) by Abdulrahman (Abdu) Assabri ([@abdusabri](https://github.com/abdusabri)) @@ -1513,7 +1513,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Fixed -- Fixes a regression where the _Copy Remote Url to Clipboard_ command fails to include the selected line range +- Fixes a regression where the _Copy Remote URL to Clipboard_ command fails to include the selected line range ## [9.8.0] - 2019-05-22 @@ -1529,7 +1529,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - **\* Files Changed** — lists all of the files changed between the compared revisions - Adds a _Show a comparison of the current branch to a user-selected reference_ (`gitlens.views.repositories.showBranchComparison`) setting to specify whether to show a comparison of the current branch to a user-selected reference in the _Repositories_ view - Adds a `gitlens.advanced.useSymmetricDifferenceNotation` setting to specify whether to use the symmetric difference (three-dot) notation or the range (two-dot) notation for comparisons — closes [#330](https://github.com/gitkraken/vscode-gitlens/issues/330) -- Adds a _Copy Remote Url to Clipboard_ command to commit quick pick menus +- Adds a _Copy Remote URL to Clipboard_ command to commit quick pick menus ### Changed @@ -1767,7 +1767,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Fixes [#631](https://github.com/gitkraken/vscode-gitlens/issues/631) - Remotes fail to show in gui - Fixes [#633](https://github.com/gitkraken/vscode-gitlens/issues/633) - Compare File with Previous Revision doesn't work if path contains '#' - Fixes [#635](https://github.com/gitkraken/vscode-gitlens/issues/635) - Show more commit not working properly -- Fixes an issue where the _Open File_, _Open File on Remote_, and _Copy Remote Url to Clipboard_ commands didn't always work on changed files in the _Repositories_ view +- Fixes an issue where the _Open File_, _Open File on Remote_, and _Copy Remote URL to Clipboard_ commands didn't always work on changed files in the _Repositories_ view - Fixes an issue where the default remote wasn't used first to provide automatic issue linking ## [9.4.1] - 2019-01-08 @@ -2043,7 +2043,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Added -- Adds _Copy Remote File Url to Clipboard_ (`gitlens.copyRemoteFileUrlToClipboard`) command — copies the remote url of the current file and line to the clipboard — closes [#467](https://github.com/gitkraken/vscode-gitlens/issues/467) +- Adds _Copy Remote File URL to Clipboard_ (`gitlens.copyRemoteFileUrlToClipboard`) command — copies the remote url of the current file and line to the clipboard — closes [#467](https://github.com/gitkraken/vscode-gitlens/issues/467) ### Fixed diff --git a/src/quickpicks/remoteProviderPicker.ts b/src/quickpicks/remoteProviderPicker.ts index 6406ab5..274dec7 100644 --- a/src/quickpicks/remoteProviderPicker.ts +++ b/src/quickpicks/remoteProviderPicker.ts @@ -112,7 +112,7 @@ export class CopyRemoteResourceCommandQuickPickItem extends CommandQuickPickItem override async onDidPressKey(key: Keys): Promise { await super.onDidPressKey(key); - void window.showInformationMessage('Url copied to the clipboard'); + void window.showInformationMessage('URL copied to the clipboard'); } }