Home Download Buy Blog Forum Support

Can't set syntax to PHP

Can't set syntax to PHP

Postby yuucOm on Thu Oct 04, 2012 9:40 am

Hey guys.

I cant set syntax to PHP. When I'm trying to do it, instead of PHP my syntax is set to HTML.. Is this normal ? You have the same thing ?
yuucOm
 
Posts: 7
Joined: Sat Sep 29, 2012 12:34 pm

Re: Can't set syntax to PHP

Postby agibsonsw on Thu Oct 04, 2012 12:31 pm

yuucOm wrote:I cant set syntax to PHP. When I'm trying to do it, instead of PHP my syntax is set to HTML.. Is this normal ? You have the same thing ?


You are not alone, this happens for me too. It hasn't caused me any issue though so I haven't investigated if it can be corrected.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 895
Joined: Fri Jan 27, 2012 9:11 pm

Re: Can't set syntax to PHP

Postby evenous on Thu Oct 04, 2012 5:20 pm

I had similar problem, I installed DetectSyntax package and now all syntaxes are detected automatically 8-)
evenous
 
Posts: 2
Joined: Wed Oct 03, 2012 9:36 am

Re: Can't set syntax to PHP

Postby yuucOm on Sat Oct 06, 2012 10:24 am

Ok i installed DetectSyntax and now i got PHP syntax but when i select HTML syntax i got PHP syntax now so now is the opposite... You got the same situation @evenous ?
This is weird because in work i can select PHP syntax from menu and it works correctly in work but in home its not. There are lots of bugs on windows systems... Not all shortcuts works, on some machines works on some not. This should be corrected in sublime text 2.
yuucOm
 
Posts: 7
Joined: Sat Sep 29, 2012 12:34 pm

Re: Can't set syntax to PHP

Postby phillip.koebbe on Sat Oct 06, 2012 12:20 pm

@yuucOm

Create an issue on GitHub [1] and either paste or gist the file you are having problems with and I'll investigate. Also note in the issue if you added any of your own rules for DetectSyntax or if you were using all the defaults. And if you did add your own, be sure to include those as well.

[1] https://github.com/phillipkoebbe/DetectSyntax/issues
-- Phillip

Code: Select all
while self.living? do
    mistake = Mistake.new
    self.learn_from!(mistake) unless mistake.fatal?
end
phillip.koebbe
 
Posts: 208
Joined: Tue Dec 20, 2011 4:58 pm

Re: Can't set syntax to PHP

Postby koperkuba on Thu Apr 25, 2013 10:46 pm

yuucOm wrote:I cant set syntax to PHP. When I'm trying to do it, instead of PHP my syntax is set to HTML.. Is this normal ? You have the same thing ?

I have the same problem... Any help?
koperkuba
 
Posts: 1
Joined: Thu Apr 25, 2013 10:24 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 8 guests