Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blade isn't automatically identified #1

Closed
ShawnMcCool opened this issue Apr 4, 2012 · 7 comments
Closed

Blade isn't automatically identified #1

ShawnMcCool opened this issue Apr 4, 2012 · 7 comments
Assignees

Comments

@ShawnMcCool
Copy link

Can you include instructions on how to make blade.php files automatically identified in Sublime Text 2?

@Medalink
Copy link
Owner

Medalink commented Apr 4, 2012

The syntax looks for *.blade.php files and if it matches it auto selects Blade. Check to make sure Blade is in your Syntax definitions and that it works.

What version of Sublime are you using?

@ghost ghost assigned Medalink Apr 4, 2012
@Medalink
Copy link
Owner

Medalink commented Apr 5, 2012

Did a major update, if the problem still persists please open another issues.

Closing.

@Medalink Medalink closed this as completed Apr 5, 2012
@tommymarshall
Copy link

Looks like it defaults back to PHP mode when the file is saved. But perhaps this is due to PHP's identifier and not Blades.

@thomasflad
Copy link

Same issue here. Is there a solution for this?

@tommymarshall
Copy link

Figured out what was going on. You have to turn off 'Detect Syntax' package, and that fixed the problem.

@bstrahija
Copy link

U can use the DetectSyntax package if you add this to the package settings:

"syntaxes": [
    {
        "name": "Blade",
        "rules": [
            {"file_name": ".*\\.blade.php$"}
        ]
    }
]

@laurencei
Copy link

I still had this issue (with only the "Blade" package added - no other packages).

To fix I opened one of my 'blade.php' files - and then went to View -> Syntax -> Open all with current extension as... -> Blade

And now its fixed

Medalink pushed a commit that referenced this issue Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants