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 - jurialmunkey - 2015-03-23

Okay, the multiple cursors thing has got me hooked and made me switch from Geany. The only thing bugging me at the moment is the font rendering for Sublime on Fedora/Linux looks like crap compared to Geany and other text apps like terminal... played with all the subpixel aliasing options etc, but just cant get it looking as nice using the exact same font weight/style/size


RE: SublimeText3 plugin to translate kodi labels - phil65 - 2015-03-23

hehe happy to see that the whole skinning scene switches horses. Smile


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

Does anyone know if there is a quick way to highlight a section of code and turn it into a comment? For instance, automatically add the <!-- -->?


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

Ctrl + /.


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

(2015-03-24, 18:53)Hitcher Wrote: Ctrl + /.
Awesome, thanks!


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-04-02

@Phil65:
Sublime is randomly force closing if I have your plugin enabled.
This only happens when I select some rows or scroll through the document.

No error message, nothing. Just *bam* back to desktop.


RE: SublimeText3 plugin to translate kodi labels - phil65 - 2015-04-02

(2015-04-02, 11:44)sualfred Wrote: @Phil65:
Sublime is randomly force closing if I have your plugin enabled.
This only happens when I select some rows or scroll through the document.

No error message, nothing. Just *bam* back to desktop.
latest build? Which platform?
I'm on latest build 3082 using Linux and I dont get any crashes.
Another possibilty would be that it conflicts with another addon.
Will get more into it when I find some time, this was just a first quick shot. I still have to figure out what's the best way to deal with the ST API, in some parts the API is a bit cumbersome.


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-04-02

Latest build x64 v3083. Had the same issues with the dev builds before.
Tried the 32 and 64 bit variants.

Operation systems tested: Win8.1 Enterprise x64 and Win7 Enterprise x64


RE: SublimeText3 plugin to translate kodi labels - phil65 - 2015-04-02

(2015-04-02, 11:58)sualfred Wrote: Latest build x64 v3083. Had the same issues with the dev builds before.
Tried the 32 and 64 bit variants.

Operation systems tested: Win8.1 Enterprise x64 and Win7 Enterprise x64
As I said, it's either OS-related or a perhaps a plugin conflict. I worked the whole day with that plugin activated and not one single crash.


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-04-02

I tried it with disabled all other plugins in the past. I guess it's Windows-related. The minidump file says something about an access-restriction on an virtual whatever Smile No real detailed information.

@Hitcher:
You are using Windows too, aren't you? Do you have those issues?


RE: SublimeText3 plugin to translate kodi labels - Hitcher - 2015-04-02

I couldn't even get ST3 to run properly.


RE: SublimeText3 plugin to translate kodi labels - sualfred - 2015-04-02

Oh.. ok ^^

FYI: There was an update released on 26th March.


RE: SublimeKodi: SublimeText3 plugin to help with kodi skinning / scripting - phil65 - 2015-04-03

Was able to spend some more minutes on this today.
- Changed Title to SublimeKodi
- bit refactoring, added some dummy code for further work

Perhaps the crashes are gone now because of the refactoring (cannot test this obviously), but keep in mind that this is still very WIP. if you dont get any label translations then start "SublimeKodi: Reload language files" from command palette while editing an xml / py from your skin / script.
If I find enough time I intend to add features like "Go to variable" or "Go to include". I think that could be pretty helpful.


RE: SublimeKodi: SublimeText3 plugin to help with kodi skinning / scripting - sualfred - 2015-04-03

Thx Phil.

Already installed it and it seems that the problem is gone.
I'll keep you updated, if Sublime is crashing again.


RE: SublimeKodi: SublimeText3 plugin to help with kodi skinning / scripting - phil65 - 2015-04-03

ok, good. Problem was likely checking the language file too often. Still a bit strange because ST3 was changed to run plug-ins outside of the main application process so only the plugin engine should crash. Anyways, if it's fixed I'm fine with it Smile