Sublime Forum

[BUG] Syntax not loading with extension

#1

When I open a file like “whatever.php” the code loads with the PHP syntax with no problems.

However, when I open a file with nothing before the dot “.php”, it does not load the PHP syntax and I can not find any way around this other than manually loading the syntax each and every time. This is tiring…

Can this bug be fixed? And is there any way around it until it is, it’s one of the only 2 things starting to turn me off Sublime Text.

0 Likes

#2

BUMP!

0 Likes

#3

You could try DetectSyntax. It should work. It’s available via Package Control.

0 Likes

#4

[quote=“phillip.koebbe”]

You could try DetectSyntax. It should work. It’s available via Package Control.[/quote]

Thanks, that was a great idea and work around until they fix it.

0 Likes

#5

It appears:

DetectSyntax has been renamed ApplySyntax for SublimeText3.

0 Likes