Writing Sublime Plugins by Josh Earl [Leanpub PDF/iPad/Kindle]
Writing Sublime Plugins
Writing Sublime Plugins

Retired

This book is no longer available for sale.

Writing Sublime Plugins

This book is 90% complete

Last updated on 2014-03-12

About the Book

"Wait, Sublime doesn't already do this?!?"

When you discovered Sublime Text, it was like coming home. Multi-select is bliss. Easy to customize. Plugins galore.

You’ve gone all in—even ponied up for a paid license.

And now, months later, you still feel that way. But…

There’s this ONE THING you can’t live without … And Sublime doesn't have it.

Why, why, why? Isn’t this just a basic feature? Every editor should do this...

Sublime doesn’t, though. You’ve even scoured the interwebs, looking for a plugin that does what you want, but come up dry.

It wouldn’t be so bad, really, if it wasn’t something you needed every day. Often multiple times.

So you grit your teeth, switch to your old editor. Actually you don’t even close it anymore.

Such a hacky workaround. It knocks you out of the zone, breaks your concentration, ruins your mood.

But rather than resigning yourself to a two-editor life ...

What if you could take charge and add that missing feature yourself?

If you knew how to tap into Sublime’s rich API and extension mechanisms, you’d look at problems differently.

  • Instead of wasting time on the same task, day after day, you could write a plugin to automate it away.
  • Instead of trying to cobble features together and almost getting what you want, you could create a plugin that gets the job done right.
  • Instead of getting annoyed by repetitive manual tasks, you’d see them as opportunities to create plugins—which you could share with the community so hundreds of thousands around the world could reap the same benefits.

You'd know how to unlock the full power of Sublime Text, and you'd enjoy your experience with Sublime even more deeply.

Writing Sublime Plugins will show you how easy it is to create your own Sublime plugins—even if you’ve never written Python before.

The book will walk you step by step through creating a real Sublime plugin, explaining key concepts and pointing out common pitfalls along the way.

Some highlights include:

  • More than 140 pages packed with code and real examples.
  • 30 code snapshots that help you can see how the examples work and test them in your own copy of Sublime.
  • What Sublime plugins can do—and what they can’t.
  • How many of the features you think of as baked into Sublime really aren’t, and how this can help you.
  • Why anyone with basic programming experience can write a plugin—no Python experience required.
  • 9 debugging tricks that will save you hours of frustration.
  • The professional touches that make your plugin stand out from the crowd.
  • A way to hack the Sublime API to see exactly what is causing an error.
  • The Rosetta Stone for the Sublime API.
  • Where to go for more information.
  • The different types of Sublime plugins, and what each is good for.

Who is this book for?

If you've been kicking around an idea for a Sublime Text plugin, but you're not sure how to get started, this book is for you.

On the other hand, if you're already an experienced plugin developer looking for a deep dive on the Sublime APIs, you might not find much new information here.

The book is aimed at programmers with experience in a language like Ruby, JavaScript, PHP or C#. If you're a programmer with some solid experience with programming applications, you shouldn't have any trouble following along. But if your programming experience is limited to basic JavaScript or jQuery, you might have a tough time keeping up.

Sublime plugins are written in Python, and familiarity this language helps but is no means required.

No risk — UNLIMITED money-back guarantee

Nearly 1,200 developers have purchased my first book, Sublime Productivity, and I can count the number of refunds on my fingers.

But I want to make absolutely sure you're satisfied.

That's why I'm personally offering an unlimited money-back guarantee.

If you're not satisfied with Writing Sublime Plugins at any point, just email me (my address is in the book) and tell me why and I'll personally send you a refund through PayPal.

About the Author

Josh Earl
Josh Earl

Josh Earl is a software developer, writer and total text editor geek. He loves learning the ins and outs of whatever tool or platform he finds himself working on and tweaking his daily workflow to eliminate mundane and repetitive tasks. He blogs about Sublime Text at sublimetexttips.com.

Other books by this author

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub