售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Mastering Sublime Text
Table of Contents
Mastering Sublime Text
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Installing Sublime Text
Preparing for Sublime Text Installation
Installing Sublime Text on OS X
Working with Sublime CLI
Installing Sublime Text on Windows 32/64 bit
Adding Sublime to the environment
Installing Sublime Text on Linux
Installing Sublime Text on Ubuntu 32/64 bit
Setting Sublime Text as the default editor
Installing Sublime Text on other Linux distributions
Adding a desktop file
Getting to know the Data and Packages directories
The Data directory
The Packages directory
The User package
Delving into packages, plugins, snippets, and macros
Running Sublime for the first time
Simple navigation
Sublime's command palette
The Python console
Installing the Package Control ASAP
Summary
2. Code Editing
Discovering Search and Replace
Regular Expressions
Search and Replace – a single file
The incremental search
Search and Replace – multiple files
Mastering Column and Multiple Selection
Column Selection
Navigating through everything
Go To Anything
Symbol search
Projects
Folders
Settings
Build systems
Navigating between projects
Using the must-have SublimeCodeIntel
Installing SublimeCodeIntel
Using SublimeCodeIntel
Configuring SublimeCodeIntel
Linting with SublimeLinter
Installing SublimeLinter
Using SublimeLinter
Configuring SublimeLinter
The must-know shortcuts map
General
Tabs
Bookmarks
Editing
Summary
3. Snippets, Macros, and Key Bindings
Getting to know a snippet
Understanding your first snippet
How do snippets work?
File format and syntax
Knowing about snippets' features
Environment variables
Field markers
Mirrored field markers
Placeholders
Creating our first snippet
Using Package Control snippets
Recording, editing, and using macros
Recording a macro
Playing a macro
Saving and editing
Binding a saved macro
New key bindings
Summary
4. Customization and Theme Development
Overriding and maintaining key bindings
Platform-specific key bindings
Key map file structure
Bindable keys
Advanced key bindings
Keeping our key bindings organized
Understanding Sublime's base settings
The types of settings' files
Customization walkthrough
Adding packages
Tabs and spaces
Beautifying Sublime with colors and themes
Visual settings
Sublime themes
Color schemes
Mastering Split Windows
Summary
5. Unravelling Vintage Mode
Understanding Vintage Mode
Discovering vi
Setting up Vintage Mode
Experiencing Vintage Mode features
Vintage editing modes
Vintage Mode commands
Commands for changing modes
Movement commands
Editing commands
Knowing about Vintageous
Summary
6. Testing Using Sublime
Introduction to testing in Sublime Text
Testing in PHP development
Knowing about PHPUnit
Using PHPUnit plugin for Sublime
Helpful PHPUnit snippets
Testing in Python development
Using unittest for Sublime
Testing in Ruby development
Using RubyTest for Sublime
Supporting bundler
Summary
7. Debugging Using Sublime
Introduction to debugging in Sublime Text
Debugging PHP with Xdebug
Using Xdebug for Sublime
Debugging JavaScript with Web Inspector
Installing Sublime Web Inspector
Using Sublime Web Inspector (SWI)
Debugging C/C++ with GDB
Using SublimeGDB
Summary
8. Developing Your Own Plugin
Warming up before starting a plugin
Starting a plugin
Developing the plugin
Publishing our plugin
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜