Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Sublime Text

You're reading from   Mastering Sublime Text When it comes to cross-platform text and source code editing, Sublime Text has few rivals. This book will teach you all its great features and help you develop and publish plugins. A brilliantly inclusive guide.

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781849698429
Length 110 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Dan Peleg Dan Peleg
Author Profile Icon Dan Peleg
Dan Peleg
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Mastering Sublime Text
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Installing Sublime Text FREE CHAPTER 2. Code Editing 3. Snippets, Macros, and Key Bindings 4. Customization and Theme Development 5. Unravelling Vintage Mode 6. Testing Using Sublime 7. Debugging Using Sublime 8. Developing Your Own Plugin Index

Linting with SublimeLinter


Linting is a term for flagging suspicious and non-portable constructs, likely to be bugs in any written language. SublimeLinter is a plugin that supports linting and has the following linters built in:

  • C/C++: This lints via cppcheck

  • CoffeeScript: This lints via coffee –s –l

  • CSS: This lints via built-in csslint

  • Haml: This checks syntax via haml –c

  • HTML: This lints via tidy

  • Java: This lints via javac –Xlint

  • JavaScript: This lints via built in jshint, jslint, or gjslint (if installed)

  • Lua: This checks syntax via luac

  • Objective-J: This lints via built in capp_lint

  • Perl: This lints via Perl::Critic or syntax and deprecation check via perl-c

  • PHP: This checks syntax via php –l

  • Puppet: This checks syntax via puppet parser validate

  • Python: This is a native, moderately-complete lint

  • Ruby: This checks syntax via ruby –wc

  • XML: This lints via xmllint

Installing SublimeLinter

We can install this plugin by using the Package Control that we installed earlier. Let's...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image