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

Beautifying Sublime with colors and themes


Sublime Text can be a beauty! We can change Sublime's visual experience by changing its base settings, color schemes, and themes.

Visual settings

Let's start by tweaking Sublime's settings to change visual elements; for example, we can highlight the current line, change the caret style, show fold buttons, boldface folder names, and highlight modified tabs. We are going to do this by opening our user preferences and adding some visual settings to it. The following numbered bullets refer to the labels on the next screenshot:

  1. "highlight_line": true, "caret_style": "phase"

  2. "fade_fold_buttons": false

  3. "bold_folder_labels": true

  4. "highlight_modified_tabs": true

The following screenshot shows the output of the visual settings:

This is cool but not enough for us; we want Sublime to be more awesome!

Sublime themes

Themes are JSON-formatted files with a .sublime-theme extension. Sublime themes modify Sublime's look and feel by changing icons and IDE colors.

Let...