laravel-blade-snippets-vscode icon indicating copy to clipboard operation
laravel-blade-snippets-vscode copied to clipboard

Enable comments syntax colouring

Open billymedia opened this issue 4 years ago • 6 comments

Is this a bug or an issue with my setup? how do i get the comments to grey out when using blade commenting out tags? See this screenshot.

bladecomments

Vscode: 1.52.1 extension: v1.25.0

billymedia avatar Dec 28 '20 12:12 billymedia

@billymedia Somehow it depends on which color theme you use.

This is the screenshot using Material Theme.

圖片

onecentlin avatar Dec 31 '20 10:12 onecentlin

I installed the material theme and it still doesnt grey out the comments, see this screenshot commetout2

any ideas as to what else it could be?

billymedia avatar Jan 04 '21 09:01 billymedia

I had the same issue and fixed it by disabling the Liquid extension. No idea why they would be conflicting, but anyway you can try disabling some extensions and see if that fixes it for you.

svivian avatar Apr 23 '21 12:04 svivian

@billymedia Could you provide full file example and theme extension you're using?

cpoftea avatar Dec 13 '21 19:12 cpoftea

@svivian, same is true for me: comments no longer recognized in this extension's Blade syntax highlighting when Liquid extension is also enabled. I just disabled Liquid since I rarely edit Liquid templates anymore. [/cc @cpof-tea]

farmerpaul avatar Feb 18 '22 21:02 farmerpaul

@svivian, same is true for me: comments no longer recognized in this extension's Blade syntax highlighting when Liquid extension is also enabled. I just disabled Liquid since I rarely edit Liquid templates anymore. [/cc @cpof-tea]

This work for me, Thank you.

andresmauro17 avatar Jun 19 '22 15:06 andresmauro17