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

Apply​Syntax

by facelessuser ST2/ST3 Trending

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

Details

  • 3 2.4.1
    2 1.2.0
  • github.​com
  • github.​com
  • 6 days ago
  • 1 hour ago
  • 4 years ago

Installs

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

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/