GithubHelp home page GithubHelp logo

Comments (5)

shufo avatar shufo commented on July 4, 2024 2

This extension does not have syntax highlight feature.
Please try using Laravel Blade Snippet for Syntax highlighting.

from vscode-blade-formatter.

trollfalgar avatar trollfalgar commented on July 4, 2024 1

This extension does not have syntax highlight feature.
Please try using Laravel Blade Snippet for Syntax highlighting.

I know it doesn't have.
But when I install it, blade files lose syntax highlight.
Some conflict must be happening.
I'll investigate.

from vscode-blade-formatter.

shufo avatar shufo commented on July 4, 2024

Related issue:
#56 (comment)

There are multiple highlight plugins for blade. I'd recommend to use only Laravel Blade Snippet cause it's confirmed working with this extension.

from vscode-blade-formatter.

jkvithanage avatar jkvithanage commented on July 4, 2024

This extension does not have syntax highlight feature. Please try using Laravel Blade Snippet for Syntax highlighting.

I had the same issue with syntax highlighting. Laravel Blade Snippet solved it!

In summary, you should install both Laravel Blade Formatter and Laravel Blade Snippet extensions to get formatting and syntax highlighting.

from vscode-blade-formatter.

DamianSuess avatar DamianSuess commented on July 4, 2024

I ran into the same issue as well after installing the extension, all the text went to "white".

The noticeable difference was that it updates the file's Language Mode from PHP -> Blade. In the short term, I can manually change the Language Mode by clicking the bottom status bar.

It does kinda make sense that the extension is setting it up this way. I was just thrown off when it "poof" went away without warning. Perhaps add a warning to the install documentation.

   vscode.languages.registerDocumentFormattingEditProvider("blade", ...

Reproduce

  1. Install the extension
    • No syntax highlighting; language mode: PHP
  2. Disable the extension
    • Highlighting comes back; language mode: Blade
  3. Reenable the extension
    • No syntax highlighting again; language mode: PHP

Installed

image

Disabled/Uninstalled

image

from vscode-blade-formatter.

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.