Comments (34)
I have the same problem too
from laravel-blade.
As a temporary solution I just reverted to this commit 5dc0dfd and cherry picked 922e7da 131d511 and 9d5b7b0 which introduced support for triple curly braces and the new L4 functions, it seems to be working fine
from laravel-blade.
removed and installed again, also tried manual install, but still not working http://d.pr/i/PAP8
from laravel-blade.
Yeah there is an issue with one of the commits. My laptop went out so I can not debug them atm, as others have said you can roll back and use that temporarily.
from laravel-blade.
ok, rollback to where? i tried few things but none of them worked
from laravel-blade.
See my comment that's what I'm using now and it's working fine so far
from laravel-blade.
ok sorry, i thought at that commit all ready was something cherry picked :D
here is temp solution for others https://gist.github.com/dcrystalj/5216027
note to much stuff is Green highlighted but better than nothing =)
medialink please comment when this will be fixed.
regards
from laravel-blade.
If you are still having this problem please post the code that is causing it.
from laravel-blade.
with your latest code. It's still not working,
and I think it should be highlight even in html attribute quote e.g. <img src="{{ }}">
from laravel-blade.
I just tried this:
{{ Html::style('css/resellers.page.css') }}
And it worked for me. Try this on a single line and make sure the syntax is set to PHP - Laravel Blade.
from laravel-blade.
yes, it set to PHP - Laravel Blade. any suggestion?
from laravel-blade.
Did you try it on a single line and did it work or not?
If it does not I need you to send me more info so I can test.
- Your OS
- Sublime Text version
- Theme name/link
Since it works on mine and not your's it's probably something with your version or theme.
from laravel-blade.
already try on a single line and it not working
- Windows 8 64 bit
- Sublime Text version 2.0.1, Build 2217
- Theme (Color Scheme): Monokia
from laravel-blade.
Can you try removing the laravel-blade package and installing it. Create a new file and try that single line and see what happens.
from laravel-blade.
ok, I try to
- removing the laravel-blade package
- re-install it
- Create a new file
- set it to
PHP - Laravel Blade
- paste this code
{{ Html::style('css/resellers.page.css') }}
unfortunately it still not working :(
from laravel-blade.
Can you remove the laravel-blade package and manually install this version:
See if that works for you.
from laravel-blade.
ok, I'm try install it manually and test with single line in new file, the result still the same
and another bug is css not highlight
from laravel-blade.
Thanks for testing, I will look into this further with a setup like yours (on windows). For now you can use the older version that works:
Do a manual install. You should be able to install the laravel-blade package and have the Blade.tmLanguage file installed at the same time as they are different packages. Be sure to select the syntax as Blade if you have them both installed.
from laravel-blade.
@Medalink wondering, your file is not working (sublime can't find it after I manual install)
but @dcrystalj gist working almost perfect like this
I don't know why?
from laravel-blade.
I have no idea either, something after the re-write I did is causing it to not work on your specific setup/sublime text version. I have not been able to reproduce it on my local machine which is making it near impossible for me to track down the cause.
from laravel-blade.
i updated your script and it said it is for sublime 3 ?
Maybe that's the problem?
from laravel-blade.
I only added instructions for manual install for ST3. The file works for ST2 and ST3.
from laravel-blade.
was this really solved?
from laravel-blade.
I have exhaustively tested this on my three setups and it works for me. I have asked around and others report that it works for them as well.
If it's not working for you then I need as much information about your setup and the file/code your are trying and any other information you can give me to try and debug it. It could be conflicts with other plugins or something odd like that, without you guys feeding me a lot of details I no longer can try and fix this.
from laravel-blade.
doesn't work for me too. ST3, manual install. No highlight btween {{ }}
from laravel-blade.
for me neither, windows 8, ST2
from laravel-blade.
Can you provide me with everything you have done past installing ST? Any plugins, color scheme's, any settings changed? What version of the blade highlighter works and which does not? Does your PHP or HTML highlighter work just fine? There is also a test blade file in the repo, can you provide a screenshot of what it looks like in your editor?
from laravel-blade.
I tried to remove installed packeges one by one in my ST3... laravel-blade works after removing "HTML5 bundle for ST2" package. By the way.... ST3 should have own repository with only ST3 tested and compatibile packages.
Before: https://docs.google.com/file/d/0Bxc5r6H_-OovRFdZbDBhZjRac0k/edit?usp=sharing
Now: https://docs.google.com/file/d/0Bxc5r6H_-OovMi1vRDhfMVJKTU0/edit?usp=sharing
from laravel-blade.
@qcol I will look into what causes the conflict with the HTML5 package. As for the ST2/3 versioning this package is only a simple syntax definition and works out of the box on either version so there is no need to make a specific version as this point. Is the readme confusing you to make you think this is only a ST2 or a ST3 package?
from laravel-blade.
Subtitle of this package is "HTML5 bundle for Sublime Text 2"
https://github.com/mrmartineau/HTML5
No info here https://github.com/wbond/sublime_package_control/wiki/Sublime-Text-3-Compatible-Packages
from laravel-blade.
I added ST2/3 info to the readme and also updated their wiki with ST3 compatibility.
from laravel-blade.
omg this is awesome! it works!
from laravel-blade.
i can see it's been over a year but i have the same problem, i rounad out that, there is a conflict between packages between laravel blade highlighter and HTML5, so when you disable HTML5 package you can use blade highlighter properly.
from laravel-blade.
i am using sublime 2 by the way but i also tried it in sublime 3 and also the same thing happened as well.
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.