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
  • 5 months ago
  • Just now
  • 4 years ago

Installs

  • Total 54K
  • Win 22K
  • OS X 21K
  • Linux 10K
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 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13
Windows 0 20 26 17 11 21 21 14 21 20 15 3 16 26 17 22 26 33 13 21 23 35 45 19 16 14 8 14 24 27 29 20 15 22 15 26 16 28 21 13 16 24 29 24 21 33
OS X 0 17 19 19 5 7 10 25 18 12 14 5 7 26 11 21 17 27 8 9 12 14 12 20 25 8 11 12 24 18 22 35 14 13 10 19 12 14 11 13 7 19 21 14 8 38
Linux 1 12 23 10 8 4 6 10 12 20 14 7 7 13 7 12 10 15 16 13 19 11 14 11 14 7 8 15 10 12 11 20 9 10 10 12 14 7 9 6 6 16 12 11 16 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/