{"id":21948711,"url":"https://github.com/dennykorsukewitz/vscode-znuny","last_synced_at":"2025-04-23T00:21:32.363Z","repository":{"id":74804181,"uuid":"593331260","full_name":"dennykorsukewitz/VSCode-Znuny","owner":"dennykorsukewitz","description":"Znuny is an extension that helps you to make Znuny development easier, faster and more error-free.","archived":false,"fork":false,"pushed_at":"2025-02-01T09:51:55.000Z","size":24923,"stargazers_count":8,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-03-29T20:23:03.606Z","etag":null,"topics":["extension","otrs","package","pages","visualstudiocode","vsc","znuny"],"latest_commit_sha":null,"homepage":"https://dennykorsukewitz.github.io/VSCode-Znuny/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dennykorsukewitz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["dennykorsukewitz"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.paypal.com/donate/?hosted_button_id=BPFJDDJQ3Q3PS"]}},"created_at":"2023-01-25T19:02:00.000Z","updated_at":"2025-02-25T09:43:21.000Z","dependencies_parsed_at":"2024-03-23T00:38:40.841Z","dependency_job_id":"2568c38c-a06a-4700-aaf5-098561018779","html_url":"https://github.com/dennykorsukewitz/VSCode-Znuny","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennykorsukewitz%2FVSCode-Znuny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennykorsukewitz%2FVSCode-Znuny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennykorsukewitz%2FVSCode-Znuny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennykorsukewitz%2FVSCode-Znuny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennykorsukewitz","download_url":"https://codeload.github.com/dennykorsukewitz/VSCode-Znuny/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250344642,"owners_count":21415158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extension","otrs","package","pages","visualstudiocode","vsc","znuny"],"created_at":"2024-11-29T05:17:11.907Z","updated_at":"2025-04-23T00:21:32.341Z","avatar_url":"https://github.com/dennykorsukewitz.png","language":"Perl","funding_links":["https://github.com/sponsors/dennykorsukewitz","https://www.paypal.com/donate/?hosted_button_id=BPFJDDJQ3Q3PS"],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" width=\"150\" height=\"150\" src=\"doc/images/icon.png\"\u003e\n\n# Znuny\n\n**Znuny** is an extension that helps you to make Znuny development easier, faster and more error-free.\n\n| Repository | GitHub | Visual Studio Marketplace |\n| ------ | ------ | ------ |\n| ![GitHub release (latest by date)](https://img.shields.io/github/v/release/dennykorsukewitz/VSCode-Znuny) | ![GitHub open issues](https://img.shields.io/github/issues/dennykorsukewitz/VSCode-Znuny) ![GitHub closed issues](https://img.shields.io/github/issues-closed/dennykorsukewitz/VSCode-Znuny?color=#44CC44) | ![Visual Studio Marketplace last-updated](https://img.shields.io/visual-studio-marketplace/last-updated/dennykorsukewitz.znuny) ![Visual Studio Marketplace Version ](https://img.shields.io/visual-studio-marketplace/v/dennykorsukewitz.znuny) |\n| ![GitHub license](https://img.shields.io/github/license/dennykorsukewitz/VSCode-Znuny) | ![GitHub pull requests](https://img.shields.io/github/issues-pr/dennykorsukewitz/VSCode-Znuny?label=PR) ![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/dennykorsukewitz/VSCode-Znuny?color=g\u0026label=PR) | ![Visual Studio Marketplace Rating release-date](https://img.shields.io/visual-studio-marketplace/release-date/dennykorsukewitz.znuny) |\n| ![GitHub language count](https://img.shields.io/github/languages/count/dennykorsukewitz/VSCode-Znuny?style=flat\u0026label=language)  | ![GitHub contributors](https://img.shields.io/github/contributors/dennykorsukewitz/VSCode-Znuny) | ![Visual Studio Marketplace Rating (Stars)](https://img.shields.io/visual-studio-marketplace/stars/dennykorsukewitz.znuny) ![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/dennykorsukewitz.znuny) |\n| ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/dennykorsukewitz/VSCode-Znuny)  | ![GitHub downloads](https://img.shields.io/github/downloads/dennykorsukewitz/VSCode-Znuny/total?style=flat) | ![VSC marketplace download](https://img.shields.io/visual-studio-marketplace/d/dennykorsukewitz.znuny) ![VSC marketplace install](https://img.shields.io/visual-studio-marketplace/i/dennykorsukewitz.znuny) |\n\n| Versions | Status |\n| ------ | ------ |\n| ![GitHub label version](https://img.shields.io/github/labels/dennykorsukewitz/dennykorsukewitz/Znuny%206.0) ![GitHub label version](https://img.shields.io/github/labels/dennykorsukewitz/dennykorsukewitz/Znuny%206.4) ![GitHub label version](https://img.shields.io/github/labels/dennykorsukewitz/dennykorsukewitz/Znuny%206.5) \u003cbr\u003e ![GitHub label version](https://img.shields.io/github/labels/dennykorsukewitz/dennykorsukewitz/Znuny%207.0) ![GitHub label version](https://img.shields.io/github/labels/dennykorsukewitz/dennykorsukewitz/Znuny%207.1) ![GitHub label version](https://img.shields.io/github/labels/dennykorsukewitz/DK4/dev) | [![GitHub commits since tagged version](https://img.shields.io/github/commits-since/dennykorsukewitz/VSCode-Znuny/1.4.1/dev)](https://github.com/dennykorsukewitz/VSCode-Znuny/compare/1.4.1...dev) ![GitHub Workflow Lint](https://github.com/dennykorsukewitz/VSCode-Znuny/actions/workflows/lint.yml/badge.svg?branch=dev\u0026style=flat\u0026label=Lint) [![Snippet](https://github.com/dennykorsukewitz/VSCode-Znuny/actions/workflows/snippet.yml/badge.svg)](https://github.com/dennykorsukewitz/VSCode-Znuny/actions/workflows/snippet.yml) ![GitHub Workflow Pages](https://github.com/dennykorsukewitz/VSCode-Znuny/actions/workflows/pages.yml/badge.svg?branch=dev\u0026style=flat\u0026label=GitHub%20Pages) |\n\n## Features\n\n- [AddFolderToWorkspace](#addfoldertoworkspace)\n- [RemoveFolderFromWorkspace](#removefolderfromworkspace)\n- [Customizer](#customizer)\n- [GenerateFilelist](#generatefilelist)\n- [ObjectDependencies](#objectdependencies)\n- [QuoteWithMarker](#quotewithmarker)\n- [Snippets](#snippets)\n- [StatusBar](#statusbar)\n\n---\n\n### Snippets\n\n![Snippets Total Counter](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fdennykorsukewitz%2Fe2729bfd9b81d9c032ded617a3f924e7%2Fraw%2FVSCode-Znuny%3Asnippets-total.json)\n\nZnuny code snippets for fast, consistent and error free coding.\n\n![Snippets](doc/images/snippets.gif)\n\n#### Static\n\n![Snippets Static Counter](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fdennykorsukewitz%2Fe2729bfd9b81d9c032ded617a3f924e7%2Fraw%2FVSCode-Znuny%3Asnippets-static.json)\n\nStatically created snippets.\n\n- CodePolicy\n- ConfigXML\n- Customizing\n- Debugging\n- DynamicFields\n- GitLab\n- Language\n- Licensing\n- Needed\n- Perl\n- POD\n- Scaffolding\n- Selenium\n- SOPM\n- VariableCheck\n\n#### Generated\n\n![Snippets Generated Counter](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fdennykorsukewitz%2Fe2729bfd9b81d9c032ded617a3f924e7%2Fraw%2FVSCode-Znuny%3Asnippets-generated.json)\n\nSnippets created generically using the existing Perl POD.\n\n```perl\nsnippets\n│\n└───Functions\n│   └───ConfigObject\n│   │       $ConfigObject-\u003eGet()\n│   │       $ConfigObject-\u003eSet()\n│   │\n│   └───TicketObject\n│           $TicketObject-\u003eTicketGet()\n│           $TicketObject-\u003eTicketSearch()\n│           ...\n│\n└───Modules\n│       AgentTicketZoom\n│       CustomerTicketOverview\n│       ...\n│\n└───ObjectManager\n        ConfigObject\n            my $ConfigObject = $Kernel::OM-\u003eGet('Kernel::Config');\n        TicketObject\n            my $TicketObject = $Kernel::OM-\u003eGet('Kernel::System::Ticket');\n        ...\n```\n\n---\n\n### AddFolderToWorkspace\n\nThis Function provides a searchable list of folders (Workspaces) that can be added to the current VSC Workspace. All configured folders will be displayed.\n\n```markdown\n    Of course, you can use the already built-in function:\n    `Workspaces: Add Folder To Workspace...` (workbench.action.addRootFolder).\n    But then you have to click through all the folders again and again.\n```\n\n**Shortcut:** ```strg + alt + z, p```\u003cbr\u003e\n**Command:**  ```Znuny: Add Folder to Workspace.```\n\n![AddFolderToWorkspace](doc/images/addfoldertoworkspace.gif)\n\n#### Settings\n\n`Preferences -\u003e Settings -\u003e Extensions -\u003e Znuny`\n\n| Name | Description | Default Value |\n| - | - | - |\n| znuny.addFolderToWorkspace.workspaces | Provides a list of folders (Workspaces) that can be added to the current VSC Workspace. | /Users/ |\n| znuny.addFolderToWorkspace.recursiveWorkspaces | Provides a searchable (only first level) list of folders  (Workspaces) that can be added to the current VSC Workspace. | /Users/ |\n\n---\n\n### RemoveFolderFromWorkspace\n\nThis Function provides a searchable list of folders (Workspaces) that can be removed **simultaneous** from the current VSC Workspace. All current open folders are displayed.\n\n**Shortcut:** ```strg + alt + z, shift + p```\u003cbr\u003e\n**Command:**  ```Znuny: Remove Folder from Workspace.```\n\n![RemoveFolderFromWorkspace](doc/images/removefolderfromworkspace.gif)\n\n---\n\n### Customizer\n\nThis function fetches Znuny files from GitHub and adds origin to header.\n\n```perl\n# $origin: Znuny - 7775216b80452a6ce2267812a25bf23ae786ae57 - Kernel/System/Ticket.pm\n```\n\n**Shortcut:** ```strg + alt + z, c```\u003cbr\u003e\n**Command:**  ```Znuny: Fetch Znuny files from GitHub.```\n\nOpens a project, branch and file selection list to chose a framework or addon file from. The file will get fetched live from the selected GitHub branch and added to the (selected) folder. The origin tag will be added automatically to the file header for you. The file will also be automatically added to the 'Custom/' directory in case it's a file with one of the file extensions '.pm', '.dtl' or '.tt'.\nIf the copyright is set in the settings, it will be added as well.\n\nThe GitHub API is limited to 60 requests per hour for non authorized requests.\nIf you need more requests, please create an issue on the use of credentials.\n\nThe following steps are performed one after the other.\n\n**1. Znuny - Customizer (1/5):** Fetching GitHub repositories.\n\n```markdown\n    This function allows you to search for GitHub owners or GitHub repositories.\n    The search results (owner/repository) are then displayed.\n```\n\n**2. Znuny - Customizer (2/5):** Fetching branches.\n\n```markdown\n    After selecting the repository, all possible branches are displayed.\n```\n\n**3. Znuny - Customizer (3/5):** Fetching files.\n\n```markdown\n    After that, select the desired file.\n```\n\n**4. Znuny - Customizer (4/5):** Fetching destination folder.\n\n```markdown\n    Finally, the destination folder must be selected.\n```\n\n**5. Znuny - Customizer (5/5):** Added file.\n\n```markdown\n    `Hocus Pocus` - The file was created at the desired location.\n```\n\n#### Settings\n\n`Preferences -\u003e Settings -\u003e Extensions -\u003e Znuny`\n\n| Name | Description | Default Value |\n| - | - | - |\n| znuny.customizer.copyright | Znuny Customizer Copyright. This Copyright will be added to the Customizer file under the Znuny Copyright. |  |\n| znuny.customizer.repositories | List of possible GitHub repositories. | Znuny|FAQ|... |\n\n![Customizer](doc/images/customizer.gif)\n\n---\n\n### GenerateFilelist\n\nInserts the SOPM Filelist content containing all files of a selectable project.\u003cbr\u003e\nThe following file types will be added: `pm | tt | t | xml | js | html.tmpl`\n\nThe function can be executed only in the `.sopm` file.\n\n**Shortcut:** ```strg + alt + z, f```\u003cbr\u003e\n**Command:**  ```Znuny: Insert Filelist to SOPM.```\n\n#### Settings\n\n`Preferences -\u003e Settings -\u003e Extensions -\u003e Znuny`\n\n| Name | Description | Default Value |\n| - | - | - |\n| znuny.generateFilelist.mode | Znuny Generate Filelist Mode is used in GenerateFilelist function.\u003cbr\u003eIt defines how the file list should be generated.\u003cbr\u003e\u003cbr\u003e**File** =\u003e Adds only every single file without `\u003cFilelist\u003e`.\u003cbr\u003e**Filelist** =\u003e Adds the complete filelist with `\u003cFilelist\u003e`. | File |\n\n![GenerateFilelist](doc/images/generatefilelist.gif)\n\n---\n\n### ObjectDependencies\n\nThis function inserts the `@ObjectDependencies` array by parsing the file content. Only regular used OM (ObjectManager) calls are supported.\n\n**Shortcut:** ```strg + alt + z, d```\u003cbr\u003e\n**Command:**  ```Znuny: Insert @ObjectDependencies.```\n\n![ObjectDependencies](doc/images/objectdependencies.gif)\n\n---\n\n### QuoteWithMarker\n\nThis function quotes the selected area and adds a custom marker to it.\n\n`QuoteWithMarker` can be very useful especially for custom files `Custom/**`.\n\n**Shortcut:** ```strg + alt + z, q```\u003cbr\u003e\n**Command:**  ```Znuny: Quote with Marker.```\n\n\u003cdetails\u003e\n  \u003csummary\u003eWorks for the following languages:\u003c/summary\u003e\n\n| LanguageID              | LineComment |\n| ----------------------- | ----------- |\n| bat                     | @REM        |\n| clojure                 | ;;          |\n| coffeescript            | #           |\n| c                       | //          |\n| cpp                     | //          |\n| cuda-cpp                | //          |\n| csharp                  | //          |\n| CSS                     |             |\n| dart                    | //          |\n| diff                    | #           |\n| dockerfile              | #           |\n| fsharp                  | //          |\n| git-commit              | #           |\n| git-rebase              | #           |\n| ignore                  | #           |\n| go                      | //          |\n| groovy                  | //          |\n| handlebars              |             |\n| hlsl                    | //          |\n| HTML                    |             |\n| ini                     | ;           |\n| plaintext               | #           |\n| java                    | //          |\n| javascriptreact         | //          |\n| JavaScript              | //          |\n| jsx-tags                |             |\n| json                    | //          |\n| jsonc                   | //          |\n| jsonl                   | //          |\n| julia                   | #           |\n| tex                     | %           |\n| latex                   | %           |\n| cpp_embedded_latex      | //          |\n| markdown_latex_combined |             |\n| less                    | //          |\n| lua                     | --          |\n| makefile                | #           |\n| Markdown                |             |\n| objective-c             | //          |\n| objective-cpp           | //          |\n| perl                    | #           |\n| perl6                   | #           |\n| php                     | //          |\n| powershell              | #           |\n| jade                    | //-         |\n| python                  | #           |\n| r                       | #           |\n| razor                   |             |\n| restructuredtext        | ..          |\n| ruby                    | #           |\n| rust                    | //          |\n| SCSS                    | //          |\n| shaderlab               | //          |\n| shellscript             | #           |\n| sql                     | --          |\n| swift                   | //          |\n| TypeScript              | //          |\n| typescriptreact         | //          |\n| vb                      | '           |\n| xml                     |             |\n| xsl                     |             |\n| dockercompose           | #           |\n| yaml                    | #           |\n\n\u003c/details\u003e\n\n#### Settings\n\n`Preferences -\u003e Settings -\u003e Extensions -\u003e Znuny`\n\n| Name | Description | Default Value |\n| - | - | - |\n| znuny.quoteWithMarker.codeMarker | Znuny Code Marker used in QuoteWithMarker function. | Znuny |\n\n![QuoteWithMarker](doc/images/quotewithmarker.gif)\n\n---\n\n### StatusBar\n\nThe 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) \\\nif the active file is a \"Znuny file\".\n\n- 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.\n- 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.\n\nThe status bar is updated with every active file change.\n\n**Shortcut:** ```strg + alt + z, v```\u003cbr\u003e\n**Command:**  ```Znuny: Show Znuny Version.```\n\n#### Settings\n\n`Preferences -\u003e Settings -\u003e Extensions -\u003e Znuny`\n\n| Name | Description | Default Value |\n| - | - | - |\n| znuny.statusBar.enabled                       | Defines when the StatusBar should be updated. \u003cbr\u003e\u003cbr\u003e **On**: Always active.\u003cbr\u003e **On Command**: Activated only by a command.\u003cbr\u003e **On ChangeActiveTextEditor**: Activated only by change of active TextEditor.\u003cbr\u003e **Off**: Not active. | On |\n| znuny.statusBar.statusBar.background          | Znuny Status Bar background color. | #ff9b00 |\n| znuny.statusBar.statusBar.foreground          | Znuny Status Bar foreground color. | #000000 |\n| znuny.statusBar.statusBar.foregroundZnuny     | Znuny Status Bar foreground color for Znuny Version Item. | #ffffff |\n| znuny.statusBar.statusBarItem.hoverBackground | Znuny Status Bar hoverBackground color. | #ffc062 |\n\n![StatusBar](doc/images/statusbar.gif)\n\n---\n\n## Installation\n\nTo install this extension, you have **three** options:\n\n### 1. Search Extension in Marketplace\n\nSearch and install online extension via VSC extensions menu.\n\n`Code` -\u003e `Preferences` -\u003e `Extensions` simply search for `Znuny` to install.\n\n### 2. Install via vsix file\n\nDownload latest [vsix file](https://github.com/dennykorsukewitz/VSCode-Znuny/releases) and install via extensions menu.\n\n`Code` -\u003e `Preferences` -\u003e `Extensions` -\u003e `Views and More Action` -\u003e `Install from VSIX`.\n\n### 3. Source code\n\nDownload archive with the latest [release](https://github.com/dennykorsukewitz/VSCode-Znuny/releases) and unpack it to VisualStudioCode extensions folder\n`$HOME/.vscode/extensions/`.\n\n---\n\n## Download\n\nFor download see [VSCode-Znuny](https://github.com/dennykorsukewitz/VSCode-Znuny/releases)\n\n---\n\nEnjoy!\n\nYour [Denny Korsukéwitz](https://github.com/dennykorsukewitz) 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennykorsukewitz%2Fvscode-znuny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennykorsukewitz%2Fvscode-znuny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennykorsukewitz%2Fvscode-znuny/lists"}