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

Apply​Syntax

by facelessuser ST2/ST3

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

Details

  • 3 2.4.1
    2 1.2.0
  • github.​com
  • github.​com
  • 2 months ago
  • 43 minutes ago
  • 4 years ago

Installs

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

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/