KodiDevKit
ST4 plugin to help with Kodi skinning / scripting (IDE-like)
Installations minus removals
Upgrades
- 799 installs
- 6 stars
Links
Versions
3.4.0
(ST4000+)
·
KodiDevKit
A Sublime Text 4 plugin for Kodi skin and addon development. Provides validation, intelligent tooltips, auto-completion, JSON-RPC integration, and more.
Documentation
- Validation: on-save XML checks and full-skin reports covering variables, includes, maps, labels, fonts, IDs, images, XML structure, file integrity and the Kodi repo rules.
- Features: tooltips, auto-completion, keyboard shortcuts, fuzzy searches, context menu, JSON-RPC commands, Kodi log integration, building the skin.
- Settings: every setting with type, default, and description.
- Skin Shortcuts: how KodiDevKit handles runtime-generated content from script.skinshortcuts.
Requirements
- Sublime Text 4 or later.
- Project structure: Open your Kodi addon root as the only folder (File > Open Folder or a saved project).
- Configuration: Settings are under Preferences > Package Settings > KodiDevKit. Set
kodi_pathto your Kodi installation folder to read Kodi's own language and color files; without it, copies bundled for each Kodi release are used.
Installation
Package Control (recommended): Install Package Control if you don't have it, then open the Command Palette (Ctrl+Shift+P), select "Package Control: Install Package", and search for "KodiDevKit".
Manual: Clone into your Sublime Text Packages folder:
# Windows
cd "%APPDATA%/Sublime Text/Packages"
# macOS
cd "~/Library/Application Support/Sublime Text/Packages"
# Linux
cd "~/.config/sublime-text/Packages"
git clone https://github.com/MikeSiLVO/KodiDevKit.git
Restart Sublime Text after installing.
Command line
The same checks run without Sublime Text in kdk, a standalone validator for CI and the terminal: pip install kdk, then kdk validate <skin folder>.
License
GNU General Public License v3.0+
Based on the original KodiDevKit by Philipp Temminghoff (phil65), Copyright (C) 2015-2019, licensed GPL-3.0-or-later.
Bundled Kodi data
data/ carries reference data taken from Kodi, Copyright (C) Team Kodi, licensed GPL-2.0-or-later and used here under GPL-3.0-or-later:
data/kodi/<release>/-colors.xmlandstrings.po, copied verbatim byscripts/refresh.py.data/<release>/data.xml- builtin and boolean-condition names with their descriptions, taken from the Kodi sources and maintained by hand.data/<release>/infonames.json- the infolabel and boolean-condition names Kodi's parser accepts, taken from the Kodi sources.data/<release>/windows.jsonandobsolete_windows.json- window names, ids and files, taken from the Kodi sources.data/addon_schema/- addon.xml schemas copied verbatim from kodi-addon-checker, Copyright (C) Team Kodi, licensed GPL-3.0-only.