Git Product home page Git Product logo

Comments (34)

iicmaster avatar iicmaster commented on May 23, 2024

I have the same problem too

from laravel-blade.

jahvi avatar jahvi commented on May 23, 2024

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.

dcrystalj avatar dcrystalj commented on May 23, 2024

removed and installed again, also tried manual install, but still not working http://d.pr/i/PAP8

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

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.

dcrystalj avatar dcrystalj commented on May 23, 2024

ok, rollback to where? i tried few things but none of them worked

from laravel-blade.

jahvi avatar jahvi commented on May 23, 2024

See my comment that's what I'm using now and it's working fine so far

from laravel-blade.

dcrystalj avatar dcrystalj commented on May 23, 2024

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.

Medalink avatar Medalink commented on May 23, 2024

If you are still having this problem please post the code that is causing it.

from laravel-blade.

iicmaster avatar iicmaster commented on May 23, 2024

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="{{ }}">

blade

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

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.

iicmaster avatar iicmaster commented on May 23, 2024

yes, it set to PHP - Laravel Blade. any suggestion?

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

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.

iicmaster avatar iicmaster commented on May 23, 2024

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.

Medalink avatar Medalink commented on May 23, 2024

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.

iicmaster avatar iicmaster commented on May 23, 2024

ok, I try to

  1. removing the laravel-blade package
  2. re-install it
  3. Create a new file
  4. set it to PHP - Laravel Blade
  5. paste this code {{ Html::style('css/resellers.page.css') }}

unfortunately it still not working :(

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

Can you remove the laravel-blade package and manually install this version:

https://raw.github.com/Medalink/laravel-blade/dc395163821b1391c57940d7c4197fede154888a/laravel-blade.tmLanguage

See if that works for you.

from laravel-blade.

iicmaster avatar iicmaster commented on May 23, 2024

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

Capture

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

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:

https://raw.github.com/Medalink/laravel-blade/5dc0dfdb5161386f8ed90f1320ad6b57f8854b7d/Blade.tmLanguage

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.

iicmaster avatar iicmaster commented on May 23, 2024

@Medalink wondering, your file is not working (sublime can't find it after I manual install)

but @dcrystalj gist working almost perfect like this

Capture

I don't know why?

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

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.

dcrystalj avatar dcrystalj commented on May 23, 2024

i updated your script and it said it is for sublime 3 ?
Maybe that's the problem?

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

I only added instructions for manual install for ST3. The file works for ST2 and ST3.

from laravel-blade.

dcrystalj avatar dcrystalj commented on May 23, 2024

was this really solved?

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

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.

qcol avatar qcol commented on May 23, 2024

doesn't work for me too. ST3, manual install. No highlight btween {{ }}

from laravel-blade.

dcrystalj avatar dcrystalj commented on May 23, 2024

for me neither, windows 8, ST2

from laravel-blade.

Medalink avatar Medalink commented on May 23, 2024

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.

qcol avatar qcol commented on May 23, 2024

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.

Medalink avatar Medalink commented on May 23, 2024

@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.

qcol avatar qcol commented on May 23, 2024

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.

Medalink avatar Medalink commented on May 23, 2024

I added ST2/3 info to the readme and also updated their wiki with ST3 compatibility.

from laravel-blade.

dcrystalj avatar dcrystalj commented on May 23, 2024

omg this is awesome! it works!

from laravel-blade.

ilkergonenc avatar ilkergonenc commented on May 23, 2024

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.

ilkergonenc avatar ilkergonenc commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.