Comments (8)
Hello, I think it doesn't work with Blade Components. I tried using it on a blade file that uses Blade Components, it doesn't work. However, using it on a "plain" blade file does the job.
from vscode-blade-formatter.
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.90. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from vscode-blade-formatter.
@deepak-atariya-teri
Could you provide your environment and reproduce procedure? Thanks.
from vscode-blade-formatter.
@prettifystudio
Could you provide example template source?
Currently custom component defined in Laravel 6.x are not supported.
Components in 7.x, 8.x like below are supported
@section('foo')
<x-alert />
<x-user-profile />
<x-inputs.button />
@endsection
from vscode-blade-formatter.
EDIT:
Just a notice, the files that give me the error are the files where I'm using displaying data " {{ }} "
Other files are working okay. I guess it's because of " {{ }} "
Laravel 8.x
@push('scripts')
<script>
console.log('foo');
</script>
@endpush
<x-app-layout title="Add new client">
<section class="section">
</section>
</x-app-layout>
from vscode-blade-formatter.
hm...curly braces without content like {{ }}
occurs error but if there are something in it {{ $a }}
worked as expected.
Thanks! I'll try figure out what causes this error.
from vscode-blade-formatter.
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.
Fixed in v0.6.4
from vscode-blade-formatter.
Related Issues (20)
- [Bug]: Endless loop on format HOT 2
- [Bug]: Error on update to version v.0.23.0 HOT 2
- [Formatting Bug]: Scoped slots opening tag improperly colored. HOT 2
- [Formatting Blade]: Corrupt envoy script - format on save HOT 2
- [Bug]: instalo la extension y me deshabilita colores de el tema que uso HOT 2
- [Feature]: Laravel volt HOT 2
- [Feature]: TODO comments highlight HOT 2
- [Formatting Bug]: HOT 2
- [Feature]: ERROR AL DAR RECONOCER CODIGO PARA DAR FORMATO HOT 1
- [Formatting Bug]: Parse Error on adding html escape tags HOT 1
- [Formatting Bug]: syntax error with double curly braces HOT 2
- [Formatting Bug]: @elsecan blade directive is ignored HOT 1
- [Formatting Bug]: not adjusting my text in text format HOT 1
- [Formatting Bug]: Added spaces around hypen even when string in quotes HOT 1
- [Formatting Bug]: HOT 2
- [Formatting Bug]: HOT 2
- [Formatting Bug]: Showing red color
- [Bug]: After the installation, blade files lose syntax highlight! HOT 5
- [Formatting Bug]: HOT 3
- [Formatting Bug]: Components params are broken after formatting - since v0.23 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-blade-formatter.