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

Apply​Syntax

by facelessuser ST3

Syntax detector for Sublime Text

Details

Installs

  • Total 86K
  • Win 36K
  • Mac 32K
  • Linux 18K
Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 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
Windows 2 4 4 2 3 1 3 1 4 8 1 5 4 2 1 3 1 2 1 3 2 3 2 1 2 4 2 0 1 1 5 4 3 4 2 2 0 2 4 0 3 2 1 4 1 4
Mac 0 2 2 0 4 1 2 3 3 1 0 1 0 3 2 1 2 3 2 4 2 3 5 2 1 2 4 5 4 2 0 3 1 1 2 1 1 1 1 0 0 0 0 0 2 1
Linux 0 2 0 1 3 1 3 4 1 1 0 2 2 1 0 0 1 1 3 0 1 1 3 3 4 0 1 0 0 0 0 0 0 0 1 0 0 4 2 2 0 0 1 2 1 1

Readme

Source
raw.​githubusercontent.​com

Donate via PayPal Discord Build Package Control Downloads License

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

https://facelessuser.github.io/ApplySyntax/

License

ApplySyntax is released under the MIT license.