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

Sublime Text 2 プラグイン開発 - ゼロからPackageControlへ登録まで

blue planet
November 07, 2012

Sublime Text 2 プラグイン開発 - ゼロからPackageControlへ登録まで

第0回 Sublime Text 2 勉強会 #st2jp
http://atnd.org/events/33305

blue planet

November 07, 2012
Tweet

More Decks by blue planet

Other Decks in Programming

Transcript

  1. [{ "caption": "Preferences", "mnemonic": "n", "id": "preferences", "children":[{ "caption": "Package

    Settings", "mnemonic": "P", "id": "package-settings", "children":[{
  2. "caption": "Octopress", "children": [{ "command": "open_file", "args": { "file": "${packages}/Octopress/

    octopress.sublime-settings" }, "caption": "Settings ⓠDefault" }, { "command": "open_file", ...
  3. rake rake aborted! no such file to load -- bundler/setup

    ... subprocess.Popen(“rake ...”, ... shell=True)
  4. 2.OSを限定したい { "schema_version": "1.2", "packages": [ { "name": "Octopress", "description":

    "Execute comma...", "author": "blueplanet", "homepage": "https://github.com/bl...", "last_modified": "2012-11-03 16:31:00",
  5. 2.OSを限定したい "platforms": { "osx": [ { "version": "1.1.0", "url": "https://nodeload.github.com/

    blueplanet/sublime-text-2-octopress/zipball/master" } ], "linux": [ ...
  6. packages.json "platforms": { "osx": [ { "version": "1.1.0", "url": "https://nodeload.github.com/blueplanet/

    sublime-text-2-octopress/zipball/master" } ], "linux": [ ... { "schema_version": "1.2", "packages": [ { "name": "Octopress", "description": "Execute comma...", "author": "blueplanet", "homepage": "https://github.com/bl...", "last_modified": "2012-11-03 16:31:00",
  7. 参考 How to Create a Sublime Text 2 Plugin (ӳޠ)

    Submitting_a_Package (ӳޠ) sublime-text-2-ruby-tests (github)