haidubogdan / netbeans-php-blade-plugin

Netbeans 18+ module plugin for php blade template files
Apache License 2.0
26 stars 4 forks source link

Highlight error when string `:` on arguments #29

Closed parallels999 closed 5 months ago

parallels999 commented 1 year ago

image

    @test('test:test')
    @test('test&test')
    @test('test_test')
parallels999 commented 1 year ago

Now it is worst, it freezes after typing :

haidubogdan commented 1 year ago

I'm sorry for that, can you give me a sample of syntax which trigger a freeze ?

haidubogdan commented 1 year ago

It's strange, I don't have this issue on my computer. I will try to install the release plugin it on a different environment to see if it crashes.

parallels999 commented 1 year ago

try writing letter by letter this:

@test(["test":"test"])

Before the problem was only highlight of @test('test:test'), now it freezes netbeans Netbeans 17

haidubogdan commented 1 year ago

Got it ... I could reproduce the freeze of the IDE on @test(["test": . But it seems to appear on the previous version 1.0.0.47 also.

Yet, I could not reproduce a freeze for @test('test:test') with version 1.0.0.47 and 1.0.0.50 .

If you remember the last stable a previous version, you can try to uninstall the plugin and install from the list of releases : https://github.com/haidubogdan/netbeans-php-blade-plugin/tags.

parallels999 commented 1 year ago

I could not reproduce a freeze for @test('test:test') with version 1.0.0.47 and 1.0.0.50

It never freeze with @test('test:test'), it was only highlight problem

parallels999 commented 5 months ago

In the lastest version a strange behavior returned in case of the colon image

@test(session('status')===true?'test':'test2')
@test(session('status')===true ? 'test' : 'test2')

Also, some php expresions on blade arguments breaks all the page highlighting image

haidubogdan commented 5 months ago

Sorry ... it's still the embedding php freeze issue

parallels999 commented 5 months ago

No, code highlight problem after after using :

parallels999 commented 5 months ago

Colons cause a lot of problems 😭😭😭

image

@test("{hiddentrue}")
@test("{hidden:true}")
@test("{hidden:true}")

Better not move it anymore, I can survive as it is

haidubogdan commented 5 months ago

Yes, unfortunatelly I've published a new release, I hope this version will more stable.

I didn't created a ticket for apache/netbeans developer team, and I think they have enough issues to fix :) . As this is a more like a plugin which uses apache/netbeans php embedding, it might be difficult to find the freeze issue.

parallels999 commented 5 months ago

I hope this version will more stable.

Seems more stable, but image

@test("{hiddentrue}")
@test("{hidden:true}")
@test("{hidden:true}")
@test("{name:'imag_id',hidden:true},", true, 'string', ['array'])
parallels999 commented 5 months ago

Great work, thank you very much ❤️🚀