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
  • 4 months ago
  • 23 minutes ago
  • 4 years ago

Installs

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

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/