+12

Language on shebang line not correctly detected

Zoran Simic 12 year бұрын updated by Matt Joiner 11 year бұрын 5
Sublime Text 2 doesn't recognize shebang line such as this one:

#!/usr/bin/env python2.6

Please fix this, this should be recognized as a python file
I made a plugin to work around this as I've been having the same issue - https://github.com/vxnick/sublime-shebangsyntax


Hope you find it useful :-)

Hmm, this line seems to be detected properly in Build 2181.  Maybe the bug is fixed?

It recognises 

#!/usr/bin/env

but not

#! /usr/bin/env