ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Apply​Syntax

by facelessuser ST2/ST3

Syntax detector for Sublime Text

Details

  • 3 2.3.1
    2 1.2.0
  • github.​com
  • github.​com
  • 3 months ago
  • 1 hour ago
  • 4 years ago

Installs

  • Total 51K
  • Win 21K
  • OS X 21K
  • Linux 10K
Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8
Windows 10 11 19 17 17 12 21 19 15 33 20 22 25 19 10 11 19 17 16 12 17 7 10 17 26 16 15 20 11 13 12 22 7 23 25 7 13 22 21 15 15 18 16 12 20 9
OS X 8 16 16 17 20 19 28 2 2 13 16 20 23 91 12 7 16 11 16 16 40 5 10 11 16 8 12 14 5 5 12 10 15 16 10 8 7 11 14 14 10 9 13 8 16 16
Linux 4 4 11 8 14 15 13 11 7 10 11 8 18 44 6 6 10 9 12 7 7 7 7 1 7 7 9 11 5 5 8 8 10 6 8 4 4 10 13 9 9 8 6 10 13 11

Readme

Source
raw.​githubusercontent.​com

ApplySyntax

ApplySyntax is a plugin for Sublime Text 2 and 3 that allows you to detect and apply the syntax of files that might not otherwise be detected properly. For example, files with the .rb extension are usually Ruby files, but when they are found in a Rails project, they could be RSpec spec files, Cucumber step files, Ruby on Rails files (controllers, models, etc), or just plain Ruby files. This is actually the problem I was trying to solve when I started working on this plugin.

Credits

DetectSyntax was originally created by phillipkoebbe. In his words, these are his credits:

It all started by forking the plugin created by JeanMertz (1). I modified it quite extensively until I ended up with something entirely my own (2). @maxim and @omarramos commented on the gist and suggested it should be part of Package Control. As I had created it solely for my own consumption, it seemed a bit “hard-coded” to be valuable as a package, but then I took a look at SetSyntax (3). and saw how using settings would make it very flexible. That set me on the path that led to DetectSyntax.

Documentation

http://facelessuser.github.io/ApplySyntax/