GithubHelp home page GithubHelp logo

php format about vscode-blade-formatter HOT 7 CLOSED

shufo avatar shufo commented on July 20, 2024 4
php format

from vscode-blade-formatter.

Comments (7)

issue-label-bot avatar issue-label-bot commented on July 20, 2024 2

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.71. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from vscode-blade-formatter.

shufo avatar shufo commented on July 20, 2024 2

Ah, I forgot to close the issue, thanks for reporting the issue @1pix !

Now you can format template like this.

@php
if ($user) {
$foo = ["aaa", "bbb", "ccc"];
foreach($users as $user){
  echo $user->id;
}
}
@endphp

to

@php
if ($user) {
    $foo = ['aaa', 'bbb', 'ccc'];
    foreach ($users as $user) {
        echo $user->id;
    }
}
@endphp

from vscode-blade-formatter.

AlexMorrisonDev716 avatar AlexMorrisonDev716 commented on July 20, 2024 1

This is also my main feature request for this extension. Great work!!

from vscode-blade-formatter.

1pix avatar 1pix commented on July 20, 2024 1

Hi there, I saw that php formatting option is in your todo list, great ! so not sure if this issue is still necessary, but give it an Up to stay informed ;) (Please close it if not needed). Again thank you so much to the team for the good work. Stay well.

from vscode-blade-formatter.

SpiZeak avatar SpiZeak commented on July 20, 2024

For me this is the only thing missing, really love this extension.
Thank you guys!!

from vscode-blade-formatter.

github-actions avatar github-actions commented on July 20, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

from vscode-blade-formatter.

1pix avatar 1pix commented on July 20, 2024

seems already done in shufo/blade-formatter#201 (comment)

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.