ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Znuny​4​OTRS

by Znuny GmbH ST2/ST3

Repository of the 'Znuny4OTRS' Sublime Text 2/3 plugin.

Details

Installs

  • Total 76
  • Win 44
  • OS X 23
  • Linux 9
Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
OS X 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

Znuny logo

Sublime

Znuny4OTRS is a Sublime Text 2/3 plugin that helps you to make OTRS development less painful.

Feature List

  • Automatic fetching of framework files from github.
  • Automatic quoting with custom markers via keyboard shortcut.
  • Automatic 'Frontend::Template::GenerateBlockHooks' config XML generation from .tt template file.
  • Automatic creation of the ObjectDependencies array.
  • Add folder from workspace to project.
  • OTRS code snippts for fast, consistent and error free coding.

Installation

To install this plugin, you have three options:

  1. If you have Sublime Package Control installed, simply search for Znuny4OTRS to install.
  2. Clone source code to Sublime Text packages folder Sublime Text 2/Packages or Sublime Text 3/Packages.
  3. Download archive with the latest release and unpack it to Sublime Text packages folder Sublime Text 2/Packages or Sublime Text 3/Packages.

OSX

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
- or ST 3 -
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
git clone git://github.com/znuny/Znuny4OTRS-Sublime.git

Linux

cd ~/.config/sublime-text-2/Packages
- or ST 3 -
cd ~/.config/sublime-text-3/Packages
git clone git://github.com/znuny/Znuny4OTRS-Sublime.git

Windows

cd "%APPDATA%\Sublime Text 2\Packages"
- or ST 3 -
cd "%APPDATA%\Sublime Text 3\Packages"
git clone git://github.com/znuny/Znuny4OTRS-Sublime.git

Usage

otrs code templates

otrs + Sublime Text autocomplete (command auto_complete)

Frontend::Template::GenerateBlockHooks config XML generation

Default keyboard shortcut: strg+alt+z, h

Automatic custom marker quoting

Default keyboard shortcut: strg+alt+z, q

Works with active Perl, JavaScript and HTML sytax.

Automatic creation of the ObjectDependencies array

Default keyboard shortcut: strg+alt+z, d

Inserts the @ObjectDependencies array by parsing the file content. Only regular used OM calls are supported.

Add folder from workspace(s) to project

Default keyboard shortcut: strg+alt+z, p

Provides a searchable list of folders that can be added to the project. All folders of configurable workspace folders will be displayed.

Preferences -> Package Settings -> Znuny4OTRS -> Settings -> “znuny4otrs_workspaces”

Fetching OTRS files from github

Default keyboard shortcut: strg+alt+z, c

Opens 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 Znuny copyright and 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'.

The github API is limited to 60 requests per hour for non authorized requests. Yo can provide your github username and an access token to push this limit to 5000 requests per hour. Please see the official github doc for further information. You can generate the access token in your github settings.

To add your access credentials go to: Preferences -> Package Settings -> Znuny4OTRS -> Settings

And add the settings “znuny4otrs_github_username” and “znuny4otrs_github_token” accordingly.

Creating SOPM Filelist from project

Default keyboard shortcut: strg+alt+z, f

Inserts the SOPM Filelist content containing all files of a selectable project.

Commercial Support

For this extension and for OTRS in general visit http://znuny.com. Looking forward to hear from you!

Enjoy!

Your Znuny Team!

http://znuny.com