KodiDevKit
ST3 plugin to help with Kodi skinning / scripting (IDE-like)
Details
Installs
- Total 762
- Win 474
- Mac 107
- Linux 181
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 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
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 | 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 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
KodiDevKit
ST3 plugin to show translated Kodi labels in mouseover popup, quickly open the Kodi log, log syntax highlighting and much more.
Requirements
In order to get everything working you need to manage your Kodi add-ons as a project while havin the add-on root as the only project folder. To allow JSON-RPC interaction with Kodi you also need to install script toolbox ( https://github.com/phil65/script.toolbox ) as well as activating JSON control via Kodi settings. Also, don´t forget to set up your KodiDevKit settings!
Feature list:
Kodi Log:
- Open log from command palette
- Jump to code where exception ocurred by pressing shift+enter when line with path is selected
Syntax Highlighting:
- Added custom syntax highlighting for
- Kodi language files
- Kodi SkinXML files
- Kodi log files
Tooltips:
- Show english translation when label id is selected
- Show additional translation of choice when label id is selected
- Show actual color / color hex / alpha % for all color themes when color is selected
- Show variable content
- Show include content
- Show font tag
- Show constant value
- Show value of selected Kodi InfoLabel in tooltip (by using JSON-RPC)
- Show infos for selected image (image dimensions and file size)
- Show window file name
JSON-RPC: (newest script.toolbox version needed)
- Auto-reload skin after saving xml
- Execute builtins from command palette
- Reload skin
- Display Kodi InfoLabel
Shortcuts:
- Auto-completion for common Kodi snippets
- builtins
- boolean conditions
- window names
- include names
- variable names
- font names
- constant names
Shortcuts:
- Jump to include (shift+enter)
- Jump to variable (shift+enter)
- Jump to constant (shift+enter)
- Jump to font (shift+enter)
- Jump to label definition (shift+enter)
- Jump to color definition (shift+enter)
- Preview skin image (ctrl+enter)
- Switch xml folder (ctrl+shift+enter)
- Replicate code fragments (and insert asc. number starting with [offset]) (ctrl+shift+x)
Fuzzy searches:
- Search through all skin labels
- Search through all textures including preview
- Search through all available fonts
- Search through all translated strings ($LOCALIZE[id]) of currently open file
- Search through all boolean conditions
- Search through all builtins
Sanity checks:
- Check for unused includes / invalid include references
- Check for unused variables / invalid variable references
- Check for unused fonts / invalid include font references
- Check for unused labels / invalid label references
- Check for invalid values / structure:
- invalid nodes
- invalid attributes
- invalid attribute values
- invalid node values
- invalid multiple nodes
- check for correct parantheses
- check “empty” action calls
Context menu:
- Move label to language file (creates entry in strings.po using the first free id and replaces selected text with $LOCALIZE[foo])
- Go to Kodi online wiki (opens corresponding online help page, only for control types atm)
- Preview skin image
Misc:
- Auto-check skin file on saving
- SkinCheck can also be used from command line with “python script.py PATH_TO_ADDON”
- requires Python 3.3 interpreter
- Build skin with texturepacker from command palette
- Jump-to-Addon command
Remote Actions
- Quick access to common ADB commands:
- set remote IP
- connect to remote
- push add-on to remote
- pull log from remote
- clear temp folder on remote
- pull screenshot from remote
- reboot remote
Note: Sublime Text 2 is not supported. Also, KodiDevKit takes advantage of certain features of ST3 that have bugs in earlier ST3 releases or were implemented during betas. For the best experience, use the latest ST3 dev build. Minimum required version is build 3084.
Available on PackageControl: https://packagecontrol.io/packages/KodiDevKit