Znuny
Znuny (Znuny-Sublime) is a Sublime Text 2/3 plugin that helps you to make Znuny development less painful.
Details
Installs
- Total 179
- Win 97
- Mac 48
- Linux 34
Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 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 | 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 | 1 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime ![Packagecontrol downloads](/readmes/img/236ef10fcdca7c600e4192c84a0af08865884e08.svg)
Znuny (Znuny-Sublime) is a Sublime Text 2/3 plugin that helps you to make Znuny development less painful.
Feature List
- Add folder from workspace to project.
- Automatic fetching of framework files from github.
- Automatic generate SOPM file list.
- Automatic creation of the ObjectDependencies array.
- Automatic quoting with custom markers via keyboard shortcut.
- Znuny code snippets for fast, consistent and error free coding.
Installation
To install this plugin, you have three options:
- If you have Sublime Package Control installed, simply search for
Znuny
to install. - Clone source code to Sublime Text packages folder Sublime Text 2/Packages or Sublime Text 3/Packages.
- 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/Znuny-Sublime.git Znuny
Linux
cd ~/.config/sublime-text-2/Packages
- or ST 3 -
cd ~/.config/sublime-text-3/Packages
git clone git://github.com/znuny/Znuny-Sublime.git Znuny
Windows
cd "%APPDATA%\Sublime Text 2\Packages"
- or ST 3 -
cd "%APPDATA%\Sublime Text 3\Packages"
git clone git://github.com/znuny/Znuny-Sublime.git Znuny
Usage
znuny code templates
znuny
+ Sublime Text autocomplete (command auto_complete
)
Add folder from workspace(s) to project
Shortcut: strg + alt + z, p
Command: Znuny: Add Folder to Project
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 -> Znuny -> Settings -> “znuny_workspaces”
Fetching Znuny files from github
Shortcut: strg + alt + z, c
Command: Znuny: Customizer
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. You 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 -> Znuny -> Settings
And add the settings “znuny_github_username” and “znuny_github_token” accordingly.
Creating SOPM Filelist from project
Shortcut: strg + alt + z, f
Command: Znuny: Generate SOPM FileList
Inserts the SOPM Filelist content containing all files of a selectable project.
Automatic creation of the ObjectDependencies array
Shortcut: strg + alt + z, d
Command: Znuny: Generate ObjectDependencies
Inserts the @ObjectDependencies array by parsing the file content. Only regular used OM calls are supported.
Automatic custom marker quoting
Shortcut: strg + alt + z, q
Command: Znuny: Quote with Marker
Works with active Perl, JavaScript and HTML syntax.
Commercial Support
For this extension and for Znuny in general visit http://znuny.com. Looking forward to hear from you!
Enjoy!
Your Znuny Team!