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

Apply​Syntax

by facelessuser ST3

Syntax detector for Sublime Text http://facelessuser.github.io/ApplySyntax/

Details

Installs

  • Total 72K
  • Win 30K
  • OS X 27K
  • Linux 14K
Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7
Windows 2 0 6 8 9 10 6 2 5 11 16 8 6 3 3 5 6 10 7 10 10 4 3 9 12 13 6 7 7 2 6 14 10 9 6 7 9 10 10 5 11 7 3 8 4 5
OS X 3 1 4 10 7 8 6 2 3 7 9 11 3 5 2 5 3 8 9 5 2 1 3 10 6 13 5 8 3 3 4 5 4 10 12 8 2 9 7 4 7 10 5 3 5 9
Linux 6 0 1 4 1 3 1 3 4 6 5 6 2 6 2 6 3 4 6 3 5 4 3 4 3 4 2 6 1 2 2 7 3 3 1 1 3 4 4 6 7 4 0 3 3 8

Readme

Source
raw.​githubusercontent.​com

Unix Build Status Package Control Downloads

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/