Sometimes Sublime Text 2 will recognize my code with its color scheme and other times it won't. I do a lot of pasting code into the code editor and editing it, but I rarely write code in it, mostly editing my older code. Its really helpful having the color scheme!
If you are just opening new files and pasting text in, the default syntax is "Plain Text", thus no highlighting. You can set the syntax in the buffer by opening the command palette and searching for "Set Syntax: ". If that isn't what is happening, please try to give more information.
That's exactly what happened, thanks for the help! I did "Set Syntax: HTML" I'm a noob so I'm not sure if this is correct, but it looks like what I wanted.
You can also click the option at the bottom-right corner (where it, by default, says 'Plain Text') to change the syntax. There is a plug-in, I believe, that will recognise syntax; it might be called something like 'Auto-Detect Syntax'.
Dear Please check this At Right corner of sublime and change it to php or whatever language you have been use. it will show color accordingly Thanks....