diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d26cfe3..22e20a42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,58 +4,46 @@ All notable changes to the "Znuny (DK4Znuny-VisualStudioCode)" extension will be ## [1.0.5] -### QuoteWithMarker - -This function quotes the selected area and adds a custom marker to it. - -Default keyboard shortcut: ```strg+alt+z, q``` - -### ObjectDependencies - -This function inserts the `@ObjectDependencies` array by parsing the file content. Only regular used OM (ObjectManager) calls are supported. - -Default keyboard shortcut: ```strg+alt+z, d``` - ### Snippets #### Added Snippets - - `znuny.ActivityObject.Add.code-snippets` - - `znuny.ActivityObject.DataAdd.code-snippets` - - `znuny.ActivityObject.DataDelete.code-snippets` - - `znuny.ActivityObject.DataGet.code-snippets` - - `znuny.ActivityObject.DataListGet.code-snippets` - - `znuny.ActivityObject.DataSearch.code-snippets` - - `znuny.ActivityObject.DataUpdate.code-snippets` - - `znuny.ActivityObject.Get.code-snippets` - - `znuny.ActivityObject.GetLink.code-snippets` - - `znuny.ActivityObject.InitConfig.code-snippets` - - `znuny.ActivityObject.ListGet.code-snippets` - - `znuny.LayoutObject.CleanUpCSSSelector.code-snippets` - - `znuny.LayoutObject.ColorPicker.code-snippets` - - `znuny.LayoutObject.ConvertToCSS.code-snippets` - - `znuny.LayoutObject.CreateDynamicCSS.code-snippets` - - `znuny.LayoutObject.LoaderCreateDynamicCSS.code-snippets` +- `znuny.ActivityObject.Add.code-snippets` +- `znuny.ActivityObject.DataAdd.code-snippets` +- `znuny.ActivityObject.DataDelete.code-snippets` +- `znuny.ActivityObject.DataGet.code-snippets` +- `znuny.ActivityObject.DataListGet.code-snippets` +- `znuny.ActivityObject.DataSearch.code-snippets` +- `znuny.ActivityObject.DataUpdate.code-snippets` +- `znuny.ActivityObject.Get.code-snippets` +- `znuny.ActivityObject.GetLink.code-snippets` +- `znuny.ActivityObject.InitConfig.code-snippets` +- `znuny.ActivityObject.ListGet.code-snippets` +- `znuny.LayoutObject.CleanUpCSSSelector.code-snippets` +- `znuny.LayoutObject.ColorPicker.code-snippets` +- `znuny.LayoutObject.ConvertToCSS.code-snippets` +- `znuny.LayoutObject.CreateDynamicCSS.code-snippets` +- `znuny.LayoutObject.LoaderCreateDynamicCSS.code-snippets` #### Updated Snippets - - `znuny.ArticleObject.ArticleSearchIndexRebuildFlagSet` - - `znuny.ArticleObject.ArticleSearchIndexSQLJoin.code-snippets` - - `znuny.ArticleObject.ArticleSearchIndexSQLJoinNeeded.code-snippets` - - `znuny.ArticleObject.ArticleSearchIndexWhereCondition.code-snippets` - - `znuny.BackendObject.EditFieldRender` - - `znuny.BackendObject.EditFieldValueGet` - - `znuny.BackendObject.EditFieldValueGet` - - `znuny.CommunicationLogObject.ObjectLog` - - `znuny.CommunicationLogObject.ObjectLogStop` - - `znuny.CustomerUserObject.CustomerUserUpdate` - - `znuny.DBCRUDObject.DataUpdate.code-snippets` - - `znuny.HelperObject.ProvideTestDatabase.code-snippets` - - `znuny.PriorityObject.PriorityAdd` - - `znuny.PriorityObject.PriorityUpdate` - - `znuny.SeleniumObject.GetSeleniumHome` - - `znuny.StateObject.StateAdd` - - `znuny.StateObject.StateUpdate` +- `znuny.ArticleObject.ArticleSearchIndexRebuildFlagSet` +- `znuny.ArticleObject.ArticleSearchIndexSQLJoin.code-snippets` +- `znuny.ArticleObject.ArticleSearchIndexSQLJoinNeeded.code-snippets` +- `znuny.ArticleObject.ArticleSearchIndexWhereCondition.code-snippets` +- `znuny.BackendObject.EditFieldRender` +- `znuny.BackendObject.EditFieldValueGet` +- `znuny.BackendObject.EditFieldValueGet` +- `znuny.CommunicationLogObject.ObjectLog` +- `znuny.CommunicationLogObject.ObjectLogStop` +- `znuny.CustomerUserObject.CustomerUserUpdate` +- `znuny.DBCRUDObject.DataUpdate.code-snippets` +- `znuny.HelperObject.ProvideTestDatabase.code-snippets` +- `znuny.PriorityObject.PriorityAdd` +- `znuny.PriorityObject.PriorityUpdate` +- `znuny.SeleniumObject.GetSeleniumHome` +- `znuny.StateObject.StateAdd` +- `znuny.StateObject.StateUpdate` ## [1.0.4] @@ -63,97 +51,97 @@ Default keyboard shortcut: ```strg+alt+z, d``` #### Added Snippets - - `znuny.UtilObject.IsITSMIncidentProblemManagementInstalled.code-snippets` +- `znuny.UtilObject.IsITSMIncidentProblemManagementInstalled.code-snippets` #### Updated Snippets - - `znuny.ArticleObject.ArticleSearchIndexRebuildFlagSet.code-snippets` - - `znuny.BackendObject.EditFieldRender.code-snippets` - - `znuny.BackendObject.EditFieldValueGet.code-snippets` - - `znuny.CommunicationLogObject.ObjectLog.code-snippets` - - `znuny.CommunicationLogObject.ObjectLogStop.code-snippets` - - `znuny.CustomerUserObject.CustomerUserUpdate.code-snippets` - - `znuny.DBObject.QueryCondition.code-snippets` - - `znuny.DebugLogObject.LogAdd.code-snippets` - - `znuny.GenericAgentObject.JobRun.code-snippets` - - `znuny.HelperObject.TestUserCreate.code-snippets` - - `znuny.LinkObject.ObjectSearch.code-snippets` - - `znuny.LoaderObject.MinifyFiles.code-snippets` - - `znuny.MailQueueObject.List.code-snippets` - - `znuny.MainObject.FileDelete.code-snippets` - - `znuny.Module.AgentTicketNoteToLinkedTicket.code-snippets` - - `znuny.PDFObject.HLine.code-snippets` - - `znuny.PDFObject.Image.code-snippets` - - `znuny.PackageObject.PackageBuild.code-snippets` - - `znuny.ParamObject.SaveFormDraft.code-snippets` - - `znuny.QueueObject.QueueUpdate.code-snippets` - - `znuny.SeleniumObject.WaitFor.code-snippets` - - `znuny.SysConfigObject.ConfigurationSearch.code-snippets` - - `znuny.SysConfigObject.SettingEffectiveValueCheck.code-snippets` - - `znuny.SystemMaintenanceObject.SystemMaintenanceAdd.code-snippets` - - `znuny.TemplateGeneratorObject.Attributes.code-snippets` - - `znuny.TemplateGeneratorObject.Template.code-snippets` - - `znuny.TicketObject.TicketAcl.code-snippets` - - `znuny.UnitTestObject.Run.code-snippets` - - `znuny.VirtualFSObject.Write.code-snippets` - - `znuny.WebserviceHistoryObject.WebserviceHistoryUpdate.code-snippets` +- `znuny.ArticleObject.ArticleSearchIndexRebuildFlagSet.code-snippets` +- `znuny.BackendObject.EditFieldRender.code-snippets` +- `znuny.BackendObject.EditFieldValueGet.code-snippets` +- `znuny.CommunicationLogObject.ObjectLog.code-snippets` +- `znuny.CommunicationLogObject.ObjectLogStop.code-snippets` +- `znuny.CustomerUserObject.CustomerUserUpdate.code-snippets` +- `znuny.DBObject.QueryCondition.code-snippets` +- `znuny.DebugLogObject.LogAdd.code-snippets` +- `znuny.GenericAgentObject.JobRun.code-snippets` +- `znuny.HelperObject.TestUserCreate.code-snippets` +- `znuny.LinkObject.ObjectSearch.code-snippets` +- `znuny.LoaderObject.MinifyFiles.code-snippets` +- `znuny.MailQueueObject.List.code-snippets` +- `znuny.MainObject.FileDelete.code-snippets` +- `znuny.Module.AgentTicketNoteToLinkedTicket.code-snippets` +- `znuny.PDFObject.HLine.code-snippets` +- `znuny.PDFObject.Image.code-snippets` +- `znuny.PackageObject.PackageBuild.code-snippets` +- `znuny.ParamObject.SaveFormDraft.code-snippets` +- `znuny.QueueObject.QueueUpdate.code-snippets` +- `znuny.SeleniumObject.WaitFor.code-snippets` +- `znuny.SysConfigObject.ConfigurationSearch.code-snippets` +- `znuny.SysConfigObject.SettingEffectiveValueCheck.code-snippets` +- `znuny.SystemMaintenanceObject.SystemMaintenanceAdd.code-snippets` +- `znuny.TemplateGeneratorObject.Attributes.code-snippets` +- `znuny.TemplateGeneratorObject.Template.code-snippets` +- `znuny.TicketObject.TicketAcl.code-snippets` +- `znuny.UnitTestObject.Run.code-snippets` +- `znuny.VirtualFSObject.Write.code-snippets` +- `znuny.WebserviceHistoryObject.WebserviceHistoryUpdate.code-snippets` ## [1.0.3] ### ⭐ StatusBar - - The status bar gets an additional **Znuny** item and the entire status bar is displayed in the Znuny color ![#ff9b00](https://placehold.co/15x15/ff9b00/ff9b00.png) if the active file is a "Znuny file". - - If the active file belongs to a **Znuny framework** ("Znuny file") in the workspace, the **product name** and **version** are displayed from the RELEASE file. - - If the active file belongs to a **Znuny package** ("Znuny file") in the workspace, the **vendor** and the largest **framework version** are displayed from the SOPM file. +- The status bar gets an additional **Znuny** item and the entire status bar is displayed in the Znuny color ![#ff9b00](https://placehold.co/15x15/ff9b00/ff9b00.png) if the active file is a "Znuny file". + - If the active file belongs to a **Znuny framework** ("Znuny file") in the workspace, the **product name** and **version** are displayed from the RELEASE file. + - If the active file belongs to a **Znuny package** ("Znuny file") in the workspace, the **vendor** and the largest **framework version** are displayed from the SOPM file. ### Snippets - - Fixed - Broken snippet - Functions/TicketObject/znuny.TicketObject.TicketSearch.code-snippets [#2](https://github.com/dennykorsukewitz/DK4Znuny-VisualStudioCode/issues/2) - - Added missing DiffObject snippet for 6.0 - - Tidied Snippets +- Fixed - Broken snippet - Functions/TicketObject/znuny.TicketObject.TicketSearch.code-snippets [#2](https://github.com/dennykorsukewitz/DK4Znuny-VisualStudioCode/issues/2) +- Added missing DiffObject snippet for 6.0 +- Tidied Snippets ## [1.0.2] ### Snippets - - Escaped '\$' to use scalarref (scalar reference) - - Escaped '\@' to use arrayref (array reference) - - Escaped '\%' to use hashref (hash reference) - - Escaped '\&' to use coderef (code reference) - - Escaped '\*' to use globref (glob reference) - - Applied new escaped strings to snippets +- Escaped '\$' to use scalarref (scalar reference) +- Escaped '\@' to use arrayref (array reference) +- Escaped '\%' to use hashref (hash reference) +- Escaped '\&' to use coderef (code reference) +- Escaped '\*' to use globref (glob reference) +- Applied new escaped strings to snippets ## [1.0.1] ### Snippets - - Fixed syntax typos - - Tidied snippet filenames for better readability - - Added DynamicFields - - ⭐ WebserviceText - - ⭐ WebserviceMultiselect - - ⭐ WebserviceDropdown - - Added SeleniumObject - - ⭐ VerifiedClick - - ⭐ VerifiedSubmit +- Fixed syntax typos +- Tidied snippet filenames for better readability +- Added DynamicFields + - ⭐ WebserviceText + - ⭐ WebserviceMultiselect + - ⭐ WebserviceDropdown +- Added SeleniumObject + - ⭐ VerifiedClick + - ⭐ VerifiedSubmit ## [1.0.0] ### Initial release of Znuny Snippets extension - - CodePolicy - - ConfigXML - - Customizing - - Debugging - - DynamicFields - - Functions - - GitLab - - Language - - Licensing - - Modules - - Needed - - ObjectManager - - Perl - - POD - - Selenium - - VariableCheck +- CodePolicy +- ConfigXML +- Customizing +- Debugging +- DynamicFields +- Functions +- GitLab +- Language +- Licensing +- Modules +- Needed +- ObjectManager +- Perl +- POD +- Selenium +- VariableCheck diff --git a/README.md b/README.md index a38a0771..5a240e85 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ - Snippets - StatusBar -- QuoteWithMarker ### Snippets ![Snippets Total Counter](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fdennykorsukewitz%2Fe2729bfd9b81d9c032ded617a3f924e7%2Fraw%2Fe19742578a7aaf26231a0af31d219d1abe3abb11%2FDK4Znuny-VisualStudioCode%3Asnippets-total.json) @@ -47,7 +46,7 @@ Statically created snippets. #### Generated ![Snippets Generated Counter](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fdennykorsukewitz%2Fe2729bfd9b81d9c032ded617a3f924e7%2Fraw%2Fe19742578a7aaf26231a0af31d219d1abe3abb11%2FDK4Znuny-VisualStudioCode%3Asnippets-generated.json) -Snippets created generically using the existing perl POD. +Snippets created generically using the existing Perl POD. ```md snippets @@ -87,26 +86,6 @@ The status bar is updated with every active file change. ![StatusBar](doc/images/statusbar.gif) -### QuoteWithMarker - -This function quotes the selected area and adds a custom marker to it. - -`QuoteWithMarker` can be very useful especially for custom files `Custom/**`. - -Default keyboard shortcut: ```strg+alt+z, q``` - -Works with active Perl, JavaScript and HTML syntax. - -![QuoteWithMarker](doc/images/quotewithmarker.gif) - -### ObjectDependencies - -This function inserts the `@ObjectDependencies` array by parsing the file content. Only regular used OM (ObjectManager) calls are supported. - -Default keyboard shortcut: ```strg+alt+z, d``` - -![ObjectDependencies](doc/images/objectdependencies.gif) - ## Installation To install this extension, you have **three** options: diff --git a/package.json b/package.json index a3c03679..efa99c0f 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "vscode": "^1.74.0" }, "activationEvents": [ - "onCommand:znuny.quoteWithMarker", "onCommand:znuny.showZnunyVersion", "*" ], @@ -60,28 +59,12 @@ }, "contributes": { "commands": [ - { - "command": "znuny.quoteWithMarker", - "title": "Znuny: Quote with Marker." - }, - { - "command": "znuny.objectDependencies", - "title": "Znuny: Insert @ObjectDependencies." - }, { "command": "znuny.showZnunyVersion", "title": "Znuny: Show Znuny Version." } ], "keybindings": [ - { - "command": "znuny.quoteWithMarker", - "key": "ctrl+alt+z q" - }, - { - "command": "znuny.objectDependencies", - "key": "ctrl+alt+z d" - }, { "command": "znuny.showZnunyVersion", "key": "ctrl+alt+z v" @@ -110,11 +93,6 @@ "type": "string", "description": "Znuny Status Bar hoverBackground color.", "default": "#ffc062" - }, - "znuny.codeMarker": { - "type": "string", - "description": "Znuny Code Marker used in QuoteWithMarker function.", - "default": "Znuny" } } },