Kodi Community Forum
Release KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: Release KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting (/showthread.php?tid=221682)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


RE: SublimeText3 plugin to translate kodi labels - braz - 2015-03-20

Nice plugin phil65, I just started using Sublime. Was using a combination of Notepad++, FileSeek, and Windows Explorer....ST3 has replaced all three.


RE: SublimeText3 plugin to translate kodi labels - Hitcher - 2015-03-20

(2015-03-20, 03:33)phil65 Wrote:
(2015-03-20, 01:30)Hitcher Wrote: I'm converted with the auto-complete and multi-cursor functions. Just couldn't use v3 though as the packet manager had all sorts of problem.

install this way:
https://packagecontrol.io/installation
and make sure it is not listed under Preferences --> Settings - User --> ignored packages.
newest version here: http://www.sublimetext.com/3dev

It did it installed but then all I got was 'There are no packages to install'. Confused

Tried the latest build and can't even use it without a licence.


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-03-20

K, you guys got me. I switched. Too much useful plugins and I don't have to move my hand to the mouse anymore...

I'm only missing an XML validating plugin. For NPP there is "XML Tools" to show the error line, but I do not find a similar one for sublime.

Edit:
Got it. SublimeLinter + xmllint (https://packagecontrol.io/packages/SublimeLinter-xmllint)


RE: SublimeText3 plugin to translate kodi labels - Hitcher - 2015-03-20

Text Pastry is another one I've just installed for inserting number sequences with ease.


RE: SublimeText3 plugin to translate kodi labels - stressed - 2015-03-20

Hello ,first thing thanks for the add etc,second ,i factory reset my Ott 4xcpu box ,stuck now has what to do to get it all going againHuhSad


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-03-20

(2015-03-20, 13:53)Hitcher Wrote: Text Pastry is another one I've just installed for inserting number sequences with ease.

What the.., this is just awesome. Thx for the hint.

(2015-03-20, 14:01)stressed Wrote: Hello ,first thing thanks for the add etc,second ,i factory reset my Ott 4xcpu box ,stuck now has what to do to get it all going againHuhSad

You know that you are in the Kodi Skin Development board? Your question... is like asking for an car repair in a barber shop.


RE: SublimeText3 plugin to translate kodi labels - Hitcher - 2015-03-20

I updated my XML.sublime-completions if anyone wants to use it.

http://pastebin.com/TVEYuk2N


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-03-20

Thanks. Pasted it right into my user conf Tongue


RE: SublimeText3 plugin to translate kodi labels - BigNoid - 2015-03-20

Nice, did not know about custom autocomplete Smile

I only got this to work by adding
Code:
    "auto_complete_triggers":
    [
        {
            "characters": "<",
            "selector": "text.xml"
        }
    ],
in the user settings btw.


RE: SublimeText3 plugin to translate kodi labels - Hitcher - 2015-03-20

Sorry, forgot about that. I've added auto-completion for brackets to mine as well.

Code:
{
    "auto_complete_triggers":
    [
        {
            "characters": "<",
            "selector": "text.xml"
        },
        {
            "characters": "\\(",
            "selector": "text.xml"
        },
        {
            "characters": "[",
            "selector": "text.xml"
        }
    ],
    "color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme",
    "font_size": 14,
    "highlight_modified_tabs": true,
    "hot_exit": false,
    "ignored_packages":
    [
        "Vintage"
    ],
    "remember_open_files": false
}



RE: SublimeText3 plugin to translate kodi labels - Hitcher - 2015-03-21

And another package I've found useful - Tabright. Wink


RE: SublimeText3 plugin to translate kodi labels - Hitcher - 2015-03-21

Anyone know if there's one that highlights the open and close tabs when selecting them like N++ does? SB only underlines them whereas N++ highlights them and the lines linking them changes as well.

Notepad++

Image

Sublime Text

Image


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-03-21

BracketHighlighter <--- Smile

It underlines the active bracket.

Image

Edit:
Damn u sublime. I spend more time for configuration as productivity. Everytime I'm going start ..I'll find more to tweak Tongue

If somebody else is annoyed that <tab> is used for "{ "keys": ["tab"], "command": "insert_best_completion", "args": {"default": "\t", "exact": true} },", this will replace this stupid function:
Quote:{ "keys": ["tab"], "command": "insert", "args": {"characters": "\t"},
"context": [
{ "key": "text", "operator": "not_regex_contains", "operand": "\n" }
]
},

This also enables indenting of an selection instead of deleting it.


RE: SublimeText3 plugin to translate kodi labels - Hitcher - 2015-03-22

What does it change exactly?


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-03-22

Just close an tag and press "tab" right after it. Usualy sublime will replace the ">" with an "<name />" on the default settings.
This user keybinding will override that with an common tab indent and enables tab-indenting for a selection.

Does anyone else facing stability issues with 3079? It force close itself sometimes.