From d30b601d64b378146fa17357e4998d2e1b1c7a55 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Sun, 11 Feb 2024 21:22:39 +0100 Subject: [PATCH 01/12] Reword context menu options in IFS browser --- package.json | 84 ++++++++++++++++++++++++++-------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/package.json b/package.json index 740142dc0..197f093a8 100644 --- a/package.json +++ b/package.json @@ -1260,20 +1260,20 @@ { "command": "code-for-ibmi.refreshIFSBrowser", "enablement": "code-for-ibmi:connected", - "title": "Refresh IFS List", + "title": "Refresh", "category": "IBM i", "icon": "$(refresh)" }, { "command": "code-for-ibmi.refreshIFSBrowserItem", "enablement": "code-for-ibmi:connected", - "title": "Refresh IFS List item", + "title": "Refresh List item", "category": "IBM i" }, { "command": "code-for-ibmi.revealInIFSBrowser", "enablement": "code-for-ibmi:connected", - "title": "Reveal IFS Browser Item", + "title": "Reveal Browser Item", "category": "IBM i" }, { @@ -1286,7 +1286,7 @@ { "command": "code-for-ibmi.deleteIFS", "enablement": "code-for-ibmi:connected", - "title": "Delete Object", + "title": "Delete", "category": "IBM i" }, { @@ -1298,7 +1298,7 @@ { "command": "code-for-ibmi.moveIFS", "enablement": "code-for-ibmi:connected", - "title": "Rename or Move Object", + "title": "Rename/Move", "category": "IBM i", "icon": "$(files)" }, @@ -1312,21 +1312,21 @@ { "command": "code-for-ibmi.searchIFS", "enablement": "code-for-ibmi:connected", - "title": "Search Directory", + "title": "Search", "category": "IBM i", "icon": "$(search)" }, { "command": "code-for-ibmi.createDirectory", "enablement": "code-for-ibmi:connected", - "title": "Create Directory", + "title": "New Directory", "category": "IBM i", "icon": "$(new-folder)" }, { "command": "code-for-ibmi.createStreamfile", "enablement": "code-for-ibmi:connected", - "title": "Create Streamfile", + "title": "New File", "category": "IBM i", "icon": "$(new-file)" }, @@ -1360,49 +1360,49 @@ { "command": "code-for-ibmi.addIFSShortcut", "enablement": "code-for-ibmi:connected", - "title": "Add IFS Shortcut", + "title": "Add Shortcut", "category": "IBM i", "icon": "$(add)" }, { "command": "code-for-ibmi.removeIFSShortcut", "enablement": "code-for-ibmi:connected", - "title": "Remove IFS Shortcut", + "title": "Remove Shortcut", "category": "IBM i", "icon": "$(remove)" }, { "command": "code-for-ibmi.sortIFSShortcuts", "enablement": "code-for-ibmi:connected", - "title": "Sort IFS Shortcuts", + "title": "Sort Shortcuts", "category": "IBM i", "icon": "$(list-ordered)" }, { "command": "code-for-ibmi.moveIFSShortcutDown", "enablement": "code-for-ibmi:connected", - "title": "Move IFS Shortcut Down", + "title": "Move Shortcut Down", "category": "IBM i", "icon": "$(arrow-down)" }, { "command": "code-for-ibmi.moveIFSShortcutUp", "enablement": "code-for-ibmi:connected", - "title": "Move IFS Shortcut Up", + "title": "Move Shortcut Up", "category": "IBM i", "icon": "$(arrow-up)" }, { "command": "code-for-ibmi.moveIFSShortcutToTop", "enablement": "code-for-ibmi:connected", - "title": "Move IFS Shortcut to Top", + "title": "Move Shortcut to Top", "category": "IBM i", "icon": "$(arrow-up)" }, { "command": "code-for-ibmi.moveIFSShortcutToBottom", "enablement": "code-for-ibmi:connected", - "title": "Move IFS Shortcut to Bottom", + "title": "Move Shortcut to Bottom", "category": "IBM i", "icon": "$(arrow-up)" }, @@ -1585,7 +1585,7 @@ }, { "command": "code-for-ibmi.openTerminalHere", - "title": "Open terminal here", + "title": "Open Terminal Here", "category": "IBM i" }, { @@ -2393,36 +2393,36 @@ "when": "view == ifsBrowser && !listMultiSelection && viewItem == streamfile", "group": "1_workspace@1" }, + { + "command": "code-for-ibmi.createStreamfile", + "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^directory.*$/", + "group": "2_ifsStuff@1" + }, + { + "command": "code-for-ibmi.createDirectory", + "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^directory.*$/", + "group": "2_ifsStuff@2" + }, + { + "command": "code-for-ibmi.copyIFS", + "when": "view == ifsBrowser && !listMultiSelection && !(viewItem =~ /^.*_protected$/)", + "group": "2_ifsStuff@3" + }, + { + "command": "code-for-ibmi.moveIFS", + "when": "view == ifsBrowser && !listMultiSelection && !(viewItem =~ /^.*_protected$/)", + "group": "2_ifsStuff@4" + }, { "command": "code-for-ibmi.deleteIFS", "when": "view == ifsBrowser && !(viewItem =~ /^.*_protected$/)", - "group": "2_ifsStuff@4" - }, - { - "command": "code-for-ibmi.moveIFS", - "when": "view == ifsBrowser && !listMultiSelection && !(viewItem =~ /^.*_protected$/)", - "group": "2_ifsStuff@2" - }, - { - "command": "code-for-ibmi.copyIFS", - "when": "view == ifsBrowser && !listMultiSelection && !(viewItem =~ /^.*_protected$/)", - "group": "2_ifsStuff@2" - }, - { - "command": "code-for-ibmi.createDirectory", - "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^directory.*$/", - "group": "2_ifsStuff@2" + "group": "2_ifsStuff@5" }, { "submenu": "code-for-ibmi.sortIFSFiles", "when": "view == ifsBrowser && !listMultiSelection", "group": "5_ifsStuff@1" }, - { - "command": "code-for-ibmi.createStreamfile", - "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^directory.*$/", - "group": "2_ifsStuff@1" - }, { "command": "code-for-ibmi.searchIFS", "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^directory.*$/", @@ -2438,16 +2438,16 @@ "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^directory.*$/", "group": "3_ifsStuff@3" }, + { + "command": "code-for-ibmi.createStreamfile", + "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^shortcut.*$/", + "group": "2_ifsStuff@1" + }, { "command": "code-for-ibmi.createDirectory", "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^shortcut.*$/", "group": "2_ifsStuff@2" }, - { - "command": "code-for-ibmi.createStreamfile", - "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^shortcut.*$/", - "group": "2_ifsStuff@1" - }, { "command": "code-for-ibmi.searchIFS", "when": "view == ifsBrowser && !listMultiSelection && viewItem =~ /^shortcut.*$/", From 14f7e49850fa2a99238d6ba303719dce9cc7e1a6 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Sun, 11 Feb 2024 21:32:22 +0100 Subject: [PATCH 02/12] Reword Refresh menu item in object browser --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 197f093a8..81e915ef9 100644 --- a/package.json +++ b/package.json @@ -1479,7 +1479,7 @@ { "command": "code-for-ibmi.refreshObjectBrowser", "enablement": "code-for-ibmi:connected", - "title": "Refresh Object Browser", + "title": "Refresh", "category": "IBM i", "icon": "$(refresh)" }, From 56d4ac32afc4058eef458daa1fcd99f17eafa5e3 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 10:06:39 +0100 Subject: [PATCH 03/12] Reword context menu options in Object browser --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 81e915ef9..1e018c04b 100644 --- a/package.json +++ b/package.json @@ -1512,35 +1512,35 @@ { "command": "code-for-ibmi.changeObjectDesc", "enablement": "code-for-ibmi:connected", - "title": "Change Object Description", + "title": "Change Description", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.copyObject", "enablement": "code-for-ibmi:connected", - "title": "Copy Object", + "title": "Copy", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.deleteObject", "enablement": "code-for-ibmi:connected", - "title": "Delete Object", + "title": "Delete", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.renameObject", "enablement": "code-for-ibmi:connected", - "title": "Rename Object", + "title": "Rename", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.moveObject", "enablement": "code-for-ibmi:connected", - "title": "Move Object", + "title": "Move", "category": "IBM i", "icon": "$(symbol-file)" }, @@ -2521,17 +2521,17 @@ { "command": "code-for-ibmi.deleteObject", "when": "view == objectBrowser && viewItem =~ /^object/", - "group": "1_objActions@3" + "group": "1_objActions@5" }, { "command": "code-for-ibmi.renameObject", "when": "view == objectBrowser && viewItem =~ /^object/", - "group": "1_objActions@4" + "group": "1_objActions@3" }, { "command": "code-for-ibmi.moveObject", "when": "view == objectBrowser && viewItem =~ /^object(?!.lib)/", - "group": "1_objActions@5" + "group": "1_objActions@4" }, { "command": "code-for-ibmi.createSourceFile", From 41b03e74f62855cb31e4838d713cb5ca2e55c36a Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 10:22:31 +0100 Subject: [PATCH 04/12] Reword context menu options in Connection browser --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1e018c04b..d8d1c8d0a 100644 --- a/package.json +++ b/package.json @@ -999,13 +999,13 @@ }, { "command": "code-for-ibmi.refreshConnections", - "title": "Refresh Connections", + "title": "Refresh", "category": "IBM i", "icon": "$(refresh)" }, { "command": "code-for-ibmi.sortConnections", - "title": "Sort Connections", + "title": "Sort", "category": "IBM i", "icon": "$(list-ordered)" }, @@ -1021,18 +1021,18 @@ }, { "command": "code-for-ibmi.renameConnection", - "title": "Rename Connection", + "title": "Rename", "category": "IBM i" }, { "command": "code-for-ibmi.deleteConnection", - "title": "Delete Connection", + "title": "Delete", "category": "IBM i" }, { "command": "code-for-ibmi.disconnect", "enablement": "code-for-ibmi:connected", - "title": "Disconnect From Current Connection", + "title": "Disconnect", "category": "IBM i" }, { From 258db1a0de3721a60ead852c170add3b3882a109 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 10:34:24 +0100 Subject: [PATCH 05/12] Reword to "Refresh" and "Close" for all views --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d8d1c8d0a..2d5ce9202 100644 --- a/package.json +++ b/package.json @@ -1136,7 +1136,7 @@ { "command": "code-for-ibmi.refreshLibraryListView", "enablement": "code-for-ibmi:connected", - "title": "Refresh Library List View", + "title": "Refresh", "category": "IBM i", "icon": "$(refresh)" }, @@ -1199,7 +1199,7 @@ { "command": "code-for-ibmi.refreshMemberBrowser", "enablement": "code-for-ibmi:connected", - "title": "Refresh All Member Lists", + "title": "Refresh", "category": "IBM i", "icon": "$(refresh)" }, @@ -1267,7 +1267,7 @@ { "command": "code-for-ibmi.refreshIFSBrowserItem", "enablement": "code-for-ibmi:connected", - "title": "Refresh List item", + "title": "Refresh", "category": "IBM i" }, { @@ -1547,7 +1547,7 @@ { "command": "code-for-ibmi.closeSearchView", "enablement": "code-for-ibmi:connected", - "title": "Close Search View", + "title": "Close", "category": "IBM i", "icon": "$(close)" }, From bd51c584781378702a9b7541a41b0c5ccfef9a19 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 11:19:45 +0100 Subject: [PATCH 06/12] Reword member context menu options in Object browser --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2d5ce9202..c78367d79 100644 --- a/package.json +++ b/package.json @@ -1213,35 +1213,35 @@ { "command": "code-for-ibmi.createMember", "enablement": "code-for-ibmi:connected", - "title": "Create Member", + "title": "New Member", "category": "IBM i", "icon": "$(new-file)" }, { "command": "code-for-ibmi.copyMember", "enablement": "code-for-ibmi:connected", - "title": "Copy Member", + "title": "Copy", "category": "IBM i", "icon": "$(files)" }, { "command": "code-for-ibmi.deleteMember", "enablement": "code-for-ibmi:connected", - "title": "Delete Member", + "title": "Delete", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.updateMemberText", "enablement": "code-for-ibmi:connected", - "title": "Update Member Text", + "title": "Change Description", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.renameMember", "enablement": "code-for-ibmi:connected", - "title": "Rename Member", + "title": "Rename", "category": "IBM i", "icon": "$(files)" }, From 758c4ca10783db367da41c0cd1dddc7fd05010e5 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 11:22:57 +0100 Subject: [PATCH 07/12] Reword texts for Update Member Text like change object description --- src/locale/ids/da.ts | 2 +- src/locale/ids/en.ts | 4 ++-- src/locale/ids/fr.ts | 2 +- src/views/objectBrowser.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/locale/ids/da.ts b/src/locale/ids/da.ts index 228f2243e..e59944f16 100644 --- a/src/locale/ids/da.ts +++ b/src/locale/ids/da.ts @@ -151,7 +151,7 @@ export const da: Locale = { 'objectBrowser.deleteMember.warningMessage': `Er du sikker på at du vil slette member {0}?`, 'objectBrowser.deleteMember.infoMessage': `Slettede member {0}.`, 'objectBrowser.deleteMember.errorMessage': `Fejl ved sletning af member! {0}`, - 'objectBrowser.updateMemberText.prompt': `Opdater beskrivelse af member {0}`, + 'objectBrowser.updateMemberText.prompt': `Opdater beskrivelse af member {0}, *BLANK for ingen beskrivelse`, 'objectBrowser.updateMemberText.errorMessage': `Fejl ved ændring af member beskrivelse! {0}`, 'objectBrowser.renameMember.prompt': `Omdøb member {0}`, 'objectBrowser.renameMember.errorMessage': `Fejl ved omdøbning af member! {0}`, diff --git a/src/locale/ids/en.ts b/src/locale/ids/en.ts index 97c37eae9..72d970f5f 100644 --- a/src/locale/ids/en.ts +++ b/src/locale/ids/en.ts @@ -151,8 +151,8 @@ export const en: Locale = { 'objectBrowser.deleteMember.warningMessage': `Are you sure you want to delete {0}?`, 'objectBrowser.deleteMember.infoMessage': `Deleted {0}.`, 'objectBrowser.deleteMember.errorMessage': `Error deleting member! {0}`, - 'objectBrowser.updateMemberText.prompt': `Update {0} text`, - 'objectBrowser.updateMemberText.errorMessage': `Error changing member text! {0}`, + 'objectBrowser.updateMemberText.prompt': `Change member description for {0}, *BLANK for no description`, + 'objectBrowser.updateMemberText.errorMessage': `Error changing member description! {0}`, 'objectBrowser.renameMember.prompt': `Rename {0}`, 'objectBrowser.renameMember.errorMessage': `Error renaming member! {0}`, 'objectBrowser.renameMember.invalid.input': `New member name must be different from it's current name`, diff --git a/src/locale/ids/fr.ts b/src/locale/ids/fr.ts index 2b8215899..d20f1bb22 100644 --- a/src/locale/ids/fr.ts +++ b/src/locale/ids/fr.ts @@ -151,7 +151,7 @@ export const fr: Locale = { 'objectBrowser.deleteMember.warningMessage': `Êtes-vous sûr de vouloir supprimer {0}?`, 'objectBrowser.deleteMember.infoMessage': `Membre {0} supprimé.`, 'objectBrowser.deleteMember.errorMessage': `Erreur lors de la suppression du membre! {0}`, - 'objectBrowser.updateMemberText.prompt': `Mise à jour du texte de {0}`, + 'objectBrowser.updateMemberText.prompt': `Changer la description du membre {0}, *BLANK pour effacer la description`, 'objectBrowser.updateMemberText.errorMessage': `Erreur lors de la mise à jour du texte du membre! {0}`, 'objectBrowser.renameMember.prompt': `Renommer {0}`, 'objectBrowser.renameMember.errorMessage': `Erreur lors du renommage du membre! {0}`, diff --git a/src/views/objectBrowser.ts b/src/views/objectBrowser.ts index 522c1d8a9..dbfa1b68c 100644 --- a/src/views/objectBrowser.ts +++ b/src/views/objectBrowser.ts @@ -628,12 +628,12 @@ export function initializeObjectBrowser(context: vscode.ExtensionContext) { const connection = getConnection(); const changeResult = await connection.runCommand({ - command: `CHGPFM FILE(${library}/${file}) MBR(${name}) TEXT('${escapedText}')`, + command: `CHGPFM FILE(${library}/${file}) MBR(${name}) TEXT(${newText.toUpperCase() !== `*BLANK` ? `'${escapedText}'` : `*BLANK`})`, noLibList: true }); if (changeResult.code === 0) { - node.description = newText; + node.description = newText.toUpperCase() !== `*BLANK` ? newText : ``; objectBrowser.refresh(node); } else { vscode.window.showErrorMessage(t(`objectBrowser.updateMemberText.errorMessage`, changeResult.stderr)); From a4876003f1d5852799fb936f20edd29b2dd7efa0 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 13:41:47 +0100 Subject: [PATCH 08/12] Reword all "Create" menu options to "New" --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c78367d79..e7ba55648 100644 --- a/package.json +++ b/package.json @@ -1409,14 +1409,14 @@ { "command": "code-for-ibmi.createFilter", "enablement": "code-for-ibmi:connected", - "title": "Create Filter", + "title": "New Filter", "category": "IBM i", "icon": "$(filter)" }, { "command": "code-for-ibmi.createQuickFilter", "enablement": "code-for-ibmi:connected", - "title": "Create Quick Filter", + "title": "New Quick Filter", "category": "IBM i", "icon": "$(symbol-text)" }, @@ -1498,14 +1498,14 @@ { "command": "code-for-ibmi.createSourceFile", "enablement": "code-for-ibmi:connected", - "title": "Create Source File", + "title": "New Source File", "category": "IBM i", "icon": "$(new-file)" }, { "command": "code-for-ibmi.createLibrary", "enablement": "code-for-ibmi:connected", - "title": "Create Library", + "title": "New Library", "category": "IBM i", "icon": "$(file-directory-create)" }, From 5867f1460df28be836db59e09af590bab8f65102 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 13:53:54 +0100 Subject: [PATCH 09/12] Reword filter context menu options --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index e7ba55648..861e89395 100644 --- a/package.json +++ b/package.json @@ -1423,49 +1423,49 @@ { "command": "code-for-ibmi.copyFilter", "enablement": "code-for-ibmi:connected", - "title": "Copy Filter", + "title": "Copy", "category": "IBM i", "icon": "$(copy)" }, { "command": "code-for-ibmi.maintainFilter", "enablement": "code-for-ibmi:connected", - "title": "Maintain Filter", + "title": "Change", "category": "IBM i", "icon": "$(filter)" }, { "command": "code-for-ibmi.deleteFilter", "enablement": "code-for-ibmi:connected", - "title": "Delete Filter", + "title": "Delete", "category": "IBM i", "icon": "$(remove)" }, { "command": "code-for-ibmi.moveFilterUp", "enablement": "code-for-ibmi:connected", - "title": "Move Filter Up", + "title": "Move Up", "category": "IBM i", "icon": "$(arrow-up)" }, { "command": "code-for-ibmi.moveFilterDown", "enablement": "code-for-ibmi:connected", - "title": "Move Filter Down", + "title": "Move Down", "category": "IBM i", "icon": "$(arrow-down)" }, { "command": "code-for-ibmi.moveFilterToTop", "enablement": "code-for-ibmi:connected", - "title": "Move Filter to Top", + "title": "Move to Top", "category": "IBM i", "icon": "$(arrow-up)" }, { "command": "code-for-ibmi.moveFilterToBottom", "enablement": "code-for-ibmi:connected", - "title": "Move Filter to Bottom", + "title": "Move to Bottom", "category": "IBM i", "icon": "$(arrow-up)" }, From e77d5dd239a8a481537e17d191fd85acdf1624d4 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 14:00:32 +0100 Subject: [PATCH 10/12] Remove object from move command titles --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 861e89395..7041e54cf 100644 --- a/package.json +++ b/package.json @@ -1150,14 +1150,14 @@ { "command": "code-for-ibmi.moveLibraryUp", "enablement": "code-for-ibmi:connected", - "title": "Move Library Up", + "title": "Move Up", "category": "IBM i", "icon": "$(arrow-up)" }, { "command": "code-for-ibmi.moveLibraryDown", "enablement": "code-for-ibmi:connected", - "title": "Move Library Down", + "title": "Move Down", "category": "IBM i", "icon": "$(arrow-down)" }, @@ -1381,28 +1381,28 @@ { "command": "code-for-ibmi.moveIFSShortcutDown", "enablement": "code-for-ibmi:connected", - "title": "Move Shortcut Down", + "title": "Move Down", "category": "IBM i", "icon": "$(arrow-down)" }, { "command": "code-for-ibmi.moveIFSShortcutUp", "enablement": "code-for-ibmi:connected", - "title": "Move Shortcut Up", + "title": "Move Up", "category": "IBM i", "icon": "$(arrow-up)" }, { "command": "code-for-ibmi.moveIFSShortcutToTop", "enablement": "code-for-ibmi:connected", - "title": "Move Shortcut to Top", + "title": "Move to Top", "category": "IBM i", "icon": "$(arrow-up)" }, { "command": "code-for-ibmi.moveIFSShortcutToBottom", "enablement": "code-for-ibmi:connected", - "title": "Move Shortcut to Bottom", + "title": "Move to Bottom", "category": "IBM i", "icon": "$(arrow-up)" }, From df54dbe4fec2f9ef1e221fcd503b37f550c53fa8 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 14:04:51 +0100 Subject: [PATCH 11/12] Reword shortcut command titles --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7041e54cf..c0c80d066 100644 --- a/package.json +++ b/package.json @@ -1360,14 +1360,14 @@ { "command": "code-for-ibmi.addIFSShortcut", "enablement": "code-for-ibmi:connected", - "title": "Add Shortcut", + "title": "New Shortcut", "category": "IBM i", "icon": "$(add)" }, { "command": "code-for-ibmi.removeIFSShortcut", "enablement": "code-for-ibmi:connected", - "title": "Remove Shortcut", + "title": "Remove", "category": "IBM i", "icon": "$(remove)" }, From 07fabd84cf79c204db7b52eba61075d2d40d9fc4 Mon Sep 17 00:00:00 2001 From: Christian Jorgensen Date: Thu, 22 Feb 2024 14:21:19 +0100 Subject: [PATCH 12/12] Add ellipsis '...' to all commands with prompts --- package.json | 84 ++++++++++++++++++++++++++-------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/package.json b/package.json index c0c80d066..5e943c3f0 100644 --- a/package.json +++ b/package.json @@ -911,14 +911,14 @@ }, { "command": "code-for-ibmi.manageCommandProfile", - "title": "Create/edit command profile", + "title": "Create/edit command profile...", "category": "IBM i", "enablement": "code-for-ibmi:connected == true", "icon": "$(library)" }, { "command": "code-for-ibmi.deleteCommandProfile", - "title": "Delete command profile", + "title": "Delete command profile...", "category": "IBM i", "enablement": "code-for-ibmi:connected == true && code-for-ibmi:hasProfiles == true", "icon": "$(remove)" @@ -1021,12 +1021,12 @@ }, { "command": "code-for-ibmi.renameConnection", - "title": "Rename", + "title": "Rename...", "category": "IBM i" }, { "command": "code-for-ibmi.deleteConnection", - "title": "Delete", + "title": "Delete...", "category": "IBM i" }, { @@ -1064,7 +1064,7 @@ { "command": "code-for-ibmi.showVariableMaintenance", "enablement": "code-for-ibmi:connected", - "title": "Maintain Custom Variables", + "title": "Maintain Custom Variables...", "category": "IBM i", "icon": "$(variable)" }, @@ -1095,14 +1095,14 @@ { "command": "code-for-ibmi.changeCurrentLibrary", "enablement": "code-for-ibmi:connected", - "title": "Change Current Library", + "title": "Change Current Library...", "category": "IBM i", "icon": "$(root-folder)" }, { "command": "code-for-ibmi.changeUserLibraryList", "enablement": "code-for-ibmi:connected", - "title": "Change Library List", + "title": "Change Library List...", "category": "IBM i", "icon": "$(explorer-view-icon)" }, @@ -1116,7 +1116,7 @@ { "command": "code-for-ibmi.runAction", "enablement": "code-for-ibmi:connected", - "title": "Run Action", + "title": "Run Action...", "category": "IBM i", "icon": "$(file-binary)" }, @@ -1129,7 +1129,7 @@ { "command": "code-for-ibmi.addToLibraryList", "enablement": "code-for-ibmi:connected", - "title": "Add to Library List", + "title": "Add to Library List...", "category": "IBM i", "icon": "$(add)" }, @@ -1171,7 +1171,7 @@ { "command": "code-for-ibmi.newConnectionProfile", "enablement": "code-for-ibmi:connected", - "title": "Save Current Settings to New Profile", + "title": "Save Current Settings to New Profile...", "category": "IBM i", "icon": "$(save-as)" }, @@ -1185,7 +1185,7 @@ { "command": "code-for-ibmi.deleteConnectionProfile", "enablement": "code-for-ibmi:connected && code-for-ibmi:hasProfiles == true", - "title": "Delete Profile", + "title": "Delete Profile...", "category": "IBM i", "icon": "$(remove)" }, @@ -1206,55 +1206,55 @@ { "command": "code-for-ibmi.searchSourceFile", "enablement": "code-for-ibmi:connected", - "title": "Search Source File", + "title": "Search Source File...", "category": "IBM i", "icon": "$(search)" }, { "command": "code-for-ibmi.createMember", "enablement": "code-for-ibmi:connected", - "title": "New Member", + "title": "New Member...", "category": "IBM i", "icon": "$(new-file)" }, { "command": "code-for-ibmi.copyMember", "enablement": "code-for-ibmi:connected", - "title": "Copy", + "title": "Copy...", "category": "IBM i", "icon": "$(files)" }, { "command": "code-for-ibmi.deleteMember", "enablement": "code-for-ibmi:connected", - "title": "Delete", + "title": "Delete...", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.updateMemberText", "enablement": "code-for-ibmi:connected", - "title": "Change Description", + "title": "Change Description...", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.renameMember", "enablement": "code-for-ibmi:connected", - "title": "Rename", + "title": "Rename...", "category": "IBM i", "icon": "$(files)" }, { "command": "code-for-ibmi.downloadMemberAsFile", "enablement": "code-for-ibmi:connected", - "title": "Download", + "title": "Download...", "category": "IBM i" }, { "command": "code-for-ibmi.uploadAndReplaceMemberAsFile", "enablement": "code-for-ibmi:connected", - "title": "Upload and Replace", + "title": "Upload and Replace...", "category": "IBM i" }, { @@ -1286,54 +1286,54 @@ { "command": "code-for-ibmi.deleteIFS", "enablement": "code-for-ibmi:connected", - "title": "Delete", + "title": "Delete...", "category": "IBM i" }, { "command": "code-for-ibmi.downloadStreamfile", "enablement": "code-for-ibmi:connected", - "title": "Download", + "title": "Download...", "category": "IBM i" }, { "command": "code-for-ibmi.moveIFS", "enablement": "code-for-ibmi:connected", - "title": "Rename/Move", + "title": "Rename/Move...", "category": "IBM i", "icon": "$(files)" }, { "command": "code-for-ibmi.copyIFS", "enablement": "code-for-ibmi:connected", - "title": "Copy", + "title": "Copy...", "category": "IBM i", "icon": "$(files)" }, { "command": "code-for-ibmi.searchIFS", "enablement": "code-for-ibmi:connected", - "title": "Search", + "title": "Search...", "category": "IBM i", "icon": "$(search)" }, { "command": "code-for-ibmi.createDirectory", "enablement": "code-for-ibmi:connected", - "title": "New Directory", + "title": "New Directory...", "category": "IBM i", "icon": "$(new-folder)" }, { "command": "code-for-ibmi.createStreamfile", "enablement": "code-for-ibmi:connected", - "title": "New File", + "title": "New File...", "category": "IBM i", "icon": "$(new-file)" }, { "command": "code-for-ibmi.uploadStreamfile", "enablement": "code-for-ibmi:connected", - "title": "Upload", + "title": "Upload...", "category": "IBM i", "icon": "$(cloud-upload)" }, @@ -1354,13 +1354,13 @@ { "command": "code-for-ibmi.launchActionsSetup", "enablement": "code-for-ibmi:connected", - "title": "Launch Actions Setup", + "title": "Launch Actions Setup...", "category": "IBM i" }, { "command": "code-for-ibmi.addIFSShortcut", "enablement": "code-for-ibmi:connected", - "title": "New Shortcut", + "title": "New Shortcut...", "category": "IBM i", "icon": "$(add)" }, @@ -1409,35 +1409,35 @@ { "command": "code-for-ibmi.createFilter", "enablement": "code-for-ibmi:connected", - "title": "New Filter", + "title": "New Filter...", "category": "IBM i", "icon": "$(filter)" }, { "command": "code-for-ibmi.createQuickFilter", "enablement": "code-for-ibmi:connected", - "title": "New Quick Filter", + "title": "New Quick Filter...", "category": "IBM i", "icon": "$(symbol-text)" }, { "command": "code-for-ibmi.copyFilter", "enablement": "code-for-ibmi:connected", - "title": "Copy", + "title": "Copy...", "category": "IBM i", "icon": "$(copy)" }, { "command": "code-for-ibmi.maintainFilter", "enablement": "code-for-ibmi:connected", - "title": "Change", + "title": "Change...", "category": "IBM i", "icon": "$(filter)" }, { "command": "code-for-ibmi.deleteFilter", "enablement": "code-for-ibmi:connected", - "title": "Delete", + "title": "Delete...", "category": "IBM i", "icon": "$(remove)" }, @@ -1498,49 +1498,49 @@ { "command": "code-for-ibmi.createSourceFile", "enablement": "code-for-ibmi:connected", - "title": "New Source File", + "title": "New Source File...", "category": "IBM i", "icon": "$(new-file)" }, { "command": "code-for-ibmi.createLibrary", "enablement": "code-for-ibmi:connected", - "title": "New Library", + "title": "New Library...", "category": "IBM i", "icon": "$(file-directory-create)" }, { "command": "code-for-ibmi.changeObjectDesc", "enablement": "code-for-ibmi:connected", - "title": "Change Description", + "title": "Change Description...", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.copyObject", "enablement": "code-for-ibmi:connected", - "title": "Copy", + "title": "Copy...", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.deleteObject", "enablement": "code-for-ibmi:connected", - "title": "Delete", + "title": "Delete...", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.renameObject", "enablement": "code-for-ibmi:connected", - "title": "Rename", + "title": "Rename...", "category": "IBM i", "icon": "$(symbol-file)" }, { "command": "code-for-ibmi.moveObject", "enablement": "code-for-ibmi:connected", - "title": "Move", + "title": "Move...", "category": "IBM i", "icon": "$(symbol-file)" }, @@ -1554,7 +1554,7 @@ { "command": "code-for-ibmi.collapseSearchView", "enablement": "code-for-ibmi:connected", - "title": "Collapse all", + "title": "Collapse All", "category": "IBM i", "icon": "$(collapse-all)" },