Release KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting
#10
I have the following packages installed:
PHP Code:
    "installed_packages":
    [
        
"GitGutter",
        
"Hooks",
        
"Indent XML",
        
"Package Control"
    


In combination with this keymap:
PHP Code:
[
  
// Move cursor to end of tag with Enter (xml only)
  
"keys": ["enter"], "command""move""args": {"by""characters""forward"true}, "context":
    [
        { 
"key""following_text""operator""regex_contains""operand""^[>)'\"\\]]""match_all"true },
        { 
"key""auto_complete_visible""operator""equal""operand"false },
        { 
"key""selector""operator""equal""operand""text.xml" }
    ]   
  },
  
// Replace = with ="" and move cursor (xml only)
  
"keys": ["="], "command""insert_snippet""args": {"contents""=\"$0\""}, "context":
    [
      { 
"key""selector""operator""equal""operand""text.xml" }
    ]   
  },
  
// Create tag when < is typed (xml only)
  
"keys": ["<"], "command""insert_snippet""args": { "name""Packages/XML/long-tag.sublime-snippet" }, "context":
    [
      { 
"key""selector""operator""equal""operand""text.xml" }
    ]   
  },
  
// Reindent
"keys": ["ctrl+alt+r"], "command""reindent" },

Reply


Messages In This Thread
RE: SublimeText3 plugin to translate kodi labels - by BigNoid - 2015-03-19, 09:31
Logout Mark Read Team Forum Stats Members Help
KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting1