Book Image

Mastering Sublime Text

By : Dan Peleg
Book Image

Mastering Sublime Text

By: Dan Peleg

Overview of this book

Sublime is the leading platform for developing websites, applications, and software. Sublime Text is a sophisticated, cross-platform text and source code editor. It supports a number of different programming languages and is extremely efficient and feature rich. With Sublime Text, programmers can develop their web applications faster and with more efficiency. This book will put you at the frontier of modern software development. It will teach you how to leverage Sublime for anything from mobile games to missile protection. Above all, this book will help you harness the power of other Sublime users and always stay on top. This book will show you how to get started, from basic installation through lightning fast code navigation and up to the development of your own plugins. It takes you from the early stages of navigating through the platform and moves on by teaching you how to fully customize your platform, test, debug, and eventually create and share your own plugins to help and lead this community forward. The book will then teach you how to efficiently edit text, primarily by using the keyboard. You will learn how to interact with the Sublime Text community using the mailing lists and IRC.
Table of Contents (15 chapters)
Mastering Sublime Text
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

Mastering Sublime Text will put you at the frontier of modern software development. It will teach you how to leverage Sublime for anything from mobile games to missile protection. Above all, this book will help you harness the power of other Sublime users and always stay on top in this ever-changing world. The book takes you from the early stages of navigating through the platform and moves on by teaching you how to fully customize your installation, test, debug, and eventually create and share your own plugins to help take this community forward.

What this book covers

Chapter 1, Installing Sublime Text, helps you get started on different platforms and with basic settings.

Chapter 2, Code Editing, covers navigation techniques, shortcuts, and must-have plugins.

Chapter 3, Snippets, Macros, and Key Bindings, covers snippets usage, macros, and key binding management.

Chapter 4, Customization and Theme Development, explains how to customize your workspace, from colors to split screens.

Chapter 5, Unravelling Vintage Mode, explains what Vintage Mode is, how to set it up, and how to take advantage of it.

Chapter 6, Testing Using Sublime, explains how to test your code in several different languages.

Chapter 7, Debugging Using Sublime, explains how to use Sublime Text for debugging your code in different languages.

Chapter 8, Developing Your Own Plugin, will guide you through developing your own Sublime Text plugins and publishing them to the community.

What you need for this book

You will require an Internet connection and Git installed on your system; the rest will be specified in each chapter.

Who this book is for

This book is for developers in any type of programming language who want to start using Sublime Text or perfect their existing skills, regardless of whether they are evaluating it for free or using a licensed version. No knowledge of Sublime Text or any other code editor or IDE is required.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "This will reload your .bash_profile with the newly added directory."

A block of code is set as follows:

{
   "font_size": 14,
   "always_show_minimap_viewport": true,
   "ignored_packages":
   [
      "Vintage"
   ]
}

Any command-line input or output is written as follows:

sudo ln -s /opt/sublime_text_3/sublime_text /usr/bin/subl

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "I recommend adding Sublime to the explorer context by ticking Add to explorer context menu."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.