Adding `Copy Unique Name` command to the Solution context menu (#151)
* Adding `Copy Unique Name` to solution context menu
This commit is contained in:
Родитель
861d84041d
Коммит
54cda378ab
|
@ -91,6 +91,9 @@ The second line should be '[TRANSLATION HERE](command:pacCLI.pacAuthHelp)', keep
|
|||
<trans-unit id="pacCLI.envAndSolutionsPanel.copyFriendlyName.title">
|
||||
<source xml:lang="en">Copy Friendly Name</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="pacCLI.envAndSolutionsPanel.copyUniqueName.title">
|
||||
<source xml:lang="en">Copy Unique Name</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="pacCLI.envAndSolutionsPanel.copyVersionNumber.title">
|
||||
<source xml:lang="en">Copy Version Number</source>
|
||||
</trans-unit>
|
||||
|
|
12
package.json
12
package.json
|
@ -165,6 +165,10 @@
|
|||
"command": "pacCLI.envAndSolutionsPanel.copyFriendlyName",
|
||||
"title": "%pacCLI.envAndSolutionsPanel.copyFriendlyName.title%"
|
||||
},
|
||||
{
|
||||
"command": "pacCLI.envAndSolutionsPanel.copyUniqueName",
|
||||
"title": "%pacCLI.envAndSolutionsPanel.copyUniqueName.title%"
|
||||
},
|
||||
{
|
||||
"command": "pacCLI.envAndSolutionsPanel.copyVersionNumber",
|
||||
"title": "%pacCLI.envAndSolutionsPanel.copyVersionNumber.title%"
|
||||
|
@ -257,6 +261,10 @@
|
|||
"command": "pacCLI.envAndSolutionsPanel.copyFriendlyName",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "pacCLI.envAndSolutionsPanel.copyUniqueName",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "pacCLI.envAndSolutionsPanel.copyVersionNumber",
|
||||
"when": "never"
|
||||
|
@ -351,6 +359,10 @@
|
|||
"command": "pacCLI.envAndSolutionsPanel.copyFriendlyName",
|
||||
"when": "view == pacCLI.envAndSolutionsPanel && viewItem == SOLUTION"
|
||||
},
|
||||
{
|
||||
"command": "pacCLI.envAndSolutionsPanel.copyUniqueName",
|
||||
"when": "view == pacCLI.envAndSolutionsPanel && viewItem == SOLUTION"
|
||||
},
|
||||
{
|
||||
"command": "pacCLI.envAndSolutionsPanel.copyVersionNumber",
|
||||
"when": "view == pacCLI.envAndSolutionsPanel && viewItem == SOLUTION"
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "Portál PowerApps -> Zobrazit náhled"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "PowerApps-Portal -> Vorschauversion anzeigen"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "Portal de PowerApps -> Mostrar vista previa"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "Portail PowerApps -> Afficher la version préliminaire"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "Portale PowerApps -> Mostra anteprima"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "PowerApps ポータル -> プレビューの表示"
|
||||
}
|
|
@ -43,6 +43,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
|
||||
"microsoft-powerapps-portals.preview-show.title": "PowerApps Portal -> Show preview"
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "PowerApps 포털 -> 프리뷰 보기"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "Portal do PowerApps -> Mostrar versão preliminar"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "Портал PowerApps -> Показать предварительную версию"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "PowerApps Portal -> Önizlemeyi göster"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "PowerApps 门户 -> 显示预览版"
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
"pacCLI.envAndSolutionsPanel.copyEnvironmentUrl.title": "Copy Environment Url",
|
||||
"pacCLI.envAndSolutionsPanel.copyOrganizationId.title": "Copy Organization Id",
|
||||
"pacCLI.envAndSolutionsPanel.copyFriendlyName.title": "Copy Friendly Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyUniqueName.title": "Copy Unique Name",
|
||||
"pacCLI.envAndSolutionsPanel.copyVersionNumber.title": "Copy Version Number",
|
||||
"microsoft-powerapps-portals.preview-show.title": "PowerApps 入口網站 -> 顯示預覽"
|
||||
}
|
|
@ -104,6 +104,9 @@ export function RegisterPanels(pacWrapper: PacWrapper): vscode.Disposable[] {
|
|||
vscode.commands.registerCommand("pacCLI.envAndSolutionsPanel.copyFriendlyName", (item: EnvOrSolutionTreeItem) => {
|
||||
vscode.env.clipboard.writeText((item.model as SolutionListing).FriendlyName);
|
||||
}),
|
||||
vscode.commands.registerCommand("pacCLI.envAndSolutionsPanel.copyUniqueName", (item: EnvOrSolutionTreeItem) => {
|
||||
vscode.env.clipboard.writeText((item.model as SolutionListing).SolutionUniqueName);
|
||||
}),
|
||||
vscode.commands.registerCommand("pacCLI.envAndSolutionsPanel.copyVersionNumber", (item: EnvOrSolutionTreeItem) => {
|
||||
vscode.env.clipboard.writeText((item.model as SolutionListing).VersionNumber);
|
||||
}));
|
||||
|
|
Загрузка…
Ссылка в новой задаче