Sublime Text 2

14
SUBLIME TEXT 2 The greatest software ever invented by a human presentation by Aaron Shaver

description

Introduction to Sublime Text 2

Transcript of Sublime Text 2

Page 1: Sublime Text 2

SUBLIME TEXT 2

The greatest softwareever invented by a human

presentation by Aaron Shaver

Page 2: Sublime Text 2

For people who live in text editors● Distraction Free Mode (UI chrome is hidden,

but accessible)● Paste and Indent● Optional strip white space on file save, insert

new line at EoF ● Permute lines: Reverse, Unique, Shuffle● Duplicate lines, swap lines, join lines● Layout options: columns, rows, grid (layout is

saved between sessions; files remember which pane they were in)

● Guess indentation from buffer (buggy, but it's a cool idea)

● Keyboard friendly: most features have logical keyboard shortcuts already defined; custom shortcuts easy to define

● Support for Windows 32 bit, Windows 64 bit, Windows portable version, OS X, Linux 32 bit, Linux 64 bit

Page 3: Sublime Text 2

Mini map: bird's eye view of the buffer

● Jump through the buffer quickly

● Notice patterns● Useful in large files

Page 4: Sublime Text 2

Remarkable consistency

● Editor uses itself to edit its own settings

● Settings take effect upon saving the file; no restart required

Page 5: Sublime Text 2

Pleasing default color scheme

fantastic tab-completion; type 'class<tab>' to get the class

snippet, for example

Page 6: Sublime Text 2

Elegant plug-in system

self-contained: not required to download or install files via downloading them from a website

Page 7: Sublime Text 2

IDE features via plug-ins

Page 8: Sublime Text 2

CTRL+P: "go to anything"

● Faster than a traditional file open dialog● Shows a preview of the file without opening it

Page 9: Sublime Text 2

Search across even unopened files

● The results display is as consistent as the rest of the UI: they open in a new editor tab.

● Speaking of tabs, they behave as you're used to them in a browser: middle-click closes the tab, tabs can be detached into a new window, etc.

● Extremely fast

Page 10: Sublime Text 2

Expand selection to scope(type CTRL+SHIFT+SPACE)

Page 11: Sublime Text 2

Multiple cursors Treat file buffers like browser tabs

Page 12: Sublime Text 2

White space indicators

Column rulers

Code folding

Page 13: Sublime Text 2

Indent guides

Show Unsaved Changes

Find highlights all instances

Page 14: Sublime Text 2

Caveats● It's not free (USD $59), but the license is per-user, not per-

machine, so you can use it at home, at work, at the bar...● Version 2 is still in beta and is sometimes buggy, but the

bugs tend to be minor and transient