Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Sublime Text の プラグイン開発の方法
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
astronaughts
October 21, 2014
Programming
0
530
Sublime Text の プラグイン開発の方法
in 大阪 Python ユーザの集まり 2014/10
astronaughts
October 21, 2014
Tweet
Share
More Decks by astronaughts
See All by astronaughts
Package と Theme の作り方と PackageControl 登録までの道のり
astronaughts
0
370
Sublime Text を 俺色に染める方法
astronaughts
2
930
GRUNT のあんなこといいなできたらいいな
astronaughts
14
2.3k
Re:Development of ChatWork Apps
astronaughts
1
2.1k
Rapid Prototyping by TiShadow
astronaughts
4
2.9k
Sublime Text 2 for PHP Development
astronaughts
0
250
Titanium ならここまでできる !! Serverside non-programing で作る お手軽 Social Application
astronaughts
1
400
Fathm Like ScrollableView Implementaion for TItanium mobile
astronaughts
3
3.8k
Other Decks in Programming
See All in Programming
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
Oxlint JS plugins
kazupon
1
980
AtCoder Conference 2025
shindannin
0
1.1k
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.6k
CSC307 Lecture 08
javiergs
PRO
0
670
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
CSC307 Lecture 06
javiergs
PRO
0
690
Grafana:建立系統全知視角的捷徑
blueswen
0
330
Raku Raku Notion 20260128
hareyakayuruyaka
0
350
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
440
MUSUBIXとは
nahisaho
0
140
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
250
Deep Space Network (abreviated)
tonyrice
0
64
Paper Plane (Part 1)
katiecoart
PRO
0
4.3k
Become a Pro
speakerdeck
PRO
31
5.8k
Into the Great Unknown - MozCon
thekraken
40
2.3k
Discover your Explorer Soul
emna__ayadi
2
1.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
[SF Ruby Conf 2025] Rails X
palkan
1
760
Exploring anti-patterns in Rails
aemeredith
2
250
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
350
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
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ʜ
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ