Comments (7)
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?
from laravel-blade.
Did a major update, if the problem still persists please open another issues.
Closing.
from laravel-blade.
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.
from laravel-blade.
Same issue here. Is there a solution for this?
from laravel-blade.
Figured out what was going on. You have to turn off 'Detect Syntax' package, and that fixed the problem.
from laravel-blade.
U can use the DetectSyntax package if you add this to the package settings:
"syntaxes": [
{
"name": "Blade",
"rules": [
{"file_name": ".*\\.blade.php$"}
]
}
]
from laravel-blade.
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
from laravel-blade.
Related Issues (20)
- Updating in ST3 Package Control download URL is a 404 HOT 2
- Sometimes it confused php files with blade.php files HOT 1
- Brackets in "if" statement break syntax highlighting HOT 1
- Does not support inline @php HOT 1
- Package does not work when installed alongside 'Naomi' package.
- problem when we have style attribute HOT 1
- Package not working
- Can't update to 1.6.13, zip link broken HOT 1
- Using periods in tags HOT 10
- set highlighting to specific extensions? HOT 1
- Stopped working today HOT 11
- Alpine style syntax is being highlighted as an error HOT 1
- 25000 context sanity limit hit HOT 2
- CSS with media declaration not recognized
- Doesn't highlight alpinejs properly. HOT 4
- blade syntax doesn't work on Sublime 4143 HOT 2
- What is the install command for the plugin HOT 2
- auto complete / hinting not working after installing new laravel blade highlight HOT 1
- Tag expansion prompt showing unexpectedly HOT 8
- Missing newer L10 directives
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-blade.