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
  • 4 months ago
  • 2 hours ago
  • 5 years ago

Installs

  • Total 61K
  • Win 25K
  • OS X 24K
  • Linux 12K
Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5
Windows 17 13 19 19 20 11 13 13 15 14 17 15 10 8 19 21 13 17 11 13 15 14 21 21 20 14 14 20 18 21 19 26 22 15 14 22 46 30 15 16 9 16 18 15 17 3
OS X 12 22 18 12 98 8 7 14 14 10 11 41 7 11 13 24 13 22 51 10 9 10 19 19 13 58 6 9 19 19 17 12 36 10 17 30 35 29 25 11 4 3 16 12 13 13
Linux 6 11 12 7 38 12 9 7 5 6 11 16 2 5 9 12 13 9 51 8 10 9 11 14 19 23 3 14 7 8 7 13 7 6 4 21 27 12 10 8 9 11 13 7 13 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/