Release VSCode Snippets
#1
Are you using VSCode to create your Kodi skin? If so read on......

Creating a Kodi skin involves a lot of repetitive typing and after typing the <top>, <left>, <width> and <height> tags for what seems like the thousanth time today I started looking in to VSCode snippets.

Here's an initial VSCode extension that adds a few common skinning snippets.

ktlwh - top, left, width, height tags
ktlbr - top, left, bottom, right tags
kcontl - Control with top, left
kcontlwh - Control with top, left, width, height
kcontlbr - Control with top, left, bottom, right
kvar - Variable definition

They can all be tab completed.

If anyone has any requests just let me know and I'll add them.

To install go to the Extensions panel in VSCode and press the 3 dots in the upper right corner, then "Install from VSIX"

https://github.com/roidy/Kodi-VSCode-Sni...0.0.1.vsix
Reply

Logout Mark Read Team Forum Stats Members Help
VSCode Snippets0