Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Sublime Text の プラグイン開発の方法
Search
astronaughts
October 21, 2014
Programming
550
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Sublime Text の プラグイン開発の方法
in 大阪 Python ユーザの集まり 2014/10
astronaughts
October 21, 2014
More Decks by astronaughts
See All by astronaughts
Package と Theme の作り方と PackageControl 登録までの道のり
astronaughts
0
390
Sublime Text を 俺色に染める方法
astronaughts
2
960
GRUNT のあんなこといいなできたらいいな
astronaughts
14
2.3k
Re:Development of ChatWork Apps
astronaughts
1
2.2k
Rapid Prototyping by TiShadow
astronaughts
4
2.9k
Sublime Text 2 for PHP Development
astronaughts
0
260
Titanium ならここまでできる !! Serverside non-programing で作る お手軽 Social Application
astronaughts
1
420
Fathm Like ScrollableView Implementaion for TItanium mobile
astronaughts
3
3.9k
Other Decks in Programming
See All in Programming
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
170
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
110
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
960
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
200
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
150
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
350
Heart of Swift Concurrency
koher
0
1k
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
170
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
8.7k
JRuby: Past, Present, and Future
headius
0
210
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
120
Workers Cache を知る
syumai
0
290
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
GraphQLとの向き合い方2022年版
quramy
50
15k
Mobile First: as difficult as doing things right
swwweet
225
10k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Product Roadmaps are Hard
iamctodd
55
13k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
From π to Pie charts
rasagy
1
380
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
850
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Transcript
Sublime Text ͷ ϓϥάΠϯ։ൃͷํ๏ ͏͑ͷ·͞ͻΖ
ࣗݾհ ͏͑ͷ·͞ͻΖ $IBU8PSLגࣜձࣾϞόΠϧνʔϜϦʔμʔ J04"OESPJE։ൃ !BTUSPOBVHIUT !" +BWB4DSJQU 5JUBOJVN /PEF 1ZUIPO
0CKFDUJWF$ +BWB
Sublime Text Ͱ։ൃ +BWB4DSJQU 5JUBOJVN /PEF 1ZUIPO
Sublime Text ͷڭՊॻ ͜ΜͳຊΛॻ͖·ͨ͠ ిࢠ൛͋Γ·͢
Sublime Text ͷಛ ىಈ͕ૣ͍ɺ͍ܰ 6*͕γϯϓϧɺͰػೳڧྗ େͳศརϓϥάΠϯΛඞཁͳͷ͚ͩνϣΠε ༗ྉ͚ͩͲɺແ੍ݶͰࢼ༻Մೳ ͳΜ͔ͬͯͯΠέͯΔؾ͕͢Δ ͍͡ΊͲ͕͍͍͜ͷ͔ύοͱݟΘ͔Βͳ͍ ϚϧνϓϥοτϑΥʔϜʢ8JO
.BD -JOVYʣ
Sublime Text ͷۙگ ࿀ʹམͪΔਓ͕ܹ૿ͯ̍͠ ͲΜͲΜपΓͷਓͰͬͯΔਓ͕૿͑ͯΔ Ϣʔβʔ. .8JOEPXT ,049 ,-JOVY ग़యɿIUUQTTVCMJNFXCPOEOFUTUBUT
Sublime Text ͷϓϥάΠϯ 45ͰʮύοέʔδʯͱݺͿ ύοέʔδ1ZUIPOͰॻ͘͜ͱ͕Ͱ͖Δ TIJGU DPOUSPM A ͰίϯιʔϧΛදࣔͤͯ͞1ZUIPO࣮ߦ
ύοέʔδΛ࡞ͬͯΈΔ 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!") αϯϓϧιʔεΛݺͼग़ͤΔ
ύοέʔδΛอଘ Sublime Text Menu > Preferences > Browse Packages… ./Packages/User
ϑΥϧμʹϑΝΠϧΛอଘ อଘͨ͠λΠϛϯάͰΠϯετʔϧྃ
ύοέʔδΛ࣮ߦ ύοέʔδͷॲཧΫϥεʹఆٛ class ExampleCommand view.run_command(“example”) view.run_command メソッドの引数に小文字で ίϯιʔϧ্Ͱ4VCMJNF5FYUͷ"1*Ͱ͋Δɺ Ϋϥε໊ͷ$PNNBOEΑΓલͷ໊લͰݺͼग़͢
Ҏ֎ʹؾܰʹαΫοͱॻ͚Δ Sublime Text ͷϓϥάΠϯ 1ZUIPOͰͰ͖Δ͜ͱ͍͍ͨͯͰ͖Δ "1*%PDVNFOU͕ෆ͗͢Δ ΄͔ͷύοέʔδͷιʔεಡΊ ࡞Δલʹಉ͡Α͏ͳͷ͕ͳ͍͔֬ೝ ࡞Γ͍ͨͷʹࣅͨύοέʔδΛύΫʢ͈́
Package Control https://sublime.wbond.net/
4VCMJNF$PNCJOF.FEJB2VFSJFT ࡞ͬͨύοέʔδ 4VCMJNF4UZMF4UBUT 4VCMJNF/'%5P/'$1BTUF 4VCMJNF1)1#VJMUJO8FC4FSWFS 4VCMJNF0QFO'SPN1BUI IUUQTHJUIVCDPNBTUSPOBVHIUT "
1ZUIPO'MBLF-JOU Α͘͏ύοέʔδ #FUUFS$P⒎FF4DSJQU +4)JOU +40/5SFF (JU(VUUFS FUDʜ
ಛʹ4DBMBΤϯδχΞʢαʔόʔαΠυʣ ΤϯδχΞઈࢍେืूத "OESPJEΤϯδχΞʢϞόΠϧʣ $IBU8PSL͕ؾʹͳΔΤϯδχΞͷํ FUDʜ
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ