Git Product home page Git Product logo

Comments (6)

haidubogdan avatar haidubogdan commented on May 29, 2024 3

I know about it ... it seems to be a bit tricky and the fix might take a while.

from netbeans-php-blade-plugin.

haidubogdan avatar haidubogdan commented on May 29, 2024

Hi I've pushed a patch on the release https://github.com/haidubogdan/netbeans-php-blade-plugin/releases/tag/nb-14102022
The php lexer embedding seems to crash on operations when a embedded text contains "label:text".
The "patchy" solution is to detect in the embeded php text this kind of syntax and see it as plain HTML

from netbeans-php-blade-plugin.

parallels999 avatar parallels999 commented on May 29, 2024

Thanks, it don`t freezes anymore

from netbeans-php-blade-plugin.

parallels999 avatar parallels999 commented on May 29, 2024

@haidubogdan hi, it freezes again on current version, is a regression??

Try to write letter by letter on blade file

@test([ Test1::class, Test2::class, Test3::class ])

from netbeans-php-blade-plugin.

haidubogdan avatar haidubogdan commented on May 29, 2024

I think the issue was more or less present in the new version.
Currently the lexer has a workaround to avoid sending the embedding text to php if it contains syntax like (: identifier:identifier which seem to trigger the Php Emebedding freeze.

By splitting the text to be sent for embedding the corner case with (: should be avoided. But it could have the side effect of strange php highlight coloring. So it needs to be monitored.

from netbeans-php-blade-plugin.

parallels999 avatar parallels999 commented on May 29, 2024

Thanks, seems to be working again

from netbeans-php-blade-plugin.

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.