Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sublime Text の プラグイン開発の方法

Sublime Text の プラグイン開発の方法

in 大阪 Python ユーザの集まり 2014/10

astronaughts

October 21, 2014
Tweet

More Decks by astronaughts

Other Decks in Programming

Transcript

  1. ύοέʔδΛ࡞ͬͯΈΔ Sublime Text Menu > Tools > New Plugin… import

    sublime, sublime_plugin ! class ExampleCommand(sublime_plugin.TextCommand): def run(self, edit): self.view.insert(edit, 0, "Hello, World!") αϯϓϧιʔεΛݺͼग़ͤΔ
  2. ύοέʔδΛอଘ Sublime Text Menu > Preferences > Browse Packages… ./Packages/User

    ϑΥϧμʹϑΝΠϧΛอଘ อଘͨ͠λΠϛϯάͰΠϯετʔϧ׬ྃ